RetryUnsafeOperations Property
RetryUnsafeOperations
Whether to retry all operations including unsafe operations.
Declaration
public bool RetryUnsafeOperations { get; set; }
Property Value
bool |
Remarks
Operations can fail due to various reasons. Read-only operations are retried by
default. If you want to enable retry for all operations, set this property to true
.
However, note that a failed operation leaves the cluster in an undecided state. The cluster may have received the request and executed the operation, but failed to respond to the client. For idempotent operations this is harmless, but for non idempotent ones retrying can cause undesirable effects. Also note that the redo can perform on any member.
For these reasons, this is false
by default.