What if a node were permanently removed for some odd reason? You could never
delete those keys in that situation?*

 <http://www.loomlearning.com/>
 Jonathan Langevin
Systems Administrator
Loom Inc.
Wilmington, NC: (910) 241-0433 - jlange...@loomlearning.com -
www.loomlearning.com - Skype: intel352
*


On Wed, Aug 31, 2011 at 5:27 PM, Andrew Thompson <and...@hijacked.us> wrote:

> On Wed, Aug 31, 2011 at 05:11:16PM -0400, Tony Bussieres wrote:
> > Hi,
> >
> > We have a cluster of two nodes.
> >
> > We add keys to a bucket :
> > curl -v -X PUT -d '{"prop":"val"}' -H "Content-Type: application/json"
> > http://riak/store/jdTestBucket/key1?w=1
> > curl -v -X PUT -d '{"prop":"val"}' -H "Content-Type: application/json"
> > http://riak/store/jdTestBucket/key2?w=1
> > curl -v -X PUT -d '{"prop":"val"}' -H "Content-Type: application/json"
> > http://riak/store/jdTestBucket/key3?w=1
> > curl -v -X PUT -d '{"prop":"val"}' -H "Content-Type: application/json"
> > http://riak/store/jdTestBucket/key4?w=1
> >
> > We shut down one node.
> >
> > We delete the keys:
> > curl -v -X DELETE http://riak/store/jdTestBucket/key1?w=1
> > curl -v -X DELETE http://riak/store/jdTestBucket/key2?w=1
> > curl -v -X DELETE http://riak/store/jdTestBucket/key3?w=1
> > curl -v -X DELETE http://riak/store/jdTestBucket/key4?w=1
> >
> >
> > We list the keys :
> > curl -i http://riak/store/jdTestBucket?keys=true\&props=false
> >
> > All keys are listed.
> >
> > Is it normal?
> >
>
> Yes, keys are only deleted when all the values are tombstones and all
> the nodes are up. In theory bringing the other node back up and
> re-reading the keys will read-repair the keys on the node that was down
> to be tombstones and then hopefully they'll be removed.
>
> However, deletes are flaky on 0.14. Things should be a little better in
> 1.0.
>
> Andrew
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to