Package org.opensearch.index.translog
package org.opensearch.index.translog
Core classes responsible for handling all translog operations
-
ClassDescriptionA base class for all classes that allows reading ops from translog filesSimilar to Lucene's BufferedChecksumIndexInput, however this wraps a
StreamInput
so anything read will update the checksumSimilar to Lucene's BufferedChecksumIndexOutput, however this wraps aStreamOutput
so anything written will update the checksumonly for testing until we have a disk-full FileSystemA checkpoint for OpenSearch operationsDefault implementation for theTranslogDeletionPolicy
.Translog Factory for the local on-diskTranslog
TheTranslogManager
implementation capable of orchestrating all read/writeTranslog
operations while interfacing with theInternalEngine
ATranslog
implementation that creates translog files in local filesystem.The no-op implementation ofTranslogManager
that doesn't perform any operationTranslog Factory for the remotefs translogRemoteFsTranslog
A Translog implementation which syncs local FS with a remote store The current impl uploads translog , ckp and metadata to remote store for every sync, post syncing to disk.Encapsulates the stats related to Remote Translog Store operationsException thrown if there are any massive OpenSearch failuresA Translog is a per index shard component that records all non-committed index operations in a durable manner.Delete operationHow to sync the translogIndexing operationLocation in the translotTranslog no opA generic interface representing an operation performed on the transaction log.The type of operationA snapshot of the transaction log, allows to iterate over all the transaction log operations.The source in the translogReferences a transaction log generationTranslogCheckedContainer is used to store, update and retrieve checksums for translog files.Holds all the configuration that is used to create aTranslog
.Exception thrown if the translog is corruptedDefines a translog deletion policyFactory to instantiate a translog deletion policyException thrown if there are any failures in the translogTranslog Factory to enable creation of various local on-disk and remote store flavors ofTranslog
Each translog file is started with a translog header then followed by translog operations.The interface that orchestrates Translog operations and manages theTranslog
and interfaces with the Enginean immutable translog filereaderThe interface that defines howTranslog.Snapshot
will get replayed into the EngineTranslog statisticsWriter that writes operations to the translogException thrown if there is an error truncating the translogAction event when translog is truncatedThe implementation ofTranslogManager
that only orchestrates writes to the underlyingTranslog