public class IndeterminateOperationStateException extends HazelcastException
For instance, an invocation doesn't receive enough ACKs from the backup replicas in time.
In this case, IndeterminateOperationStateException only informs the caller that the operation may not be executed
on all requested backup replicas, hence durability of the written / updated value may not be guaranteed immediately.
This timeout is defined by configuration property GroupProperty.OPERATION_BACKUP_TIMEOUT_MILLIS
.
Similarly, if the member, which owns the primary replica of the operation's target partition, leaves the cluster before a response is returned, then
operation is not retried but fails with IndeterminateOperationStateException. However, there will not be any rollback on other successful replicas.
Last, if a Raft group leader leaves the cluster before sending a response for the invocation, the invocation may terminate without knowing if the operation is committed or not.
Constructor and Description |
---|
IndeterminateOperationStateException() |
IndeterminateOperationStateException(String message) |
IndeterminateOperationStateException(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IndeterminateOperationStateException()
public IndeterminateOperationStateException(String message)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.