-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.Anything around managing Lucene and the Translog in an open shard.Metablockerv6.0.0-beta1
Description
This is a meta issue to track the subset of th the Sequence Numbers work required for 6.0.0 . This is to increase visibility to those items out of the full long list in #10708.
- Current 6.0 BWC layer mutates IndexRequest. This should be removed and pushed to 5.x (@bleskes)
- Transfer sequence number "primary context" (i.e., in sync shards, tracked local checkpoints etc) upon primary relocation AND don't allow the old primary to operate as primary anymore (see IndexShard#verifyPrimary) (@jasontedor, Introduce primary context #25122)
- After recovering, a primary should update its knowledge of its own local checkpoint (@ywelsch, Introduce primary/replica mode for GlobalCheckPointTracker #25468)
- When a replica shard increases its primary term under the mandate of a new primary, it should also update its global checkpoint; this gives us the guarantee that its global checkpoint is at least as high as the new primary and gives a starting point for the primary/replica resync (@ywelsch, Update global checkpoint when increasing primary term on replica #25422)
- Replicas should throw their local checkpoint to the global checkpoint when detected a new primary. (@jasontedor, Throw back replica local checkpoint on new primary #25452)
- On primary promotion, the local checkpoint tracker should be realigned with the translog before filling the gaps. (@jasontedor, Restore local checkpoint tracker on promotion #25553)
- Shrunk indices - When recovering the primary shard we need to set its max_unsafe_auto_id_timestamp @jasontedor, Initialize max unsafe auto ID timestamp on shrink #25356)
- how do we deal with the BWC aspects in the case that - a primary is running on a new node will one replica is on an old node and one replica is on a new one. In that case the primary will maintain seq# and checkpoints for itself and the replica on the new node. However if the primary fails it may be the case that the old replica is elected as primary. That means that the other replica will suddenly stop receiving sequence numbers. It is not clear if this really a problem and if so what the best approach to solve it. (@dakrone, Promote replica on the highest version node #25277)
- A primary that's allocated when in sync replicas aren't can advance the global checkpoint to a region that's unsafe - the primary doesn't about the it's local ops, which are above the global checkpoint actually exists on the other replicas. (@ywelsch, Introduce primary/replica mode for GlobalCheckPointTracker #25468)
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.Anything around managing Lucene and the Translog in an open shard.Metablockerv6.0.0-beta1