[Tarantool-patches] [PATCH 2/7] replication: forbid implicit limbo owner transition
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sat Jun 19 01:49:47 MSK 2021
Nice fixes!
See 3 comments below.
> diff --git a/src/box/errcode.h b/src/box/errcode.h
> index 49aec4bf6..e3943c01d 100644
> --- a/src/box/errcode.h
> +++ b/src/box/errcode.h
> @@ -278,6 +278,7 @@ struct errcode_record {
> /*223 */_(ER_INTERFERING_PROMOTE, "Instance with replica id %u was promoted first") \
> /*224 */_(ER_RAFT_DISABLED, "Elections were turned off while running box.ctl.promote()")\
> /*225 */_(ER_TXN_ROLLBACK, "Transaction was rolled back") \
> + /*226 */_(ER_SYNCHRO_QUEUE_UNCLAIMED, "The synchronous transaction queue doesn't belong to any instance")\
1. Maybe SYNCHRO -> SYNC? The rationality is that we
already have a few ER_SYNC_* about synchro replication.
> diff --git a/test/box/error.result b/test/box/error.result
> index 062a90399..574521a14 100644
> --- a/test/box/error.result
> +++ b/test/box/error.result
> @@ -444,6 +444,7 @@ t;
> | 223: box.error.INTERFERING_PROMOTE
> | 224: box.error.RAFT_DISABLED
> | 225: box.error.TXN_ROLLBACK
> + | 226: box.error.LIMBO_UNCLAIMED
2. Forgot to update the result file? There is no LIMBO_UNCLAIMED error
code. It has a new name.
> diff --git a/test/replication/gh-5440-qsync-ro.test.lua b/test/replication/gh-5440-qsync-ro.test.lua
> deleted file mode 100644
> index d63ec9c1e..000000000
> --- a/test/replication/gh-5440-qsync-ro.test.lua
3. Please, drop it from suite.cfg too.
More information about the Tarantool-patches
mailing list