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

Serge Petrenko sergepetrenko at tarantool.org
Fri Dec 11 10:15:07 MSK 2020


cc Cyrill Gorcunov.

Sorry, Cyrill, I misspelled your address.


10.12.2020 23:55, Serge Petrenko пишет:
> 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
>
-- 
Serge Petrenko



More information about the Tarantool-patches mailing list