We are doing node failover testing. When we failover a node, our writes are failing with DurabilityException though that’s not the primary node for that write
In this case, if you fail the replica node, this write will fail. The condition is send the ack if the doc is written to primary and replica - like the example here - https://docs.couchbase.com/java-sdk/2.2/durability.html