tarantool / tarantool/doc

feedback: Настройка синхронной репликации | Tarantool

Open
#3,536 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Product: Tarantool
Root document: https://www.tarantool.io/ru/doc/latest/how-to/replication/repl_sync/
SME: @ Totktonada

Note: take into account a new configuration approach in v3.0 (https://github.com/tarantool/doc/issues/3544).

Details

<…>ous replicas.
As a usage example, consider this:
-- Экземпляр 1
|box.cfg{
listen = 3313,
replication_synchro_quorum = 2,
}
box.schema.user.grant('guest', 'super')
_ = box.schema.space.create('sync', {is_sync=true})
_ = _:create_index('pk')|

-- Экземпляр 2
box.cfg{
listen = 3314,
replication = <…>

Please add box.ctl.promote() to instance 1. The current version does not reproduce the desired behavior.

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 Russian root document at https://www.tarantool.io/ru/doc/latest/how-to/replication/repl_sync/ and compare its configuration approach with issue #3544 for Tarantool 3.0. Update the instance 1 example to include box.ctl.promote(), then verify that the documented example matches the intended synchronous-replication behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
distributed-systems, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.