Repository navigation
mon: mark manager beacons as no_reply - #20467
Conversation
|
I'm a bit confused this didn't turn up in our nightlies, but perhaps they don't run long enough to cause trouble? |
|
@gregsfortytwo it usually takes a while for things to pile up enough so the monitors block, and we may not be reaching that stage during nightlies. One thing that could potentially be done to flush out this kind of behavior would be a test checking for long running ops on the cluster upon shutdown, but I'm wary of that as we could end up with a lot of false positives. |
|
retest this please. |
There was a problem hiding this comment.
/home/jenkins-build/build/workspace/ceph-pull-requests/src/mon/MgrMonitor.cc: In member function 'bool MgrMonitor::preprocess_beacon(MonOpRequestRef)':
/home/jenkins-build/build/workspace/ceph-pull-requests/src/mon/MgrMonitor.cc:270:3: error: 'no_reply' was not declared in this scope
no_reply(op); // we never reply to beacons
^~~~~~~~
might want to put something like
mon->no_reply(op); // we never reply to beaconsinstead?
There was a problem hiding this comment.
Lol whoops I’ll get that in the (my) morning. Thanks!
Also considering the testing options @jecluis pointed out.
57190c8 to
a550591
Compare
|
Should be fixed now. |
We never reply to manager beacons, and we have to mark them that way or else forwarded messages pile up pending replies and things eventually block. Fixes: http://tracker.ceph.com/issues/22114 Reported-by: Hongpeng Lu <[email protected]> Signed-off-by: Greg Farnum <[email protected]>
a550591 to
57ecc1e
Compare
|
Okay, I created a new ticket for us not detecting slow ops: http://tracker.ceph.com/issues/23045 |
|
As mentioned here: http://tracker.ceph.com/issues/22114 we also have the same issue with OSD_BEACONs. Will this fix resolve issue with stuck OSD_BEACONs? |
|
@oleg-glushak no, this one is only addressing the mgr beacons. |
* refs/pull/20467/head: mon: mark manager beacons as no_reply Reviewed-by: John Spray <[email protected]> Reviewed-by: Kefu Chai <[email protected]> Reviewed-by: João Eduardo Luís <[email protected]>
|
Oh, here's a new PR for those two @jecluis, @oleg-glushak. Thanks for pointing out I'd missed that! |
We never reply to manager beacons, and we have to mark them
that way or else forwarded messages pile up pending replies
and things eventually block.
Fixes: http://tracker.ceph.com/issues/22114
Reported-by: Hongpeng Lu [email protected]
Signed-off-by: Greg Farnum [email protected]