|| at Oct 13, 2011 at 5:18 pm
currently there is no difference between the two. (there is a chance that the code initializes the CAS field with -1 but i cannot look it up right now. check the implementation in protocol/binary)
the next version will have an option to throw exception when serious errors occur i just need to figure out how to do this without breaking backward compatibility
On Oct 13, 2011, at 7:03 PM, bradrover wrote:
I'm looking for a way to determine if a Get failed due to a socket read timout vs. just didn't find the value in cache. If I use GetWithCas, is there a common way to look at the Cas value to determine the operation failed ? For example, if its zero, does that mean it failed ? Also would need to do that for MultiGet. Thanks.