| Package | Description |
|---|---|
| org.elasticsearch.index.store | |
| org.elasticsearch.indices.recovery | |
| org.elasticsearch.indices.store |
| Modifier and Type | Field and Description |
|---|---|
static Store.MetadataSnapshot |
Store.MetadataSnapshot.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
Store.MetadataSnapshot |
Store.getMetadata()
Returns a new MetadataSnapshot for the latest commit in this store.
|
Store.MetadataSnapshot |
Store.getMetadata(org.apache.lucene.index.IndexCommit commit)
Returns a new MetadataSnapshot for the given commit.
|
Store.MetadataSnapshot |
Store.getMetadataOrEmpty()
Returns a new MetadataSnapshot for the latest commit in this store or
an empty snapshot if no index exists or can not be opened.
|
Store.MetadataSnapshot |
Store.MetadataSnapshot.readFrom(StreamInput in) |
static Store.MetadataSnapshot |
Store.readMetadataSnapshot(Path indexLocation,
ESLogger logger)
Reads a MetadataSnapshot from the given index locations or returns an empty snapshot if it can't be read.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Store.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.RecoveryDiff |
Store.MetadataSnapshot.recoveryDiff(Store.MetadataSnapshot recoveryTargetSnapshot)
Returns a diff between the two snapshots that can be used for recovery.
|
| Modifier and Type | Method and Description |
|---|---|
Store.MetadataSnapshot |
StartRecoveryRequest.metadataSnapshot() |
Store.MetadataSnapshot |
RecoveryCleanFilesRequest.sourceMetaSnapshot() |
| Constructor and Description |
|---|
StartRecoveryRequest(ShardId shardId,
DiscoveryNode sourceNode,
DiscoveryNode targetNode,
boolean markAsRelocated,
Store.MetadataSnapshot metadataSnapshot,
RecoveryState.Type recoveryType,
long recoveryId)
Start recovery request.
|
| Constructor and Description |
|---|
TransportNodesListShardStoreMetaData.StoreFilesMetaData(boolean allocated,
ShardId shardId,
Store.MetadataSnapshot metadataSnapshot) |
Copyright © 2009–2017. All rights reserved.