[Tarantool-patches] [PATCH 0/4] make clear_synchro_queue commit everything

Serge Petrenko sergepetrenko at tarantool.org
Thu Dec 10 23:55:10 MSK 2020


The patchset fails `replication/election_qsync_stress.test.lua` test.
I haven't found the reason for this yet, but I still think it may be reviewed
while I'm trying to figure out where the test failures come from.

Serge Petrenko (4):
  box: add a single execution guard to clear_synchro_queue
  relay: rename is_raft_enabled message to relay_is_running
  relay: introduce relay_lsn_watcher
  box: rework clear_synchro_queue to commit everything

 src/box/box.cc                                | 143 +++++++++++++++---
 src/box/box.h                                 |   2 +-
 src/box/lua/ctl.c                             |   4 +-
 src/box/relay.cc                              | 120 +++++++++++----
 src/box/relay.h                               |  44 ++++++
 test/replication/election_replica.lua         |   5 +-
 ...5435-clear-synchro-queue-commit-all.result | 137 +++++++++++++++++
 ...35-clear-synchro-queue-commit-all.test.lua |  60 ++++++++
 test/replication/suite.cfg                    |   1 +
 9 files changed, 460 insertions(+), 56 deletions(-)
 create mode 100644 test/replication/gh-5435-clear-synchro-queue-commit-all.result
 create mode 100644 test/replication/gh-5435-clear-synchro-queue-commit-all.test.lua

-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list