[sheepdog] questions about sheepdog write policy

Dong Wu archer.wudong at gmail.com
Tue May 24 11:46:27 CEST 2016


hi,mitake
I have questions about sheepdog write policy.
for replication, sheepdog write default 3 copies, and is strong consistency.
my doubt is
1) if some  replicas write successfully, others fail, then it will
retry write anyway until all the 3 replicas success? but if there are
only less than 3 nodes left, will it write only less than 3 replicas
and return success to client?
2) if some replicas write success, others write fail, and return fail
to client, how to deal with these replicas's data consistency(write
success node has new data, but write fail node has old data)? if
client read the same block, will it read new data  or old data?

Thanks a lot.


More information about the sheepdog mailing list