Repository navigation
Conversation
|
Hmm, I'm not sure this really fixes the problem. It seems we freed a wrong The cookies are different. |
@rzarzynski, I have noticed that the cookies are different and these are two In continuation to our offline discussion. #51945, on the contrary, drops the iteration over |
| notify->ninfo.notify_id); | ||
| return notify->complete_watcher(shared_from_this(), reply_bl | ||
| ).then([this, notify_iter] { | ||
| in_progress_notifies.erase(notify_iter); |
There was a problem hiding this comment.
This ultimately does in_progress_notifies.clear() but in the one-by-one manner. I'm worried we're prematurely freeing notifies here while the logic should be resembling Watch::cancel_notify().
There was a problem hiding this comment.
This ultimately does
in_progress_notifies.clear()but in the one-by-one manner. I'm worried we're prematurely freeing notifies here while the logic should be resemblingWatch::cancel_notify().
IIUC, the issue here is that we switch to handle a concurrent different notify_ack before actually progressing to in_progress_notifies.clear() (according to the new logs). To avoid this, I erased the iterator right after calling complete_watcher.
Before the change:
This should also resolve the recent rbd api freezes regression.
Debugged w/ crimson/osd/watch: Add logs around Watch/Notify #51852
Fixes: https://tracker.ceph.com/issues/61504
Signed-off-by: Matan Breizman [email protected]
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows