Open
Description
Dev. issue: tarantool/tarantool#7486
Product: Tarantool
Since: 3.3.0
Root document:
- new page https://www.tarantool.io/en/doc/latest/reference/reference_lua/compat/replication_synchro_timeout/
- check pages in https://www.tarantool.io/en/doc/latest/platform/replication/ for behavior description
SME: @ Astronomax
Details
The compat
module allows you to choose between:
- the old behavior: unconfirmed synchronous transactions are rolled back
after areplication.synchro_timeout
. - and the new behavior: A synchronous transaction can remain in the synchro
queue indefinitely until it reaches a quorum of confirmations.
replication.synchro_timeout
is used only to wait confirmation
in promote/demote and gc-checkpointing. If some transaction in limbo
did not have time to commit withinreplication_synchro_timeout
,
the corresponding operation: promote/demote or gc-checkpointing
can be aborted automatically.
Requested by @Astronomax in tarantool/tarantool@f0f9647.