4 ms·
Assigning leaders is trivial with something like zookeeper. But in this case it appears that the leader metadata is stored in a table of the database itself, w
by jeffbee 5y ago
Assigning leaders is trivial with something like zookeeper. But in this case it appears that the leader metadata is stored in a table of the database itself, which raises questions of operability if those tablets are unavailable.
- fomichev3000 5y agoYDB doesn't use Zookeeper. The system is built of tablets, every tablet implements distributed consensus algorithm. There are different types of tablets in the system, say SchemeShard is tablet that stores metadata, table schema for instance. DataShard stores table partition data.
- asadawadia 5y agoWhich consensus algorithm? I don't see raft in the codebase
- fomichev3000 5y agoWe have consensus protocol over shared log. Some details you can find in a power point presentation at this page https://2019.hydraconf.com/2019/talks/muxomfgqembsb3st7i3ci/ https://2019.hydraconf.com/2019/talks/muxomfgqembsb3st7i3ci/