Package org.elasticsearch.index.seqno
package org.elasticsearch.index.seqno
-
ClassDescriptionA
CountedBitSet
wraps aFixedBitSet
but automatically releases the internal bitset when all bits are set to reduce memory usage.Background global checkpoint sync action initiated when a shard goes inactive.This class generates sequences numbers and keeps track of the so-called "local checkpoint" which is the highest number for which all previous sequence numbers have been processed (inclusive).This class is responsible for tracking the replication group with its progress and safety markers (local and global checkpoints).Represents the sequence number component of the primary context.A "shard history retention lease" (or "retention lease" for short) is conceptually a marker containing a retaining sequence number such that all operations with sequence number at least that retaining sequence number will be retained during merge operations (which could otherwise merge away operations that have been soft deleted).This class holds all actions related to retention leases.Replication action responsible for background syncing retention leases to replicas.Represents a versioned collection of retention leases.Represents retention lease stats.Write action responsible for syncing retention leases to replicas.Represents an action that is invoked periodically to sync retention leases to replica shards after some retention lease has been renewed or expired.Represents an action that is invoked to sync retention leases to replica shards after a retention lease is added or removed on the primary.A utility class for handling sequence numbers.