Uses of Class
org.elasticsearch.index.store.Store.MetadataSnapshot
-
Packages that use Store.MetadataSnapshot Package Description org.elasticsearch.index.shard org.elasticsearch.index.store org.elasticsearch.indices.recovery org.elasticsearch.indices.store -
-
Uses of Store.MetadataSnapshot in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return Store.MetadataSnapshot Modifier and Type Method Description Store.MetadataSnapshotIndexShard. snapshotStoreMetadata()gets aStore.MetadataSnapshotfor the current directory. -
Uses of Store.MetadataSnapshot in org.elasticsearch.index.store
Fields in org.elasticsearch.index.store declared as Store.MetadataSnapshot Modifier and Type Field Description static Store.MetadataSnapshotStore.MetadataSnapshot. EMPTYMethods in org.elasticsearch.index.store that return Store.MetadataSnapshot Modifier and Type Method Description Store.MetadataSnapshotStore. getMetadata(IndexCommit commit)Returns a new MetadataSnapshot for the given commit.Store.MetadataSnapshotStore. getMetadata(IndexCommit commit, boolean lockDirectory)Returns a new MetadataSnapshot for the given commit.static Store.MetadataSnapshotStore. readMetadataSnapshot(Path indexLocation, ShardId shardId, NodeEnvironment.ShardLocker shardLocker, org.apache.logging.log4j.Logger logger)Reads a MetadataSnapshot from the given index locations or returns an empty snapshot if it can't be read.Methods in org.elasticsearch.index.store with parameters of type Store.MetadataSnapshot Modifier and Type Method Description voidStore. cleanupAndVerify(String reason, Store.MetadataSnapshot sourceMetaData)This method deletes every file in this store that is not contained in the given source meta data or is a legacy checksum file.Store.RecoveryDiffStore.MetadataSnapshot. recoveryDiff(Store.MetadataSnapshot recoveryTargetSnapshot)Returns a diff between the two snapshots that can be used for recovery. -
Uses of Store.MetadataSnapshot in org.elasticsearch.indices.recovery
Methods in org.elasticsearch.indices.recovery that return Store.MetadataSnapshot Modifier and Type Method Description Store.MetadataSnapshotStartRecoveryRequest. metadataSnapshot()Store.MetadataSnapshotRecoveryCleanFilesRequest. sourceMetaSnapshot()Methods in org.elasticsearch.indices.recovery with parameters of type Store.MetadataSnapshot Modifier and Type Method Description voidRecoveryTarget. cleanFiles(int totalTranslogOps, long globalCheckpoint, Store.MetadataSnapshot sourceMetaData, ActionListener<Void> listener)voidRecoveryTargetHandler. cleanFiles(int totalTranslogOps, long globalCheckpoint, Store.MetadataSnapshot sourceMetaData, ActionListener<Void> listener)After all source files has been sent over, this command is sent to the target so it can clean any local files that are not part of the source storevoidRemoteRecoveryTargetHandler. cleanFiles(int totalTranslogOps, long globalCheckpoint, Store.MetadataSnapshot sourceMetaData, ActionListener<Void> listener)Constructors in org.elasticsearch.indices.recovery with parameters of type Store.MetadataSnapshot Constructor Description StartRecoveryRequest(ShardId shardId, String targetAllocationId, DiscoveryNode sourceNode, DiscoveryNode targetNode, Store.MetadataSnapshot metadataSnapshot, boolean primaryRelocation, long recoveryId, long startingSeqNo)Construct a request for starting a peer recovery. -
Uses of Store.MetadataSnapshot in org.elasticsearch.indices.store
Constructors in org.elasticsearch.indices.store with parameters of type Store.MetadataSnapshot Constructor Description StoreFilesMetaData(ShardId shardId, Store.MetadataSnapshot metadataSnapshot, List<RetentionLease> peerRecoveryRetentionLeases)
-