Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: retry RGWRemoteMetaLog::read_log_info() while master is down #8453

Merged
merged 1 commit into from Apr 8, 2016

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Apr 5, 2016

If a secondary gateway starts up while the metadata master's gateway is down, RGWRemoteMetaLog::run_sync() will return an error, and never try to sync anything. This patch adds a for loop that will continue to retry on EIO, using RGWSyncBackoff for backoff.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
@cbodley cbodley added this to the jewel milestone Apr 5, 2016
@oritwas oritwas merged commit 7a94d97 into ceph:master Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants