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
osdc/Objecter: resend pg commands on interval change #12869
Conversation
Trying to get make check to run. |
retest this please |
e77648b
to
06d3d19
Compare
@@ -1296,7 +1296,7 @@ void Objecter::handle_osd_map(MOSDMap *m) | |||
p != need_resend_linger.end(); ++p) { | |||
LingerOp *op = *p; | |||
if (!op->session) { | |||
_calc_target(&op->target, &op->last_force_resend); | |||
_calc_target(&op->target); |
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.
this hunk goes in the previous patch?
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.
ah, yeah
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 aside from that one hunk
It's always passed along with op_target_t, this seems simpler. Signed-off-by: Samuel Just <sjust@redhat.com>
mark_lost_unfound* are now async since the rework, so we need the Objecter to be able to resend on interval change. This is preferable to somehow requeueing the Command because they don't use the normal op queue. Fixes: http://tracker.ceph.com/issues/18358 Signed-off-by: Samuel Just <sjust@redhat.com>
No description provided.