Skip to content

If last_write_wins is true, dvv_enabled must be false [JIRA: CLIENTS-815] #64

@milverton

Description

@milverton

Please ensure the following information is supplied for new issues:

  • [v1.6] Riak Go Client version
  • [go1.6 darwin/amd64] Golang
  • [2.1.3] Riak version
  • [OSX El Captain 10.11.3 ] Operating System / Distribution & Version
  • [N/A] Riak error.log file, if applicable

What commands were being executed during the error

cmd, err := riak.NewStoreBucketTypePropsCommandBuilder().WithBucketType("kvstore").WithAllowMult(false).WithLastWriteWins(true).Build()

What you expected to have happen

Well, I expected to be able to set AllowMulti to false but I can't because I cannot find a way to set dotted vector clock to false.

It would help if you could set dvv_enabled to false. Maybe .WithDVV(false)?

Thank you and thanks for writing a Riak client for go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions