Unclean Leader Election
When no safe leader candidate remains, unclean election can restore availability from a lagging replica while losing acknowledged records. Check ISR and eligible leader replicas.
When no safe leader candidate remains, unclean election can restore availability from a lagging replica while losing acknowledged records. Check ISR and eligible leader replicas.
Order lives inside a partition, durability comes from in-sync replicas, and consumers hold their own place in the log. The rest is still your problem.
A log sequence number points at a place in the transaction log. It is how a pipeline knows the order of changes, where to resume, and what to ignore.
Seeding a table no longer has to mean one long locked scan. Chunks and watermarks let a snapshot run beside the change stream, and pause and resume.
A nightly job filtering on updated_at looks right until rows quietly go missing. Here is how each change-capture method works, and what none of them can see.
Raft gets several servers to agree on a shared state and keeps working while a majority survives — designed above all to be understandable.
Once data has two copies, they can disagree. See what each replication scheme costs, what the models between strong and eventual promise, and when clocks lie.
A hierarchy of hashes lets two replicas locate exactly which ranges differ — without sending or comparing every row they hold.
A quorum sets how many replicas must respond. Overlap gives read and write sets a shared replica, while retention and version-selection rules determine what a read returns.
Replicas converge on a record once updates to it stop — with no bound on how long, and no statement about what a reader sees meanwhile. Both gaps matter.