From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 2EE236EC55; Mon, 3 May 2021 23:21:14 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 2EE236EC55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1620073274; bh=EPc+h9mJ1OrXF3qcANcteIPGkoGNuaucbgxP982X/gU=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=HNgm1OreN5u//uJnBn0PFgvr+KGXOkGArq+Gdft3TPlo/TQ98KP+hpC7dPFRHNOLf MS16MBMb495YcHMRcIPZR+EOnhbdVom4CNHEeaqWODH7KKkpFpo5iA1+wcDeds/98q Z5uK0s2HyM4J13H2vvvwxSydhNv4cD0HLH95FRUI= Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 83C996EC55 for ; Mon, 3 May 2021 23:21:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 83C996EC55 Received: by mail-lj1-f175.google.com with SMTP id b21so8367580ljf.11 for ; Mon, 03 May 2021 13:21:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=uJfarWCdFuQtJqZDrrcFIiZ7NZz4w6zLqy8Uvmcclsg=; b=M0l9WTPwU2E0gg0MxJLQiQ/kcFBAPiY+pyoth0XTpGDSikE3O8TGwSmoVRFevUsrLV k6AHRKNsbb6auuKxRIFzfwlLG8CHCf5+m4i23VvFlUt9S6Nawj97EBsl8tiv3yyjSzeh 1nSBpCJ2PVTAXbLF6v7/Xe4MmU1Ged6FkbeiFbNO4ednDRwMrHMNtrNiV0c8UPz7UVkS P1+DgUdfP7MrXyIBEAcrZOnKTtah792sG5F6BDhbQuTv8xHtZtZqrfqAlafb4xeE+CvM WmoOwu30HCn0RUAWsVO7p4dABjNuG94Sb3pO8L/YjfKayWu9a0A4X2Wk5/QagBTVA4AK sGUQ== X-Gm-Message-State: AOAM5335sIpx4ZOYjJoZZ5RmnfOhrI9j+8RcHsCXvO9aa4yX0ZMBSVV4 pptQrxFXsFIzNuBLl7/u0w== X-Google-Smtp-Source: ABdhPJxdURIVEKyuurysaz4j0OlF4pkUcLuLXqmMnLtfCIb7sm+3oignANy4QjFnECTO3LAhqLXBNA== X-Received: by 2002:a2e:8511:: with SMTP id j17mr3232966lji.415.1620073272039; Mon, 03 May 2021 13:21:12 -0700 (PDT) Received: from sterling.local ([46.188.68.12]) by smtp.gmail.com with ESMTPSA id y11sm1443710ljy.27.2021.05.03.13.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 13:21:11 -0700 (PDT) Received: by sterling.local (Postfix, from userid 1000) id B4812E60076; Mon, 3 May 2021 23:21:09 +0300 (MSK) Date: Mon, 3 May 2021 23:21:09 +0300 To: Cyrill Gorcunov Cc: tml , Mons Anderson , Vladislav Shpilevoy Message-ID: <20210503202109.GA6976@starling> Mail-Followup-To: Konstantin Osipov , Cyrill Gorcunov , tml , Mons Anderson , Vladislav Shpilevoy References: <20210430153940.121271-1-gorcunov@gmail.com> <20210430153940.121271-2-gorcunov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210430153940.121271-2-gorcunov@gmail.com> Subject: Re: [Tarantool-patches] [RFC v3 1/3] xrow: allow to pass timestamp via xrow_encode_vclock_timed helper X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Konstantin Osipov via Tarantool-patches Reply-To: Konstantin Osipov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" * Cyrill Gorcunov via Tarantool-patches [21/04/30 18:43]: > We will enhance applier writer with timestamp of last written row. > It is needed to detect downstream lag. LSN is already 64 bit and can very well fit a timestamp within a very reasonable range (e.g nanosecond resolution, timeuuid range). I think you shouldn't add a new field, just change the way LSN is generated. -- Konstantin Osipov, Moscow, Russia