Ask Your Question
2

Can I force an NTP sync in Swift hosts?

asked 2014-10-13 00:40:14 -0500

blazesurfer gravatar image

updated 2014-10-17 15:04:44 -0500

smaffulli gravatar image

If my swift hosts become out of sync, can i just change the time back or force a sync with ntp?

what is the likely impact?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-10-20 17:20:55 -0500

torgomatic gravatar image

If the time is only off by a couple of hours, just fix it.

If it's off by more, look at the replicators' reclaim_age settings. If the time difference is near reclaim_age, then it's possible that deletions won't get properly replicated before the tombstones are cleaned up. To handle that, increase reclaim_age by the time difference, restart the Swift daemons, and then fix the time. After the original reclaim_age has passed, you can lower reclaim_age back to its starting value.

edit flag offensive delete link more

Comments

OK so given that the default for this is 604800 sec's then i should be good being 12 hours our of sync as reclaim_age is 7 days by default if my math is right.

i will un-comment the line to ensure it is being read from object-server.conf. thanks

blazesurfer gravatar imageblazesurfer ( 2014-10-20 19:24:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-13 00:40:14 -0500

Seen: 358 times

Last updated: Oct 20 '14