[Tarantool-patches] [PATCH v2 0/2] fix an assertion failure in box.ctl.promote()
Serge Petrenko
sergepetrenko at tarantool.org
Tue May 25 13:39:27 MSK 2021
https://github.com/tarantool/tarantool/tree/sp/gh-6032-promote-wal-write-v2
https://github.com/tarantool/tarantool/issues/6032
Changes in v2:
- replaced custom waiting for a WAL write with
a single wal_sync() call. This simplified the
patch quite a bit.
- shortened the test. It doesn't test promote()
cancellation now, because wal_sync() isn't
cancellable.
Serge Petrenko (2):
box: refactor in_promote using a guard
box: fix an assertion failure in box.ctl.promote()
src/box/box.cc | 38 ++++++----
.../gh-6032-promote-wal-write.result | 69 +++++++++++++++++++
.../gh-6032-promote-wal-write.test.lua | 28 ++++++++
test/replication/suite.cfg | 1 +
test/replication/suite.ini | 2 +-
5 files changed, 124 insertions(+), 14 deletions(-)
create mode 100644 test/replication/gh-6032-promote-wal-write.result
create mode 100644 test/replication/gh-6032-promote-wal-write.test.lua
--
2.30.1 (Apple Git-130)
More information about the Tarantool-patches
mailing list