Open linkdd opened 8 years ago
Hello -
Could you please run this command and provide the output in a response?
riak-admin bucket-type status maps
Thanks. I'd like to see how the maps
bucket type is configured.
Here is the output:
maps is active
young_vclock: 20
w: quorum
small_vclock: 50
rw: quorum
r: quorum
pw: 0
precommit: []
pr: 0
postcommit: []
old_vclock: 86400
notfound_ok: true
n_val: 3
linkfun: {modfun,riak_kv_wm_link_walker,mapreduce_linkfun}
last_write_wins: false
dw: quorum
dvv_enabled: true
chash_keyfun: {riak_core_util,chash_std_keyfun}
big_vclock: 50
basic_quorum: false
allow_mult: true
datatype: map
active: true
claimant: 'riak@127.0.0.1'
FYI, I followed the documentation when creating the bucket:
$ riak-admin bucket-type create maps '{"props":{"datatype":"map"}}'
$ riak-admin bucket-type activate maps
OK. I asked because there is an integration test that tests a Riak-generated key on a non-datatype bucket, but I couldn't find something for a bucket configured for a datatype. I suspect that's the issue.
Using riak 2.1.4 with the python client 2.5.3 with Python 3.4.3:
It seems that the generated key is of type
bytes
instead ofstr
in Python3: