We recently upgraded to 1.0 via a rolling upgrade per the instructions
on basho.com. Since then we've encountered a problem with some of our
data and wanted to wipe the bucket from Ripple but we're seeing an
error that does not make sense:


irb(main):001:0> bucket = Riak::Client.new["pinged_urls"]
=> #<Riak::Bucket {pinged_urls}>
irb(main):002:0> bucket.keys do |keys|
irb(main):003:1* keys.each { |k| bucket.delete k }
irb(main):004:1> end
Riak::HTTPFailedRequest: Expected [204, 404] from Riak but received
503. R-value unsatisfied: 1/2


I'm seeing no errors in the logs on either node in our cluster and the
bucket's properties are:

curl http://127.0.0.1:8098/riak/pinged_urls
{"props":{"allow_mult":false,"basic_quorum":true,"big_vclock":50,"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"dw":"quorum","last_write_wins":false,"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"n_val":3,"name":"pinged_urls","notfound_ok":false,"old_vclock":86400,"postcommit":[],"pr":0,"precommit":[{"mod":"riak_search_kv_hook","fun":"precommit"}],"pw":0,"r":"quorum","rw":"quorum","search":true,"small_vclock":10,"w":"quorum","young_vclock":20}}


And the health of the cluster looks perfect:


bin/riak-admin member_status
================================= Membership ==================================
Status     Ring    Pending    Node
-------------------------------------------------------------------------------
valid      50.0%      --      '[email protected]'
valid      50.0%      --      '[email protected]'
-------------------------------------------------------------------------------
Valid:2 / Leaving:0 / Exiting:0 / Joining:0 / Down:0


We're really stumped so any pointers on where we can look would be
greatly appreciated!


Thanks,
Sylvain

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to