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
luminous: osd: PG: add custom_reaction Backfilled and release reservations after bac… #23493
Conversation
Missing tracker reference: |
🤦♂️ yeah, forgot the ticket link, pardon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VictorDenisov Please append the following text to the commit message:
Conflicts:
src/osd/PG.cc
src/osd/PG.h
This signifies to "posterity" that the commit did not cherry-pick cleanly and that manual conflict resolution was undertaken. Bonus points for adding a brief explanation of the conflict and/or what was done to resolve it.
Thanks!
4ac90c2
to
90f3ae9
Compare
@VictorDenisov http://pulpito.front.sepia.ceph.com/yuriw-2018-09-22_15:29:46-rados-wip-yuri3-testing-2018-09-20-2224-luminous-distro-basic-smithi/3056890/ seems like a related failure. Can you please take a look? |
Ok. Looking into it. |
@neha-ojha I'm not allowed to see the last like that you gave me. Do I need to have any permissions for it? |
@VictorDenisov Are you able to view http://qa-proxy.ceph.com/teuthology/yuriw-2018-09-22_15:29:46-rados-wip-yuri3-testing-2018-09-20-2224-luminous-distro-basic-smithi/3056890/teuthology.log? You might need permissions to look at the complete set of logs. |
Yes. I downloaded the log. Thanks. |
@VictorDenisov we need this PR for 12.2.9 pls let know if it's ready |
@VictorDenisov pls add "needs-qa" ta when ready |
@VictorDenisov For next time: the "Conflicts" section always goes below the "(cherry picked from ...)" line. Thanks!
@VictorDenisov Try |
90f3ae9
to
d6dcf51
Compare
@neha-ojha Is it the error that you are referring to:
|
@VictorDenisov @neha-ojha The cherry-pick in this PR looks very different from the original 1abc232 I tried it, and it's too difficult ("non-trivial") for me. Maybe it would be better to close this and let @neha-ojha do the backport herself? (Some backports are better left to the developers...) Alternatively, maybe @neha-ojha could review the cherry-pick and suggest fixes? |
This code in master underwent several refactorings which are not in luminous. Basically the code of Backfilled handler is derived from DeferBackfill handler. Though I may have missed the logic behind the refactorings in master. @neha-ojha I would like to try fixing it for several days before giving up, but if it's urgent and you decide to backport yourself please add me to your new PR - I would like to see the correct solution. |
@VictorDenisov I'd be happy to let you have another go at it. In the meanwhile, I will try to investigate what the cherry-pick in luminous should look like. Does that sound reasonable @smithfarm? |
…kfill After backfill completes, we directly go to the Recovered state without releasing reservations. The outstanding reservations cause double reservation issues. Creating a custom_reaction Backfilled, allows us to release reservations, before transiting to the Recovered state. Signed-off-by: Neha Ojha <nojha@redhat.com> (cherry picked from commit 1abc232) Conflicts: src/osd/PG.cc src/osd/PG.h
d6dcf51
to
f512f90
Compare
@neha-ojha I don't see how my change could cause crashed state transition. I looked at those refactorings in master that introduced cancel state: 762f3da, d4e4922. I don't see any significant changes in them. I rebased my change onto the latest luminous - maybe it can help. |
@yuriw Can we please test this PR individually to confirm #23493 (comment)? |
http://tracker.ceph.com/issues/24333
…kfill
After backfill completes, we directly go to the Recovered state without
releasing reservations. The outstanding reservations cause double reservation
issues.
Creating a custom_reaction Backfilled, allows us to release reservations,
before transiting to the Recovered state.
Signed-off-by: Neha Ojha nojha@redhat.com
(cherry picked from commit 1abc232)