tarantool / tarantool/doc

vshard: vshard.router.info shows name

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

Nobody has claimed this yet.

3.0 config vshard
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Related dev. issue: https://github.com/tarantool/vshard/issues/426
Related doc. issues: https://github.com/tarantool/doc/issues/3942, https://github.com/tarantool/doc/issues/3943

Product: Tarantool, vshard
Since: 3.0, 0.1.25
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_router/
SME: @ Totktonada, @ Serpentian

Details

When identification_mode is name_as_key, persisted master and
replicaset name is shown in vshard.router.info:

tarantool> vshard.router.info()
---
- replicasets:
    replicaset_1:
      replica: &0
        network_timeout: 0.5
        status: available
        uri: storage@127.0.0.1:3303
        name: replica_1_a
      name: replicaset_1
      master: *0

Requested by @Serpentian in https://github.com/tarantool/vshard/commit/4c14eb46a25b3428599570cc582ea4b82b31d4b6.

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 vshard.router root document and review related documentation issues 3942 and 3943. Confirm how identification_mode=name_as_key affects the vshard.router.info output, then update the relevant documentation so the persisted master and replicaset names are described; done means the behavior is documented clearly.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.