tarantool / tarantool/doc

vshard: vshard.storage.cfg argument change

Open Beginner friendly
#3,941 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(s): https://github.com/tarantool/vshard/issues/426

Product: Tarantool, vshard
Since: 3.0 (vshard 0.1.25)
Root document:

SME: @ Serpentian

Details

vshard.storage.cfg(cfg, instance_id)

Configure the database and start sharding for the specified storage
instance. istance_id depends on identification_mode used in config.
If it's 'uuid_as_key', which is default, then UUID must be used.
Otherwise - instance_name.

Parameters:
cfg – a storage configuration
instance_id – UUID or name of the instance
Requested by @ Serpentian in https://github.com/tarantool/vshard/commit/4c9cc51f22c8665998a05c47e7e80b7f55bd9591.

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.storage.cfg sections in the vshard quick-start guide and the storage API reference linked in the issue. Check that both describe instance_id as a UUID or instance name according to identification_mode, and that the signature and parameter text match the current behavior.

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
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.