mgr/vol: count number of ongoing clones in CloneProgressReporter...#61212
mgr/vol: count number of ongoing clones in CloneProgressReporter...#61212rishabh-d-dave merged 5 commits intoceph:mainfrom
Conversation
cf560fe to
dad3cf7
Compare
|
@vshankar This is one of the follow up PRs that we had discussed before merging of "clone stats" PR. cc @ceph/cephfs |
|
jenkins test api |
|
@vshankar gentle reminder, PTAL. Note: this is a follow up of the idea we discussed during "clone stats" PR. |
dad3cf7 to
7e22ac7
Compare
7e22ac7 to
ab78e66
Compare
d57f8a6 to
5b2400d
Compare
|
jenkins test api |
|
I tested this PR with https://pulpito.ceph.com/rishabh-2025-03-15_19:38:51-fs:volumes-rishabh-count-clones-testing-default-smithi/ And tests are running successfully now - https://pulpito.ceph.com/rishabh-2025-03-17_12:06:02-fs:volumes-rishabh-count-clones-testing-default-smithi/ |
5b2400d to
509b938
Compare
|
Did one more run for fs:volumes after today's change, it ran successfully - https://pulpito.ceph.com/rishabh-2025-03-18_12:33:45-fs:volumes-rishabh-count-clones-testing-default-smithi/ |
|
jenkins test api |
instead of relying on the config value "mgr/volumes/max_concurrent_clones". This reliance is not really needed since CloneProgressReporter goes through all clone entries and collect info about every clone anyways. If it takes one more step to get clone state it wouldn't need to reply on this config option. Fixes: https://tracker.ceph.com/issues/67987 Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
So that there is a separate file where several different groups of tests for CloneProgressReporter can reside together. Signed-off-by: Rishabh Dave <ridave@redhat.com>
509b938 to
2a9a098
Compare
f0fdacf to
8128d75
Compare
Test that CloneProgressReporter counts number of ongoing clones works fine. Signed-off-by: Rishabh Dave <ridave@redhat.com>
8128d75 to
9f74f85
Compare
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test windows |
|
jenkins test api |
|
This PR is under test in https://tracker.ceph.com/issues/70897. |
|
jenkins test api |
d985d0c to
fc6e7ab
Compare
|
jenkins test make check arm64 |
It might happen that clone index entry goes missing because a clone job was completed or cancelled. In such a case, lstat() to clone entry's path would fail. Catch the exception in such a case and handle it so that clone progress reporter thread doesn't crash. Crashing of clone progress reporter thread causes clone progress bars to not be removed from "ceph status" output when they should, resulting in these bars to being in stuck in the output forever. Fixes: https://tracker.ceph.com/issues/70941 Signed-off-by: Rishabh Dave <ridave@redhat.com>
fc6e7ab to
e14b8bb
Compare
|
small change in commit title, that's it. |
|
jenkins test api |
|
jenkins test make check |
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
rishabh-d-dave
left a comment
There was a problem hiding this comment.
QA run was successful - https://tracker.ceph.com/projects/cephfs/wiki/QA_main_2025#wip-rishabh-testing-20250414181222-debug
Waiting for "make check arm64" CI job to pass before merging.
instead of relying on the config value "mgr/volumes/max_concurrent_clones".
This reliance is not really needed since CloneProgressReporter goes
through all clone entries and collect info about every clone anyways. If
it takes one more step to get clone state it wouldn't need to reply on
this config option.
Fixes: https://tracker.ceph.com/issues/67987
Signed-off-by: Rishabh Dave ridave@redhat.com
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.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 windowsjenkins test rook e2e