Situations where a fetch can retun no causal context

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Situations where a fetch can retun no causal context

Edwards, Michael R (Contractor)

Hi everyone,
I saw in the documentation for the Java client that the
FetchDatatype.Response object has a method called hasContext() that checks to see if the causal context was present on the fetch response. Are there any situations where a causal context won’t be returned besides if the object being fetched doesn’t exist?

Thanks,
Michael

Confidentiality Notice: This electronic message transmission, including any attachment(s), may contain confidential, proprietary, or privileged information from Chemical Abstracts Service (“CAS”), a division of the American Chemical Society (“ACS”). If you have received this transmission in error, be advised that any disclosure, copying, distribution, or use of the contents of this information is strictly prohibited. Please destroy all copies of the message and contact the sender immediately by either replying to this message or calling 614-447-3600.


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Situations where a fetch can retun no causal context

Alex Moore
Hi Michael,

For the Set, Map, and Counter data types the only other situation I can think of is if the user explicitly set the "INCLUDE_CONTEXT" option to false.  That option defaults to true, so it should always return one if the data type you fetched isn't a bottom (initial) value.  If it is the bottom value, the context will be NULL.

Thanks,
Alex

On Tue, Jan 10, 2017 at 11:50 AM, Edwards, Michael R (Contractor) <[hidden email]> wrote:

Hi everyone,
I saw in the documentation for the Java client that the
FetchDatatype.Response object has a method called hasContext() that checks to see if the causal context was present on the fetch response. Are there any situations where a causal context won’t be returned besides if the object being fetched doesn’t exist?

Thanks,
Michael

Confidentiality Notice: This electronic message transmission, including any attachment(s), may contain confidential, proprietary, or privileged information from Chemical Abstracts Service (“CAS”), a division of the American Chemical Society (“ACS”). If you have received this transmission in error, be advised that any disclosure, copying, distribution, or use of the contents of this information is strictly prohibited. Please destroy all copies of the message and contact the sender immediately by either replying to this message or calling <a href="tel:(614)%20447-3600" value="+16144473600" target="_blank">614-447-3600.


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Loading...