Share via


ReliableStateManagerReplicatorSettings2 Class

Definition

Settings that configure the replicator

public class ReliableStateManagerReplicatorSettings2 : Microsoft.ServiceFabric.Data.ReliableStateManagerReplicatorSettings
type ReliableStateManagerReplicatorSettings2 = class
    inherit ReliableStateManagerReplicatorSettings
Public Class ReliableStateManagerReplicatorSettings2
Inherits ReliableStateManagerReplicatorSettings
Inheritance
ReliableStateManagerReplicatorSettings2

Constructors

ReliableStateManagerReplicatorSettings2()

Properties

BatchAcknowledgementInterval

Gets or sets the amount of time that the replicator waits after receiving an operation before sending back an acknowledgment. The default value is 5 milliseconds.

(Inherited from ReliableStateManagerReplicatorSettings)
CheckpointThresholdInMB

Gets or sets the checkpoint threshold. A checkpoint will be initiated when the log usage exceeds this value. Default value is 50. The unit is MB.

(Inherited from ReliableStateManagerReplicatorSettings)
CopyBatchSizeInKB

Controls the size of copy log message that is used in building a replica. Higher value will copy more log records in each message. Default value is 0 which means copy one log record at a time.

EnableStableReads

Flag controls Stable reads feature. Stable reads allows every replica to only return values on read which are quorum acked. Default is false

InitialCopyQueueSize

Gets or sets the initial size of the copy operation queue inside the replicator, which contains copy operations. Default value is 64. The value is the number of operations in the copy operation queue. Must be a power of 2.

(Inherited from ReliableStateManagerReplicatorSettings)
InitialPrimaryReplicationQueueSize

Gets or sets the initial primary replication queue size. Default value is 64. The value is the number of operations in the primary replication queue. Must be a power of 2.

(Inherited from ReliableStateManagerReplicatorSettings)
InitialSecondaryReplicationQueueSize

Gets or sets the initial secondary replication queue size. Default value is 64. The value is the number of operations in the secondary replication queue. Must be a power of 2.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxAccumulatedBackupLogSizeInMB

Gets or sets the max size for an accumulated backup log across backups. An incremental backup requests will fail if the backup logs generated by the request causes the total amount of logs accumulated including the last full backup to be greater than MaxAccumulatedBackupLogSizeInMB. In such cases, user is required to take a full backup. Default value is 800. The unit is MB.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxCopyQueueSize

Gets or sets the maximum size of the copy operation queue inside replicator, which contains copy operations. Default value is 1024. The value is the max number of operations in the copy operation queue. Must be a power of 2.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxMetadataSizeInKB

Gets or sets the amount of extra persistent storage space reserved for the replicator specified in kilobytes that is associated with this replica. This value must be a multiple of 4. The default value is 4. The unit is KB.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxPrimaryReplicationQueueMemorySize

Gets or sets the max primary replication queue memory size. Default value is 0, which implies there is no memory limitation. The unit is Bytes.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxPrimaryReplicationQueueSize

Gets or sets the max primary replication queue size. Default value is 1024. The value is the max number of operations in the primary replication queue. Must be a power of 2.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxRecordSizeInKB

Gets or sets the largest record size which the replicator may write specified in kilobytes for the log that is associated with this replica. This value must be a multiple of 4 and greater than or equal to 128. The default value is 1024. The unit is KB.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxReplicationMessageSize

Gets or sets the max replication message size. Default value is 50MB. The unit is Bytes.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxSecondaryReplicationQueueMemorySize

Gets or sets the max secondary replication queue memory size. Default value is 0, which implies there is no memory limitation. The unit is Bytes.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxSecondaryReplicationQueueSize

Gets or sets the max secondary replication queue size. Default value is 2048. The value is the max number of operations in the secondary replication queue. Must be a power of 2.

(Inherited from ReliableStateManagerReplicatorSettings)
MaxStreamSizeInMB

Deprecated

(Inherited from ReliableStateManagerReplicatorSettings)
MaxWriteQueueDepthInKB

Gets or sets the maximum write queue depth that the core logger can use as specified in kilobytes for the log that is associated with this replica. This value is the maximum number of bytes that can be outstanding during core logger updates. It may be 0 for the core logger to compute an appropriate value or a multiple of 4. The default value is 0. The unit is KB.

