docs/dev/system_keyspace: add raft table

it is one of the non-volatile tables. we need add more of them.
but let's do this piecemeal.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
This commit is contained in:
Kefu Chai
2023-05-22 19:31:23 +08:00
parent eee0003312
commit b8c565875b

View File

@@ -119,6 +119,25 @@ SELECT * FROM system.large_cells;
SELECT * FROM system.large_cells WHERE keyspace_name = 'ks1' and table_name = 'standard1';
~~~
## system.raft
Holds information about Raft
Schema:
~~~
CREATE TABLE system.raft (
group_id timeuuid,
index bigint,
term bigint,
data blob,
vote_term bigint static,
vote uuid static,
snapshot_id uuid static,
commit_idx bigint static,
PRIMARY KEY (group_id, index)
) WITH CLUSTERING ORDER BY (index ASC)
~~~
## system.truncated
Holds truncation replay positions per table and shard