I am still finding my way with the ‘new’ official api, and couchbase client behaviour in general.
However I would expect that if I attempt a get on a key in a vbucket of a node that has gone offline (through network or vm failure, no failed over) it fails as expected with ‘timeout’
In this case I try GetReplica (replica index 0 to attempt all replicas - though i only have one) which also fails with “The operation has timed out.”
Is GetReplica useful in this case, should I expect to receive the dirty read that i want.
It looks similar to this in the .NET client http://review.couchbase.org/#/c/49270/
This is in a two node cluster with 1 replica, i’ve generated 1024 keys that hash to each of the default initial vBuckets (initially due to a previous balance bug, but thats a different story)