Skip to content

How does datafuse manage metadata or catalog? #3358

Answered by drmingdrmer
leiysky asked this question in Q&A
Discussion options

You must be logged in to vote

There is a global consensus group(something like a raft cluster) storing all metadata such as databases, table schemas, etc. A store server subscribes meta changes by participating in the raft cluster as a learner. There are up to 5 servers that act as raft candidate participants in a store cluster.

The consistency level between candidates and learners is eventual consistency, e.g., a write may not be seen by the following read if the read RPC is sent to a follower.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Xuanwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
C-question Category: question A-query Area: databend query
3 participants
Converted from issue

This discussion was converted from issue #256 on December 10, 2021 11:09.