[tarantool-patches] Re: [PATCH v2 1/6] xlog: store prev vclock in xlog header

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
  • Date: Thu, 5 Jul 2018 09:49:00 +0300

* Vladimir Davydov <vdavydov.dev@xxxxxxxxx> [18/06/29 19:49]:

This patch adds a new key to xlog header, PrevVclock, which contains the
vclock of the previous xlog file in the xlog directory. It is set by
xdir_create_xlog() to the last vclock in xdir::index. The new key is
only present in XLOG files (it doesn't make sense for SNAP or VYLOG
anyway). It will be used to make the check for xlog gaps more thorough.

I don't like has_prev_vclock. 

I don't know what to do with it yet. Ideally, I would make it xdir
property - and set it on for xlog dir.

I'm not sure it's feasible, looking.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

Other related posts: