Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

FetchMap and FetchValue don't return the same context #705

Description

@gmenard

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.

For example, I'm trying to do the following:

UpdateMap.Response response = ...

DeleteValue.Builder builder = new DeleteValue.Builder(location)
     .withVClock(new BasicVClock(response.getContext().getValue()));

Am I doing something wrong? How can I pass the Context from the UpdateMap.Response to the DeleteValue operation?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions