Package | Description |
---|---|
org.elasticsearch.cluster.routing | |
org.elasticsearch.index.shard | |
org.elasticsearch.indices.recovery |
Modifier and Type | Field and Description |
---|---|
protected RestoreSource |
ImmutableShardRouting.restoreSource |
Modifier and Type | Method and Description |
---|---|
static RestoreSource |
RestoreSource.readOptionalRestoreSource(StreamInput in) |
static RestoreSource |
RestoreSource.readRestoreSource(StreamInput in) |
RestoreSource |
ShardRouting.restoreSource()
Snapshot id and repository where this shard is being restored from
|
RestoreSource |
ImmutableShardRouting.restoreSource() |
Modifier and Type | Method and Description |
---|---|
RoutingTable.Builder |
RoutingTable.Builder.addAsNewRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource,
com.carrotsearch.hppc.IntSet ignoreShards) |
RoutingTable.Builder |
RoutingTable.Builder.addAsRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource) |
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsNewRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource,
com.carrotsearch.hppc.IntSet ignoreShards)
Initializes a new empty index, to be restored from a snapshot
|
IndexRoutingTable.Builder |
IndexRoutingTable.Builder.initializeAsRestore(IndexMetaData indexMetaData,
RestoreSource restoreSource)
Initializes an existing index, to be restored from a snapshot
|
Constructor and Description |
---|
ImmutableShardRouting(String index,
int shardId,
String currentNodeId,
String relocatingNodeId,
RestoreSource restoreSource,
boolean primary,
ShardRoutingState state,
long version) |
MutableShardRouting(String index,
int shardId,
String currentNodeId,
String relocatingNodeId,
RestoreSource restoreSource,
boolean primary,
ShardRoutingState state,
long version) |
Modifier and Type | Method and Description |
---|---|
IndexShardState |
IndexShard.recovering(String reason,
RecoveryState.Type type,
RestoreSource restoreSource)
Marks the shard as recovering based on a restore, fails with exception is recovering is not allowed to be set.
|
Modifier and Type | Method and Description |
---|---|
RestoreSource |
RecoveryState.getRestoreSource() |
Constructor and Description |
---|
RecoveryState(ShardId shardId,
boolean primary,
RecoveryState.Type type,
RestoreSource restoreSource,
DiscoveryNode targetNode) |
Copyright © 2009–2015. All rights reserved.