← Back to team overview

openstack team mailing list archive

Re: Understanding Failure Recovery in Swift

 

Replication will be logged and you can look for a "Object replication complete" log message.

For a more detailed look at how swift handles failures, you can watch this video: http://mirror.linux.org.au/linux.conf.au/2013/mp4/Playing_with_OpenStack_Swift.mp4

(I need to post my blog post that has all that info...)

--John



On May 9, 2013, at 1:55 PM, Mark.Abrahamson@xxxxxxxx wrote:

> 
> Hi-
> 
> I am trying to get a better understanding of how Swift recovers from failure.   I've read the documentation, but the process is still somewhat unclear.
> 
> I have a simple 5-node Swift cluster deployed with a replica count of 3 (3 zones and 2 handoff zones for a total of 5).    I load the cluster with some test data, and then on one of the nodes I shutdown swift and rsync.   I then purge the account, container, and object data from the node I shutdown.   When I start swift back up again on the purged node, how can I detect that replication has completed and the missing data has been restored to the node that I purged?
> 
> Thanks in advance for your assistance._______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp



References