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
mgr/progress: optimize global recovery module #37544
mgr/progress: optimize global recovery module #37544
Conversation
|
jenkins test docs |
|
jenkins test docs |
5d7019b
to
ee4e4a4
Compare
|
jenkins retest this please |
1 similar comment
|
jenkins retest this please |
ee4e4a4
to
e11b788
Compare
|
jenkins retest this please |
This comment has been minimized.
This comment has been minimized.
|
jenkins retest this please |
e11b788
to
040a4e9
Compare
|
reran: dead/fail jobs https://pulpito.ceph.com/ksirivad-2020-11-20_07:21:48-rados-wip-mgr-progress-global-efficiency-distro-basic-smithi/ Seems like the tests went well |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
040a4e9
to
2adcf85
Compare
2adcf85
to
36ca17c
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
This comment has been minimized.
This comment has been minimized.
36ca17c
to
4ec2068
Compare
|
@kamoltat i have following build failure while compiling my batch when testing this PR. could you fix the build failure and repush? |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
4ec2068
to
ca1ab3b
Compare
|
jenkins test docs |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@kamoltat this was looking good, seems like it just needs a rebase |
ca1ab3b
to
beee50e
Compare
b6c5d88
to
0eb3d21
Compare
|
rados:mgr progress test 18/18 passed rados 365/374 passed (failures and dead jobs seems all unrelated to me) |
Instead of fetching `pg_stats` from the python part of manager module, we filter out the pgs that are in active + clean state in ActivePyModules.cc then parse these pgs along with `reported_epoch` and the `total_num_pgs` of the clusters to global recovery module. Signed-off-by: Kamoltat <ksirivad@redhat.com>
0eb3d21
to
fa92db1
Compare
Instead of traversing through each PGs for active+clean state.
We traverse through the PGs in
ActivePyModules.cc which is in C++ and use get
method to directly get active+clean PG nums, as
well as number of PGs.
Signed-off-by: Kamoltat ksirivad@redhat.com
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 apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox