The Context returned after a FetchMap operation is different from the VClock returned by a FetchValue operation for a same object which makes it impossible to pass around for deletion operations.
When I'm trying to delete an object (of type riak map) by specifying the context returned by a FetchMap operation, the deletion fails as the context is invalid.
The
Context
returned after a FetchMap operation is different from theVClock
returned by a FetchValue operation for a same object which makes it impossible to pass around for deletion operations.When I'm trying to delete an object (of type riak map) by specifying the context returned by a FetchMap operation, the deletion fails as the context is invalid.
For example, I'm trying to do the following:
Am I doing something wrong? How can I pass the
Context
from theUpdateMap.Response
to theDeleteValue
operation?Thanks!