rgw/notifications: replace timer waiter with async waiter#63986
rgw/notifications: replace timer waiter with async waiter#63986
Conversation
|
|
rerun: https://pulpito.ceph.com/yuvalif-2025-06-17_16:42:46-rgw:notifications-wip-yuval-71390-distro-default-smithi/ |
|
jenkins test api |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
sorry, it's hard for me to tell by reading the diff - if we're reducing the duration of sleeps, does that also mean the idle behavior is polling more aggressively? i think you mentioned in slack that was reduced from 30s to 2s |
i changed the sleep to 1s. but the probing time is the same. e.g. if not enough time passed, i'm just getting to the 1s sleep again. there will be some CPU increase, but should be minor, and should be no IO increase |
got it, thanks. waking up once a second to check for eventually we can look at coroutine cancellation, but that would probably need larger design changes (coroutines that spawn other detached coroutines would need a way to forward cancellation signals) |
cbodley
left a comment
There was a problem hiding this comment.
approving again with shutdown changes
|
jenkins test api |
|
jenkins test make check |
|
jenkins test make check arm64 |
this should allow for proper shutdown of the queue handling code of persistent notifications. Fixes: https://tracker.ceph.com/issues/71963 Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
* use short timers even for the longer timeouts * allow graceful shutdown when stopping Fixes: https://tracker.ceph.com/issues/71963 Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
|
jenkins test make check |
|
notification tests are failing on expected issues: https://pulpito.ceph.com/yuvalif-2025-07-03_13:51:11-rgw:notifications-wip-yuval-71390-distro-default-smithi/
regression: https://pulpito.ceph.com/yuvalif-2025-07-03_15:37:40-rgw-wip-yuval-71390-distro-default-smithi/
|
this should allow for proper shutdown of the queue handling code of persistent notifications.
Fixes: https://tracker.ceph.com/issues/71390
Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition