tarantool / tarantool/doc

new compat option: 'compat.replication_synchro_timeout'

Open
#4,576 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.3 compat raft replication
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Dev. issue: https://github.com/tarantool/tarantool/issues/7486

Product: Tarantool
Since: 3.3.0
Root document:

SME: @ Astronomax

Details

The compat module allows you to choose between:

  • the old behavior: unconfirmed synchronous transactions are rolled back
    after a replication.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 within replication_synchro_timeout,
    the corresponding operation: promote/demote or gc-checkpointing
    can be aborted automatically.
    Requested by @Astronomax in https://github.com/tarantool/tarantool/commit/f0f9647d8b80a2bad56b9462fff28b28af2203aa.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the new compat.replication_synchro_timeout page linked in the issue and compare its structure with nearby compat reference pages. Read the replication documentation linked in the issue to verify the old and new transaction behavior, then document the option, its version, and its effects on promote, demote, and gc-checkpointing.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.