-
Notifications
You must be signed in to change notification settings - Fork 43
[3pt] feedback: Configuration reference | Tarantool #2255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Each replicaset config should contain a table of replicas with key Each replica config, in turn, must have a key Replica config can have optional keys.
The replicas table in replicaset config can be empty. Then the replicaset won't receive any requests at all. Replicaset config can also have 3 optional keys:
Example of a simple config: sharding = {
[storage1_uuid] = {
replicas = {
[storage1a_uuid] = {
uri = 'storage:storage@127.0.0.1:3301',
name = 'storage_1_a',
master = true
},
[storage1b_uuid] = {
uri = 'storage:storage@127.0.0.1:3302',
name = 'storage_1_b'
}
},
},
[storage2_uuid] = {
replicas = {
[storage2a_uuid] = {
uri = 'storage:storage@127.0.0.1:3303',
name = 'storage_2_a',
master = true
},
[storage2b_uuid] = {
uri = 'storage:storage@127.0.0.1:3304',
name = 'storage_2_b'
}
},
},
} Here replicaset Both replicasets have equal number of buckets. If the config is applied on router, master auto-discovery is turned off. There are no zones or locks. |
(I'm the reporter.) @Gerold103 Thanks for the detailed description!
The options, which are described on this page, are constructed by a user and passed into |
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_ref/
SME: @ Gerold103
Details
Feedback:
"
Where I can find description of content of this table?"
Ask @ Gerold103 if it's an issue worth working on.
Do users really need to know the content of the table?
If yes, then we need to update the description of this parameter.
The text was updated successfully, but these errors were encountered: