Package org.opensearch.index.seqno
package org.opensearch.index.seqno
Sequence number and retention lease implementation
-
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.Request for checkpoint sync actionThis 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).The state of the lucene checkpointRepresents 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.Add retention lease actionInternal transport actionAdd retention lease requestRemove retention lease actionInternal transport action for removeRemove requestRenew the retention leaseInternal transport action for renewRenew Request actionThe responseException thrown if a retention lease already existsReplication action responsible for background syncing retention leases to replicas.Request for retention lease bground sync actionException thrown when an invalid sequence number is retainedException thrown when a retention lease is not foundRepresents a versioned collection of retention leases.Represents retention lease stats.Write action responsible for syncing retention leases to replicas.Request for retention lease sync actionResponse for retention lease sync actionSyncs retention leasesRepresents 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.Sequence number statisticsA utility class for handling sequence numbers.Commit information