Observe increments / increments with ReplicateTo control
I want to be able to rely on a sequential counter never returning a previous id. This is the normal behaviour when calling incr().
However, if you call incr() and then the master node for that counter fails before the value has been replicated, after a failover of that node your next successful call to incr() will return a previously issued id.
If my understanding of this is correct, then it would be nice to be able to have an incr() call with a ReplicateTo parameter, or the ability to observe the value was written.
I can't see how to do this in the Java API at the present time. Is there a way I can do this with the current API?