Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


YDB 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.


Which consensus algorithm? I don't see raft in the codebase


We 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/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: