This patch adds documentation for the distributed tables used for service_level feature and their meaning and usage. Message-Id: <5b7d2be166c2381ed33094b4545fafe0f142583f.1609170862.git.sarna@scylladb.com>
1.3 KiB
Service Level Distributed Data
There are two system tables that are used to facilitate the service level feature.
Service Level Attachment Table
role text,
attribute_name text,
attribute_value text,
PRIMARY KEY (role, attribute_name))
The table was created with generality in mind, but its purpose is to record information about roles. The table columns meaning are: role - the name of the role that the attribute belongs to. attribute_name - the name of the attribute for the role. attribute_value - the value of the specified attribute.
For the service level, the relevant attribute name is service_level.
So for example in order to find out which service_level is attached to role r
one can run the following query:
Service Level Configuration Table
service_level text PRIMARY KEY);
The table is used to store and distribute the service levels configuration. The table column names meanings are: service_level - the name of the service level.
This table is currently a stub and does not hold any parameters yet.