Any possibility for couchbase to find key to fail?
Is there any chance for couchbase server to return error when get API is called? (example. Server Busy?)
I can see that if the key doesn't exist, it returns null (tested with getBulk API)
I was wondering if there is any chance for server to fail fetching the values due to cluster server's problem.
(might happen during getBulk. Because API document mentions only one network call exists, this means that connected server asks other server for the key/values if the connected server doesn't have that specific key)
I am looking at
libcouchbase of C
and spymemcached of JAVA at the moment
The libcouchbase API will call you get_callback with appropriate error code for every single value.
https://github.com/couchbase/libcouchbase/blob/1.1.0dp2/include/libcouch...
More higher level drivers (like for ruby or php) convert NOT_FOUND errors to null's for easier operating, but there also (at least for ruby) the mode which raise errors.
Thanks I will check on this
Yes, different client libraries handle this different ways. Which client library are you using at the moment?