Package org.opensearch.indices
Class RemoteStoreSettings
java.lang.Object
org.opensearch.indices.RemoteStoreSettings
Settings for remote store
- Opensearch.api:
-
Field Summary
FieldsModifier and TypeFieldDescriptionControls minimum number of metadata files to keep in remote segment store.Controls the maximum referenced remote translog files.static final Setting
<RemoteStoreEnums.PathHashAlgorithm> This setting is used to set the remote store blob store path hash algorithm strategy.static final Setting
<RemoteStoreEnums.PathType> This setting is used to set the remote store blob store path type strategy.static final Setting
<org.opensearch.common.unit.TimeValue> Used to specify the default translog buffer interval for remote store backed indexes.static final Setting
<org.opensearch.common.unit.TimeValue> Controls timeout value while uploading translog and checkpoint files to remote translog -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.common.unit.TimeValue
org.opensearch.common.unit.TimeValue
int
int
-
Field Details
-
CLUSTER_REMOTE_TRANSLOG_BUFFER_INTERVAL_SETTING
public static final Setting<org.opensearch.common.unit.TimeValue> CLUSTER_REMOTE_TRANSLOG_BUFFER_INTERVAL_SETTINGUsed to specify the default translog buffer interval for remote store backed indexes. -
CLUSTER_REMOTE_INDEX_SEGMENT_METADATA_RETENTION_MAX_COUNT_SETTING
public static final Setting<Integer> CLUSTER_REMOTE_INDEX_SEGMENT_METADATA_RETENTION_MAX_COUNT_SETTINGControls minimum number of metadata files to keep in remote segment store.value < 1
will disable deletion of stale segment metadata files. -
CLUSTER_REMOTE_TRANSLOG_TRANSFER_TIMEOUT_SETTING
public static final Setting<org.opensearch.common.unit.TimeValue> CLUSTER_REMOTE_TRANSLOG_TRANSFER_TIMEOUT_SETTINGControls timeout value while uploading translog and checkpoint files to remote translog -
CLUSTER_REMOTE_STORE_PATH_TYPE_SETTING
@ExperimentalApi public static final Setting<RemoteStoreEnums.PathType> CLUSTER_REMOTE_STORE_PATH_TYPE_SETTINGThis setting is used to set the remote store blob store path type strategy. This setting is effective only for remote store enabled cluster. -
CLUSTER_REMOTE_STORE_PATH_HASH_ALGORITHM_SETTING
@ExperimentalApi public static final Setting<RemoteStoreEnums.PathHashAlgorithm> CLUSTER_REMOTE_STORE_PATH_HASH_ALGORITHM_SETTINGThis setting is used to set the remote store blob store path hash algorithm strategy. This setting is effective only for remote store enabled cluster. This setting will come to effect if theCLUSTER_REMOTE_STORE_PATH_TYPE_SETTING
is eitherHASHED_PREFIX
orHASHED_INFIX
. -
CLUSTER_REMOTE_MAX_TRANSLOG_READERS
Controls the maximum referenced remote translog files. If breached the shard will be flushed.
-
-
Constructor Details
-
RemoteStoreSettings
-
-
Method Details
-
getClusterRemoteTranslogBufferInterval
public org.opensearch.common.unit.TimeValue getClusterRemoteTranslogBufferInterval() -
getMinRemoteSegmentMetadataFiles
public int getMinRemoteSegmentMetadataFiles() -
getClusterRemoteTranslogTransferTimeout
public org.opensearch.common.unit.TimeValue getClusterRemoteTranslogTransferTimeout() -
getPathType
-
getPathHashAlgorithm
-
getMaxRemoteTranslogReaders
public int getMaxRemoteTranslogReaders()
-