[PATCH 0/2] Fix tarantoolctl cat/play premature stop

Alexander Turenko alexander.turenko at tarantool.org
Wed Mar 20 21:41:12 MSK 2019


https://github.com/tarantool/tarantool/issues/3827
https://github.com/tarantool/tarantool/tree/Totktonada/gh-3827-fix-tarantoolctl-cat-premature-stop

tarantoolctl cat/play now don't miss records which match a user-provided
arguments. It was possible when records from several masters (with
different replica_id parameters) reside in a file and --to argument is
provided. A first record with LSN equal or above a 'to' value did cause
stop the file processing, but it is possible that there are records with
lesser LSN from another masters. Now we stop only when one explicit
--replica argument is provided.

The patchset is splitted into two patches: refactoring w/o behaviour
changes (+test) and the patch that fixes the behaviour.

Alexander Turenko (2):
  Unify tarantoolctl cat/play xlog filtering code
  Fix tarantoolctl cat/play premature stop with --to

 extra/dist/tarantoolctl.in         | 124 +++++++++++++--------
 test/app-tap/tarantoolctl.test.lua | 172 ++++++++++++++++++++++++++++-
 2 files changed, 244 insertions(+), 52 deletions(-)

-- 
2.20.1




More information about the Tarantool-patches mailing list