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
rbd-mirror: clean up spurious error log messages #18601
Conversation
Previously, if only the local image was using the journal or if a disconnected peer was attached, the tag entries could not be expired even if unreferenced. Fixes: ceph#18601 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Previously, if only the local image was using the journal or if a disconnected peer was attached, the tag entries could not be expired even if unreferenced. Fixes: ceph#18601 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
<< "m_client_meta.image_id=" << m_client_meta.image_id << ", " | ||
<< "client.state=" << client.state << dendl; | ||
dout(5) << "image_id=" << m_local_image_id << ", " | ||
<< "client_meta.image_id=" << m_client_meta.image_id << ", " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: tab missed
} else if (r < 0) { | ||
derr << "failed to retrieve client: " << cpp_strerror(r) << dendl; | ||
finish(r); | ||
} else if (!decode_client_meta()) { | ||
// require operator intervention since the data is corrupt | ||
finish(-EBADMSG); | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: return
is not needed (just to be consistent with other clauses, or add it to every clause).
Fixes: http://tracker.ceph.com/issues/21961 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@trociny update pushed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.