(Inherited from ReliableStateManagerReplicatorSettings)
MinLogSizeInMB

Gets or sets the minimum log size. A truncation will not be initiated if it would reduce the size of the log to below this value. Default value is 0.

(Inherited from ReliableStateManagerReplicatorSettings)
OptimizeForLocalSSD

Deprecated

(Inherited from ReliableStateManagerReplicatorSettings)
OptimizeLogForLowerDiskUsage

Gets or sets a flag, when true indicates the log should optimize in a way where less disk space is used for the log at the cost of IO performance. If false, the log will use more disk space but have better IO performance. Default value is true.

(Inherited from ReliableStateManagerReplicatorSettings)
ReplicationBatchSendInterval

Interval at which we force send Replication Batch even if it hasn't reach ReplicationBatchSize. Default value is 0.015 Seconds (15 milliseconds)

ReplicationBatchSize

Size of a ReplicationBatch. Default is 1

ReplicatorAddress

Gets or sets the address in {ip}:{port} format that this replicator will use when communicating with other replicators. The default value is "localhost:0", which picks a dynamic port number in runtime. If replicator is running inside a container, you should try setting up ReplicatorListenAddress and ReplicatorPublishAddress.

(Inherited from ReliableStateManagerReplicatorSettings)
ReplicatorListenAddress

Gets or sets the address in {ip}:{port} format that this replicator will use to receive information from other replicators. The default value is "localhost:0", which picks a dynamic port number in runtime. {ip} part of the listen address can be obtained from ServiceListenAddress.

(Inherited from ReliableStateManagerReplicatorSettings)
ReplicatorPublishAddress

Gets or sets the address in {ip}:{port} format that this replicator will use to send information to other replicators. The default value is "localhost:0", which picks a dynamic port number in runtime. {ip} part of the publish address can be obtained from ServicePublishAddress.

(Inherited from ReliableStateManagerReplicatorSettings)
RetryInterval

Gets or sets how long the replicator waits after it transmits a message from the primary to the secondary for the secondary to acknowledge that it has received the message. The default value is 5 seconds.

(Inherited from ReliableStateManagerReplicatorSettings)
SecondaryClearAcknowledgedOperations

Gets or sets a flag, when true indicates the secondary replicator should clear the in-memory queue after acknowledging the operations to the primary (After the operations are flushed to disk). Default value is false. Settings this to "TRUE" can result in additional disk reads on the new primary, while catching up replicas after a failover.

(Inherited from ReliableStateManagerReplicatorSettings)
SecurityCredentials

Gets or sets the security credentials for securing the traffic between replicators.

(Inherited from ReliableStateManagerReplicatorSettings)
SharedLogId

Gets or sets the GUID identifier for the log container that is shared by a number of replicas on the windows fabric node including this one. Default value is "" which causes the replicator to use the global shared log for the node.

(Inherited from ReliableStateManagerReplicatorSettings)
SharedLogPath

Gets or sets the full pathname to the log container that is shared by a number of replicas on the node including this one. Default value is "" which causes the replicator to use the global shared log for the node.

(Inherited from ReliableStateManagerReplicatorSettings)
ShouldAbortCopyForTruncation

Determines whether build can be canceled if the log is full. Default is 0

SlowApiMonitoringDuration

Sets the interval after which the replicator sends a warning health report that the API is slow and is taking longer than expected duration. Default value is 5 minutes.

(Inherited from ReliableStateManagerReplicatorSettings)
ThrottlingThresholdFactor

Gets or sets the throttling threshold factor. Throttling will be initiated when the log usage exceeds this value times MinLogSizeInMB. Default value is 3.

(Inherited from ReliableStateManagerReplicatorSettings)
TruncationThresholdFactor

Gets or sets the truncation threshold factor. A truncation will be initiated when the log usage exceeds this value times MinLogSizeInMB. Default value is 2.

(Inherited from ReliableStateManagerReplicatorSettings)

Methods

Equals(Object)

Equals is used for delta comparison of current this object with passed in delta obj.

GetHashCode()

Serves as a hash function for this type.

ToString()

Returns a string that represents the current object.

Applies to