use the smaller value possible
This commit is contained in:
parent
074c70dc4f
commit
b7d3f8fc99
|
@ -533,7 +533,7 @@ public abstract class TransportShardReplicationOperationAction<Request extends S
|
|||
// async replication, notify the listener
|
||||
listener.onResponse(response.response());
|
||||
// now, trick the counter so it won't decrease to 0 and notify the listeners
|
||||
replicaCounter = -100;
|
||||
replicaCounter = Integer.MIN_VALUE;
|
||||
}
|
||||
|
||||
// we add one to the replica count to do the postPrimaryOperation
|
||||
|
|
Loading…
Reference in New Issue