I’m still a little unclear on the relationship between CRDT, K/V objects and
buckets. I understand that bucket_types add a third level of name-spacing, so I
expected that so long as I used a bucket_type consistently I would be able to
use CRDT objects with 2i indexes. However, using the Ruby client, I find that
while this successfully returns my previously saved CRDT map called
‘my_map_object_key’:
map =
Riak::Crdt::Map.new(my_bucket,’my_map_object_key’,’my_map_bucket_type’)
its key is not recognised in the same bucket, using the same bucket_type. So
this:
puts my_bucket.get_index('$key','0'..'zzzzzzzz',{:bucket_type=>
my_map_bucket_type}).size
returns ‘0’.
I suspect I am misunderstanding something fundamental - can anyone advise?
Thanks,
Paul
-------------------------------------------
Paul Walk
http://www.paulwalk.net
-------------------------------------------
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com