Situations where a fetch can retun no causal context

2017-01-10 Thread 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
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Situations where a fetch can retun no causal context

2017-01-10 Thread 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) <
medwa...@cas.org> 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 614-447-3600 <(614)%20447-3600>.
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com