Class RecoverySettings
java.lang.Object
org.elasticsearch.indices.recovery.RecoverySettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ByteSizeValue
static final Setting<org.elasticsearch.core.TimeValue>
recoveries that don't show any activity for more then this interval will be failed.static final Setting<org.elasticsearch.core.TimeValue>
timeout value to use for the retrying of requests made as part of the recovery processstatic final Setting<org.elasticsearch.core.TimeValue>
timeout value to use for requests made as part of the recovery processstatic final Setting<org.elasticsearch.core.TimeValue>
timeout value to use for requests made as part of the recovery process that are expected to take long time.static final Setting<ByteSizeValue>
Controls the maximum number of file chunk requests that can be sent concurrently from the source node to the target node.Controls the maximum number of operation chunk requests that can be sent concurrently from the source node to the target node.static final Setting<org.elasticsearch.core.TimeValue>
how long to wait before retrying after network related issuesstatic final Setting<org.elasticsearch.core.TimeValue>
how long to wait before retrying after issues cause by cluster state syncing between nodes i.e., local node is not yet known on remote node, remote shard not yet started etc.recoveries would try to use files from available snapshots instead of sending them from the source node.static final Version
static final Version
static final Version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.core.TimeValue
int
int
int
boolean
org.elasticsearch.core.TimeValue
org.elasticsearch.core.TimeValue
org.elasticsearch.core.TimeValue
org.apache.lucene.store.RateLimiter
org.elasticsearch.core.TimeValue
org.elasticsearch.core.TimeValue
void
setActivityTimeout
(org.elasticsearch.core.TimeValue activityTimeout) void
setChunkSize
(ByteSizeValue chunkSize) void
setInternalActionLongTimeout
(org.elasticsearch.core.TimeValue internalActionLongTimeout) void
setInternalActionTimeout
(org.elasticsearch.core.TimeValue internalActionTimeout) void
setMaxConcurrentSnapshotFileDownloads
(int maxConcurrentSnapshotFileDownloads) void
setRetryDelayNetwork
(org.elasticsearch.core.TimeValue retryDelayNetwork) void
setRetryDelayStateSync
(org.elasticsearch.core.TimeValue retryDelayStateSync)
-
Field Details
-
SNAPSHOT_RECOVERIES_SUPPORTED_VERSION
-
SEQ_NO_SNAPSHOT_RECOVERIES_SUPPORTED_VERSION
-
SNAPSHOT_FILE_DOWNLOAD_THROTTLING_SUPPORTED_VERSION
-
INDICES_RECOVERY_MAX_BYTES_PER_SEC_SETTING
-
INDICES_RECOVERY_MAX_CONCURRENT_FILE_CHUNKS_SETTING
Controls the maximum number of file chunk requests that can be sent concurrently from the source node to the target node. -
INDICES_RECOVERY_MAX_CONCURRENT_OPERATIONS_SETTING
Controls the maximum number of operation chunk requests that can be sent concurrently from the source node to the target node. -
INDICES_RECOVERY_RETRY_DELAY_STATE_SYNC_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDICES_RECOVERY_RETRY_DELAY_STATE_SYNC_SETTINGhow long to wait before retrying after issues cause by cluster state syncing between nodes i.e., local node is not yet known on remote node, remote shard not yet started etc. -
INDICES_RECOVERY_RETRY_DELAY_NETWORK_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDICES_RECOVERY_RETRY_DELAY_NETWORK_SETTINGhow long to wait before retrying after network related issues -
INDICES_RECOVERY_INTERNAL_ACTION_TIMEOUT_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDICES_RECOVERY_INTERNAL_ACTION_TIMEOUT_SETTINGtimeout value to use for requests made as part of the recovery process -
INDICES_RECOVERY_INTERNAL_ACTION_RETRY_TIMEOUT_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDICES_RECOVERY_INTERNAL_ACTION_RETRY_TIMEOUT_SETTINGtimeout value to use for the retrying of requests made as part of the recovery process -
INDICES_RECOVERY_INTERNAL_LONG_ACTION_TIMEOUT_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDICES_RECOVERY_INTERNAL_LONG_ACTION_TIMEOUT_SETTINGtimeout value to use for requests made as part of the recovery process that are expected to take long time. defaults to twice `indices.recovery.internal_action_timeout`. -
INDICES_RECOVERY_ACTIVITY_TIMEOUT_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> INDICES_RECOVERY_ACTIVITY_TIMEOUT_SETTINGrecoveries that don't show any activity for more then this interval will be failed. defaults to `indices.recovery.internal_action_long_timeout` -
INDICES_RECOVERY_USE_SNAPSHOTS_SETTING
recoveries would try to use files from available snapshots instead of sending them from the source node. defaults to `true` -
INDICES_RECOVERY_MAX_CONCURRENT_SNAPSHOT_FILE_DOWNLOADS
-
INDICES_RECOVERY_MAX_CONCURRENT_SNAPSHOT_FILE_DOWNLOADS_PER_NODE
-
DEFAULT_CHUNK_SIZE
-
-
Constructor Details
-
RecoverySettings
-
-
Method Details
-
rateLimiter
public org.apache.lucene.store.RateLimiter rateLimiter() -
retryDelayNetwork
public org.elasticsearch.core.TimeValue retryDelayNetwork() -
retryDelayStateSync
public org.elasticsearch.core.TimeValue retryDelayStateSync() -
activityTimeout
public org.elasticsearch.core.TimeValue activityTimeout() -
internalActionTimeout
public org.elasticsearch.core.TimeValue internalActionTimeout() -
internalActionRetryTimeout
public org.elasticsearch.core.TimeValue internalActionRetryTimeout() -
internalActionLongTimeout
public org.elasticsearch.core.TimeValue internalActionLongTimeout() -
getChunkSize
-
setChunkSize
-
setRetryDelayStateSync
public void setRetryDelayStateSync(org.elasticsearch.core.TimeValue retryDelayStateSync) -
setRetryDelayNetwork
public void setRetryDelayNetwork(org.elasticsearch.core.TimeValue retryDelayNetwork) -
setActivityTimeout
public void setActivityTimeout(org.elasticsearch.core.TimeValue activityTimeout) -
setInternalActionTimeout
public void setInternalActionTimeout(org.elasticsearch.core.TimeValue internalActionTimeout) -
setInternalActionLongTimeout
public void setInternalActionLongTimeout(org.elasticsearch.core.TimeValue internalActionLongTimeout) -
getMaxConcurrentFileChunks
public int getMaxConcurrentFileChunks() -
getMaxConcurrentOperations
public int getMaxConcurrentOperations() -
getUseSnapshotsDuringRecovery
public boolean getUseSnapshotsDuringRecovery() -
getMaxConcurrentSnapshotFileDownloads
public int getMaxConcurrentSnapshotFileDownloads() -
setMaxConcurrentSnapshotFileDownloads
public void setMaxConcurrentSnapshotFileDownloads(int maxConcurrentSnapshotFileDownloads)
-