Idan, Actually in the case you described of using a 3 node Riak cluster with n_val of 2 the behavior you see makes perfect sense. When using only three nodes Riak does not guarantee that all replicas of an object will be on distinct physical nodes. So if you have one node down you can hit a case where both of the replicas of an object stored in Riak live on the downed node. This explains the reason you see occasional failure to retrieve an object with s3cmd, but most of the time it works just fine. It is for this reason we strongly recommend people to use at least 5 nodes in their production deployments. For testing, using at least use 4 nodes in the cluster will likely reduce the chances of this situation occurring versus using only 3. Also just be very cautious about reducing the n_val to 2. You will save on storage space doing that, but there is a trade-off to be made in availability and performance in doing so. Hope that helps shed some light. Kelly On August 22, 2013 at 10:12:06 AM, Idan Shinberg ([email protected]) wrote:
|
<<attachment: image001.jpg>>
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
