|
Guido,
In this case it appears that fetching is enabled i.e. if (!doNotFetch) i.e. if NOT doNotFetch... so basically doNotFetch = false (fetching is true / enabled). I hate the double negative cases since it's easy to get confused / miss the logic that was intended.
YN shared this with you.
Brian, In StoreObject's execute() method, this condition, is it a bug or intended?
...
...
if (!doNotFetch) {
resolved = fetchObject.execute();
vclock = fetchObject.getVClock();
}
...
...
My reasoning is: if do not fetch then shouldn't the resolved object be
the one passed? I'm doing some tests and if I do store a mutation
returning the body without fetching, I get a new mutated object and not
the one I passed + mutation. So I'm wondering if that was the original
intention.
Thanks,
Guido.
On 11/08/13 18:49, Guido Medina wrote:
_______________________________________________
riak-users mailing list
riak-users< at >lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Sent from InoReader
|
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
