tarantool / tarantool/tt

libcluster: add mechanism to retrieve default values

Open
#791 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3sp
Dominant language
Go
Stars
113
Forks
18
Avg merge
4d 11h
Merged PRs (30d)
23

Description

Sometimes the client code want to behave differently depending on the values in the config. But if the value is missing, Tarantool can apply some default. So we need to add some mechanism to get these defaults.

It has to be consistent with Tarantool itself, so we need to embed defaults to tt the generated paths.

Contributor guide

No contributing guide indexed for this repository

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 lib/cluster/paths.go and the linked generated paths to understand where cluster configuration paths and embedded defaults are defined. Trace how missing values are handled, then verify that the retrieval mechanism returns defaults consistent with Tarantool itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.