Modifier and Type | Method and Description |
---|---|
boolean |
CommitPoint.FileInfo.isSame(StoreFileMetaData md) |
Modifier and Type | Method and Description |
---|---|
StoreFileMetaData |
BlobStoreIndexShardSnapshot.FileInfo.metadata()
Returns the StoreFileMetaData for this file info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BlobStoreIndexShardSnapshot.FileInfo.isSame(StoreFileMetaData md)
Checks if a file in a store is the same file
|
Constructor and Description |
---|
FileInfo(String name,
StoreFileMetaData metaData,
ByteSizeValue partSize)
Constructs a new instance of file info
|
Modifier and Type | Field and Description |
---|---|
List<StoreFileMetaData> |
Store.RecoveryDiff.different
Files that exist in both snapshots but their they are not identical
|
List<StoreFileMetaData> |
Store.RecoveryDiff.identical
Files that exist in both snapshots and they can be considered the same ie.
|
List<StoreFileMetaData> |
Store.RecoveryDiff.missing
Files that exist in the source but not in the target
|
Modifier and Type | Method and Description |
---|---|
StoreFileMetaData |
Store.MetadataSnapshot.get(String name) |
StoreFileMetaData |
Store.MetadataSnapshot.getSegmentsFile()
Returns the segments file that this metadata snapshot represents or null if the snapshot is empty.
|
static StoreFileMetaData |
StoreFileMetaData.readStoreFileMetaData(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
Map<String,StoreFileMetaData> |
Store.MetadataSnapshot.asMap() |
Iterator<StoreFileMetaData> |
Store.MetadataSnapshot.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Store.LegacyChecksums.add(StoreFileMetaData metaData) |
boolean |
Store.checkIntegrity(StoreFileMetaData md) |
static boolean |
Store.checkIntegrity(StoreFileMetaData md,
org.apache.lucene.store.Directory directory) |
org.apache.lucene.store.IndexOutput |
Store.createVerifyingOutput(String fileName,
StoreFileMetaData metadata,
org.apache.lucene.store.IOContext context)
The returned IndexOutput might validate the files checksum if the file has been written with a newer lucene version
and the metadata holds the necessary information to detect that it was been written by Lucene 4.8 or newer.
|
boolean |
StoreFileMetaData.isSame(StoreFileMetaData other)
Returns
true iff the length and the checksums are the same. |
org.apache.lucene.store.IndexInput |
Store.openVerifyingInput(String filename,
org.apache.lucene.store.IOContext context,
StoreFileMetaData metadata) |
Constructor and Description |
---|
MetadataSnapshot(Map<String,StoreFileMetaData> metadata) |
Modifier and Type | Method and Description |
---|---|
StoreFileMetaData |
RecoveryFileChunkRequest.metadata() |
Modifier and Type | Method and Description |
---|---|
Map<String,StoreFileMetaData> |
StartRecoveryRequest.existingFiles() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.IndexOutput |
RecoveryStatus.openAndPutIndexOutput(String fileName,
StoreFileMetaData metaData,
Store store)
Creates an
IndexOutput for the given file name. |
Constructor and Description |
---|
RecoveryFileChunkRequest(long recoveryId,
ShardId shardId,
StoreFileMetaData metaData,
long position,
BytesReference content,
boolean lastChunk,
int totalTranslogOps,
long sourceThrottleTimeInNanos) |
Constructor and Description |
---|
StartRecoveryRequest(ShardId shardId,
DiscoveryNode sourceNode,
DiscoveryNode targetNode,
boolean markAsRelocated,
Map<String,StoreFileMetaData> existingFiles,
RecoveryState.Type recoveryType,
long recoveryId)
Start recovery request.
|
Modifier and Type | Method and Description |
---|---|
StoreFileMetaData |
TransportNodesListShardStoreMetaData.StoreFilesMetaData.file(String name) |
Modifier and Type | Method and Description |
---|---|
Iterator<StoreFileMetaData> |
TransportNodesListShardStoreMetaData.StoreFilesMetaData.iterator() |
Constructor and Description |
---|
StoreFilesMetaData(boolean allocated,
ShardId shardId,
Map<String,StoreFileMetaData> files) |
Copyright © 2009–2015. All rights reserved.