public class RepParams extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RepParams.ChannelTypeConfigParam
A JE/HA configuration parameter specifying a data channel type
|
static class |
RepParams.IdentifierConfigParam
A JE/HA configuration parameter describing an Identifier name.
|
| Modifier and Type | Field and Description |
|---|---|
static BooleanConfigParam |
ALLOW_ARBITER_ACK |
static BooleanConfigParam |
ALLOW_UNKNOWN_STATE_ENV_OPEN |
static DurationConfigParam |
ARBITER_ACK_TIMEOUT |
static IntConfigParam |
ARBITER_OUTPUT_QUEUE_SIZE |
static BooleanConfigParam |
ARBITER_USE
Internal parameter used by the Arbiter.
|
static BooleanConfigParam |
BIND_INADDR_ANY
This option was motivated by the BDA.
|
static BooleanConfigParam |
CACHE_RECORD_VERSION
Whether to cache the VLSN in the BIN after the LN has been stripped by
eviction, unless caching is explicitly disabled using the
CACHE_RECORD_VERSION setting.
|
static ConfigParam |
CHANNEL_FACTORY_CLASS
Data channel factory class
|
static ConfigParam |
CHANNEL_FACTORY_PARAMS
Data channel factory parameters
|
static ConfigParam |
CHANNEL_LOG_NAME
Replication data channel logging identifier.
|
static ConfigParam |
CHANNEL_TYPE
Replication data channel factory configuration
|
static BooleanConfigParam |
COMMIT_TO_NETWORK
Changes the notion of an ack.
|
static ConfigParam |
CONSISTENCY_POLICY
Identifies the default consistency policy used by a replica.
|
static IntConfigParam |
DBTREE_CACHE_CLEAR_COUNT |
static IntConfigParam |
DEFAULT_PORT
The port used for replication.
|
static BooleanConfigParam |
DESIGNATED_PRIMARY |
static BooleanConfigParam |
DONT_JOIN_REP_GROUP
If true, the replica runs with this property will not join the
replication group.
|
static IntConfigParam |
ELECTABLE_GROUP_SIZE_OVERRIDE |
static DurationConfigParam |
ELECTIONS_OPEN_TIMEOUT |
static IntConfigParam |
ELECTIONS_PRIMARY_RETRIES |
static DurationConfigParam |
ELECTIONS_READ_TIMEOUT |
static DurationConfigParam |
ELECTIONS_REBROADCAST_PERIOD
The master re-broadcasts the results of an election with this period.
|
static BooleanConfigParam |
ENABLE_GROUP_ACKS
Internal parameter enable use of the group ack message.
|
static DurationConfigParam |
ENV_CONSISTENCY_TIMEOUT |
static DurationConfigParam |
ENV_SETUP_TIMEOUT |
static DurationConfigParam |
ENV_UNKNOWN_STATE_TIMEOUT |
static IntConfigParam |
FEEDER_BATCH_BUFF_KB
The size in KB used to batch outgoing feeder records.
|
static IntConfigParam |
FEEDER_BATCH_NS
The time interval in nanoseconds during which records from a feeder may
be batched before being written to the network.
|
static DurationConfigParam |
FEEDER_MANAGER_POLL_TIMEOUT
Internal parameter used to determine the poll timeout used when
accepting incoming feeder connections.
|
static BooleanConfigParam |
FEEDER_TCP_NO_DELAY |
static DurationConfigParam |
FEEDER_TIMEOUT |
static ConfigParam |
GROUP_NAME
Names the Replication group.
|
static IntConfigParam |
HEARTBEAT_INTERVAL |
static ConfigParam |
HELPER_HOSTS |
static BooleanConfigParam |
IGNORE_SECONDARY_NODE_ID
An internal option to allow converting an ELECTABLE node to a SECONDARY
node by ignoring the electable node ID stored in the local rep group
DB.
|
static DurationConfigParam |
INSUFFICIENT_REPLICAS_TIMEOUT |
static DurationConfigParam |
MAX_CLOCK_DELTA |
static LongConfigParam |
MAX_MESSAGE_SIZE
The maximum message size which will be accepted by a node (to prevent
DOS attacks).
|
static IntConfigParam |
MIN_RETAINED_VLSNS
Deprecated.
and no longer used as of JE 7.5. Reserved files are now
retained based on available disk space -- see
EnvironmentConfig.MAX_DISK and
EnvironmentConfig.FREE_DISK should be used instead.
However, this param is still used when some, but not all, nodes in a
group have been upgraded to 7.5 or later. |
static IntConfigParam |
MIN_VLSN_INDEX_SIZE
Unpublished (for now at least) parameter describing the minimum size
of the VLSNIndex as a number of VLSNs.
|
static DurationConfigParam |
MONITOR_OPEN_TIMEOUT |
static DurationConfigParam |
MONITOR_READ_TIMEOUT |
static IntConfigParam |
NETWORKBACKUP_MAX_LAG
Internal parameter used by network backups.
|
static BooleanConfigParam |
NETWORKBACKUP_USE
Internal parameter used by network backups.
|
static ConfigParam |
NODE_HOST_PORT
Names the host (or interface) and port associated with the node in the
replication group, e.g.
|
static ConfigParam |
NODE_NAME |
static IntConfigParam |
NODE_PRIORITY |
static EnumConfigParam<NodeType> |
NODE_TYPE |
static DurationConfigParam |
PRE_HEARTBEAT_TIMEOUT |
static BooleanConfigParam |
PRESERVE_RECORD_VERSION
Internal parameter to preserve record version (VLSN).
|
static BooleanConfigParam |
PROTOCOL_OLD_STRING_ENCODING |
static DurationConfigParam |
REP_GROUP_OPEN_TIMEOUT |
static DurationConfigParam |
REP_GROUP_READ_TIMEOUT |
static DurationConfigParam |
REP_STREAM_TIMEOUT
Deprecated.
|
static IntConfigParam |
REPLAY_COST_PERCENT
Deprecated.
|
static DurationConfigParam |
REPLAY_DB_HANDLE_TIMEOUT |
static IntConfigParam |
REPLAY_FREE_DISK_PERCENT |
static DurationConfigParam |
REPLAY_LOGGING_THRESHOLD
Used to log an info message when the time taken to replay a single log
entry at a replica exceeds this threshold.
|
static IntConfigParam |
REPLAY_MAX_OPEN_DB_HANDLES |
static DurationConfigParam |
REPLAY_TXN_LOCK_TIMEOUT
The lock timeout for replay transactions.
|
static DurationConfigParam |
REPLICA_ACK_TIMEOUT |
static DurationConfigParam |
REPLICA_GROUP_COMMIT_INTERVAL |
static IntConfigParam |
REPLICA_MAX_GROUP_COMMIT |
static IntConfigParam |
REPLICA_MESSAGE_QUEUE_SIZE
The size of the message queue used for communication between the thread
reading the replication stream and the thread doing the replay.
|
static IntConfigParam |
REPLICA_RECEIVE_BUFFER_SIZE |
static DurationConfigParam |
REPLICA_TIMEOUT |
static DurationConfigParam |
REPSTREAM_OPEN_TIMEOUT |
static BooleanConfigParam |
RESET_REP_GROUP
An internal option, accessed only via the utility
DbResetRepGroup utility, to reset a replication group to a
single new member when the replicated environment is opened. |
static BooleanConfigParam |
RESET_REP_GROUP_RETAIN_UUID
An internal option, used with
RESET_REP_GROUP, that causes the
reset of the replication group to retain the original group UUID and to
not truncate the VLSN index. |
static IntConfigParam |
SECURITY_CHECK_INTERVAL |
static String |
SKIP_HELPER_HOST_RESOLUTION |
static String |
SKIP_NODENAME_VALIDATION |
static IntConfigParam |
SO_BIND_WAIT_MS
Determines how long to wait for a bound socket to come free.
|
static BooleanConfigParam |
SO_REUSEADDR
Used to force setting of SO_REUSEADDR to true on the HA server socket
when it binds to its port.
|
static ConfigParam |
SSL_AUTHENTICATOR
SSL Authenticator
|
static ConfigParam |
SSL_AUTHENTICATOR_CLASS
SSL Authenticator class
|
static ConfigParam |
SSL_AUTHENTICATOR_PARAMS
SSL Authenticator parameters
|
static ConfigParam |
SSL_CIPHER_SUITES
SSL cipher suites
|
static ConfigParam |
SSL_CLIENT_KEY_ALIAS
SSL client key alias
|
static ConfigParam |
SSL_HOST_VERIFIER
SSL Host Verifier
|
static ConfigParam |
SSL_HOST_VERIFIER_CLASS
SSL Host Verifier class
|
static ConfigParam |
SSL_HOST_VERIFIER_PARAMS
SSL Host Verifier parameters
|
static ConfigParam |
SSL_KEYSTORE_FILE
SSL KeyStore file
|
static ConfigParam |
SSL_KEYSTORE_PASSWORD
SSL KeyStore password
|
static ConfigParam |
SSL_KEYSTORE_PASSWORD_CLASS
SSL KeyStore password source class
|
static ConfigParam |
SSL_KEYSTORE_PASSWORD_PARAMS
SSL KeyStore password source constructor parameters
|
static ConfigParam |
SSL_KEYSTORE_TYPE
SSL KeyStore type
|
static ConfigParam |
SSL_PROTOCOLS
SSL protocols
|
static ConfigParam |
SSL_SERVER_KEY_ALIAS
SSL server key alias
|
static ConfigParam |
SSL_TRUSTSTORE_FILE
SSL TrustStore file
|
static ConfigParam |
SSL_TRUSTSTORE_TYPE
SSL TrustStore type
|
static BooleanConfigParam |
SUBSCRIBER_USE
Internal parameter used by the Subscriber.
|
static IntConfigParam |
SUBSCRIPTION_MAX_CONNECT_RETRIES
The maximum number of times to retry failed subscription connections.
|
static DurationConfigParam |
SUBSCRIPTION_POLL_INTERVAL
The subscription queue poll interval.
|
static DurationConfigParam |
SUBSCRIPTION_POLL_TIMEOUT
The subscription queue poll timeout.
|
static DurationConfigParam |
SUBSCRIPTION_SLEEP_BEFORE_RETRY
The amount of time that the subscription thread should sleep time before
retrying a failed connection.
|
static BooleanConfigParam |
TEST_CBVLSN
Can be used by tests to prevent the GlobalCBVLSN from being defunct,
even when all nodes are DEFUNCT_JE_VERSION or higher.
|
static ConfigParam |
TEST_JE_VERSION
Override the current JE version, for testing only.
|
static IntConfigParam |
TEST_REPLICA_DELAY |
static DurationConfigParam |
TRANSFER_LOGGING_THRESHOLD
Used to log an info message when a commit log record exceeds this
time interval from the time it was created, to the time it was written
out to the network.
|
static BooleanConfigParam |
TXN_ROLLBACK_DISABLED |
static IntConfigParam |
TXN_ROLLBACK_LIMIT |
static IntConfigParam |
VLSN_LOG_CACHE_SIZE |
static IntConfigParam |
VLSN_MAX_DIST |
static IntConfigParam |
VLSN_MAX_MAP |
static IntConfigParam |
VLSN_STRIDE |
| Constructor and Description |
|---|
RepParams() |
public static final String SKIP_NODENAME_VALIDATION
public static final String SKIP_HELPER_HOST_RESOLUTION
public static final ConfigParam GROUP_NAME
public static final DurationConfigParam REP_STREAM_TIMEOUT
ReplicationConfig.REP_STREAM_TIMEOUTpublic static final IntConfigParam MIN_RETAINED_VLSNS
EnvironmentConfig.MAX_DISK and
EnvironmentConfig.FREE_DISK should be used instead.
However, this param is still used when some, but not all, nodes in a
group have been upgraded to 7.5 or later.public static final IntConfigParam MIN_VLSN_INDEX_SIZE
When a disk limit is violated we will have already deleted as many reserved files as possible. If space is made available and write operations can resume, we need to ensure that each node has a large enough VLSNIndex to perform syncup, etc.
This limit is enforced on both master and replicas. It is particularly important on replicas because feeders will not prevent VLSN index head truncation.
public static final BooleanConfigParam TEST_CBVLSN
public static final IntConfigParam REPLICA_RECEIVE_BUFFER_SIZE
public static final IntConfigParam REPLICA_MESSAGE_QUEUE_SIZE
Larger values of buffer size may result in higher peak memory utilization, due to a larger number of LNs sitting in the queue. The size of the queue itself is unlikely to be an issue, since it's tiny relative to cache sizes. At 1000, 1kbyte LNs it raises the peak utilization by 1MB which for most apps is an insignificant rise in the peak. Note that the parameter is lazily mutable, that is, the change will take effect the next time the node transitions to a replica state.
public static final DurationConfigParam REPLAY_TXN_LOCK_TIMEOUT
public static final DurationConfigParam ENV_SETUP_TIMEOUT
ReplicationConfig.ENV_SETUP_TIMEOUTpublic static final DurationConfigParam ENV_CONSISTENCY_TIMEOUT
public static final DurationConfigParam ENV_UNKNOWN_STATE_TIMEOUT
public static final DurationConfigParam REPLICA_ACK_TIMEOUT
ReplicationConfig.REPLICA_ACK_TIMEOUTpublic static final DurationConfigParam INSUFFICIENT_REPLICAS_TIMEOUT
public static final DurationConfigParam ARBITER_ACK_TIMEOUT
ReplicationConfig.ARBITER_ACK_TIMEOUTpublic static final BooleanConfigParam ENABLE_GROUP_ACKS
public static final LongConfigParam MAX_MESSAGE_SIZE
public static final ConfigParam CONSISTENCY_POLICY
public static final IntConfigParam DEFAULT_PORT
public static final ConfigParam NODE_HOST_PORT
public static final ConfigParam NODE_NAME
public static final EnumConfigParam<NodeType> NODE_TYPE
public static final IntConfigParam NODE_PRIORITY
public static final BooleanConfigParam ALLOW_ARBITER_ACK
public static final IntConfigParam ARBITER_OUTPUT_QUEUE_SIZE
public static final BooleanConfigParam DESIGNATED_PRIMARY
public static final BooleanConfigParam FEEDER_TCP_NO_DELAY
public static final IntConfigParam FEEDER_BATCH_NS
public static final IntConfigParam FEEDER_BATCH_BUFF_KB
public static final IntConfigParam ELECTABLE_GROUP_SIZE_OVERRIDE
public static final BooleanConfigParam RESET_REP_GROUP
DbResetRepGroup utility, to reset a replication group to a
single new member when the replicated environment is opened.public static final BooleanConfigParam RESET_REP_GROUP_RETAIN_UUID
RESET_REP_GROUP, that causes the
reset of the replication group to retain the original group UUID and to
not truncate the VLSN index. Use this option when converting a
SECONDARY node to an ELECTABLE node when recovering a replication group.public static final BooleanConfigParam IGNORE_SECONDARY_NODE_ID
public static final DurationConfigParam MAX_CLOCK_DELTA
public static final ConfigParam HELPER_HOSTS
public static final IntConfigParam HEARTBEAT_INTERVAL
public static final IntConfigParam SECURITY_CHECK_INTERVAL
public static final IntConfigParam DBTREE_CACHE_CLEAR_COUNT
public static final IntConfigParam VLSN_STRIDE
public static final IntConfigParam VLSN_MAX_MAP
public static final IntConfigParam VLSN_MAX_DIST
public static final IntConfigParam TEST_REPLICA_DELAY
public static final IntConfigParam VLSN_LOG_CACHE_SIZE
public static final DurationConfigParam REPSTREAM_OPEN_TIMEOUT
public static final DurationConfigParam ELECTIONS_OPEN_TIMEOUT
public static final DurationConfigParam ELECTIONS_READ_TIMEOUT
public static final DurationConfigParam ELECTIONS_REBROADCAST_PERIOD
public static final IntConfigParam ELECTIONS_PRIMARY_RETRIES
public static final DurationConfigParam REP_GROUP_OPEN_TIMEOUT
public static final DurationConfigParam REP_GROUP_READ_TIMEOUT
public static final DurationConfigParam MONITOR_OPEN_TIMEOUT
public static final DurationConfigParam MONITOR_READ_TIMEOUT
public static final DurationConfigParam REPLICA_TIMEOUT
ReplicationConfig.REPLICA_TIMEOUTpublic static final IntConfigParam REPLAY_MAX_OPEN_DB_HANDLES
public static final DurationConfigParam REPLAY_DB_HANDLE_TIMEOUT
public static final IntConfigParam REPLICA_MAX_GROUP_COMMIT
public static final DurationConfigParam REPLICA_GROUP_COMMIT_INTERVAL
public static final BooleanConfigParam SO_REUSEADDR
public static final BooleanConfigParam BIND_INADDR_ANY
ReplicationConfig.BIND_INADDR_ANYpublic static final IntConfigParam SO_BIND_WAIT_MS
public static final DurationConfigParam FEEDER_MANAGER_POLL_TIMEOUT
public static final DurationConfigParam FEEDER_TIMEOUT
ReplicationConfig.FEEDER_TIMEOUTpublic static final DurationConfigParam TRANSFER_LOGGING_THRESHOLD
public static final DurationConfigParam REPLAY_LOGGING_THRESHOLD
public static final BooleanConfigParam COMMIT_TO_NETWORK
public static final DurationConfigParam PRE_HEARTBEAT_TIMEOUT
public static final IntConfigParam TXN_ROLLBACK_LIMIT
ReplicationConfig.TXN_ROLLBACK_LIMITpublic static final BooleanConfigParam TXN_ROLLBACK_DISABLED
ReplicationConfig.TXN_ROLLBACK_DISABLEDpublic static final BooleanConfigParam ALLOW_UNKNOWN_STATE_ENV_OPEN
public static final BooleanConfigParam DONT_JOIN_REP_GROUP
public static final BooleanConfigParam ARBITER_USE
public static final BooleanConfigParam SUBSCRIBER_USE
public static final BooleanConfigParam NETWORKBACKUP_USE
public static final IntConfigParam NETWORKBACKUP_MAX_LAG
NetworkRestore.
Is currently 50k, which represents less than 1s of replay time.public static final BooleanConfigParam PRESERVE_RECORD_VERSION
public static final BooleanConfigParam CACHE_RECORD_VERSION
public static final BooleanConfigParam PROTOCOL_OLD_STRING_ENCODING
TODO: Change default to false in JE 5.1.public static final ConfigParam CHANNEL_TYPE
ReplicationNetworkConfig.CHANNEL_TYPEpublic static final ConfigParam CHANNEL_LOG_NAME
public static final ConfigParam CHANNEL_FACTORY_CLASS
public static final ConfigParam CHANNEL_FACTORY_PARAMS
public static final ConfigParam SSL_KEYSTORE_FILE
ReplicationSSLConfig.SSL_KEYSTORE_FILEpublic static final ConfigParam SSL_KEYSTORE_PASSWORD
public static final ConfigParam SSL_KEYSTORE_PASSWORD_CLASS
public static final ConfigParam SSL_KEYSTORE_PASSWORD_PARAMS
public static final ConfigParam SSL_KEYSTORE_TYPE
ReplicationSSLConfig.SSL_KEYSTORE_TYPEpublic static final ConfigParam SSL_SERVER_KEY_ALIAS
public static final ConfigParam SSL_CLIENT_KEY_ALIAS
public static final ConfigParam SSL_TRUSTSTORE_FILE
ReplicationSSLConfig.SSL_TRUSTSTORE_FILEpublic static final ConfigParam SSL_TRUSTSTORE_TYPE
ReplicationSSLConfig.SSL_TRUSTSTORE_TYPEpublic static final ConfigParam SSL_CIPHER_SUITES
ReplicationSSLConfig.SSL_CIPHER_SUITESpublic static final ConfigParam SSL_PROTOCOLS
ReplicationSSLConfig.SSL_PROTOCOLSpublic static final ConfigParam SSL_AUTHENTICATOR
ReplicationSSLConfig.SSL_AUTHENTICATORpublic static final ConfigParam SSL_AUTHENTICATOR_CLASS
public static final ConfigParam SSL_AUTHENTICATOR_PARAMS
public static final ConfigParam SSL_HOST_VERIFIER
ReplicationSSLConfig.SSL_HOST_VERIFIERpublic static final ConfigParam SSL_HOST_VERIFIER_CLASS
public static final ConfigParam SSL_HOST_VERIFIER_PARAMS
public static final ConfigParam TEST_JE_VERSION
public static final IntConfigParam REPLAY_COST_PERCENT
ReplicationConfig.REPLAY_COST_PERCENTpublic static final IntConfigParam REPLAY_FREE_DISK_PERCENT
public static final DurationConfigParam SUBSCRIPTION_POLL_INTERVAL
public static final DurationConfigParam SUBSCRIPTION_POLL_TIMEOUT
public static final IntConfigParam SUBSCRIPTION_MAX_CONNECT_RETRIES
public static final DurationConfigParam SUBSCRIPTION_SLEEP_BEFORE_RETRY
Copyright © 2024. All rights reserved.