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

librbd: new tag should use on-disk committed position #20423

Merged
merged 3 commits into from Feb 15, 2018

Conversation

dillaman
Copy link

No description provided.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
--m_refreshes_in_progress;
if (m_refreshes_in_progress == 0) {
std::swap(refresh_ctxs, m_refresh_ctxs);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dillaman I suppose it should be outside of if (r == 0) block.

Observing rbd_mirror.sh test failure, on "disable mirroring / delete non-primary image", due to image replayer shut_down hangs on m_remote_journaler->shut_down, when refresh mutable metadata returns r=-2 (for test3 or test5 image). See e.g. [1] but it is reproduced locally too.

[1] http://pulpito.ceph.com/trociny-2018-02-14_14:24:46-rbd-wip-mgolub-testing-distro-basic-smithi/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D'oh -- definitely

Jason Dillaman added 2 commits February 14, 2018 11:22
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Fixes: http://tracker.ceph.com/issues/22945
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Copy link
Contributor

@trociny trociny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@trociny trociny merged commit cd3ae9b into ceph:master Feb 15, 2018
@dillaman dillaman deleted the wip-22945 branch February 15, 2018 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants