nodiak icon indicating copy to clipboard operation
nodiak copied to clipboard

Add support for 2.0 CRDTs

Open dmitrizagidulin opened this issue 10 years ago • 3 comments

Add support for Riak 2.0 Data Types:

  • Counters (API change from 1.4 counters)
  • Sets
  • Maps (and within maps, flags and registers)

References:

  • http://docs.basho.com/riak/2.0.0pre20/dev/using/data-types/ (documentation)
  • https://github.com/basho/riak-ruby-client/pull/111 - Ruby client implementation

dmitrizagidulin avatar Mar 31 '14 23:03 dmitrizagidulin

Well. This is already giving me heartburn. http://docs.basho.com/riak/2.0.0pre20/dev/using/data-types/#Setting-Up-Buckets-to-Use-Riak-Data-Types

Still super unclear on why these aren't just resource endpoints that map to preconfigured buckets behind the scenes so that they require no additional user-land setup.

nathanaschbacher avatar Apr 01 '14 16:04 nathanaschbacher

Apart from the userland configuration of bucket types, there shouldn't be any issues implementing these endpoints, right?

phated avatar Apr 11 '14 17:04 phated

@phated Correct, it's fairly straightforward, HTTP endpoints. (Specifically, most of the bucket and object operations will have to be modified to accept the bucket type parameter)

dmitrizagidulin avatar Apr 11 '14 19:04 dmitrizagidulin