tarantool / tarantool/doc

tt CLI (2.11): `tt rs vs bootstrap` with more informative error

Open
#5,341 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tt cli
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Product: tt CLI
Since: tt 2.11.0
Dev ticket: https://jira.vk.team/browse/TNTP-3596
Root document: https://www.tarantool.io/en/doc/latest/tooling/tt_cli/replicaset/#tt-replicaset-vshard-bootstrap

SME: @ AlexandrLitkevich @ oleg-jukovec @ elhimov

Details

Make more informative error when trying to launch tt rs vs bootstrap
against cluster where no sharing roles configured (for example when
launched against non-vshard cluster).
Requested by @elhimov in https://github.com/tarantool/tt/commit/350bf7c4aa76faf8cb56a76c3c59406ad9460da6.

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 tt rs vs bootstrap command entry point and the linked replicaset/vshard bootstrap documentation. Reproduce the command against a cluster with no sharding roles configured, then trace the existing failure path. Done means the command reports a more informative error for non-vshard clusters and the relevant documentation or test reflects the behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.