Repository navigation
os/bluestore: fix invalid omap name conversion when upgrading to per-pg. - #43687
Conversation
|
Great to see you found a new home! |
Thanks! :) |
neha-ojha
left a comment
There was a problem hiding this comment.
Fix looks good, tests to reproduce the issue are in progress - let's hold off on merge until then.
7ba9359 to
171cf09
Compare
|
@neha-ojha, @yuriw - so now this has got a UT case which covers the issue. It should be enough for the first trial. |
let's run #43687 + #42832 together through teuthology testing (rados+upgrade suites) We can expand upgrade test coverage to reproduce https://tracker.ceph.com/issues/53062 in parallel. |
#42832 is now included in this PR, so no need to add it explicitly.
|
171cf09 to
ffe2e9b
Compare
Primarily for debug purposes... Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
ffe2e9b to
cbc9701
Compare
|
@ifed01 is there a way to recover my crashing osds without this pull request (e.g. vanilla 16.2.6)? See my post on the ceph-users list here: https://lists.ceph.io/hyperkitty/list/[email protected]/thread/NM7UCWXMUDWJECCFW6B2LMMKOXCXSPN3/ |
answered in the ceph-users mailing list |
@tmolitor-stud-tu - forget to mentions - this specific patch doesn't recover already corrupted data - it just avoids that for new repairs... |
|
@ifed01 can you please add a note about this bug in https://github.com/ceph/ceph/blob/master/PendingReleaseNotes? |
@neha-ojha - will do |
@ifed01 I will go ahead and merge this PR. Please open a separate PR for the release notes, and let's backport the fix and the release notes changes in a single pacific backport PR. |
Added assert to verify that omap prefixes between cloned objects are exactly the same. If they would differ rewrite_omap_key() will possibly overwrite user key potion of data, or move some part of prefix into user key. This is a follow up from ceph#43687 Signed-off-by: Adam Kupczyk <[email protected]>
This is fix to regression introduced by fix to omap upgrade: ceph#43687 The problem was that we always skipped first omap entry. This worked fine with objects having omap header key. For objects without header key we skipped first actual omap key. Fixes: https://tracker.ceph.com/issues/53261 Signed-off-by: Adam Kupczyk <[email protected]>
This is fix to regression introduced by fix to omap upgrade: ceph#43687 The problem was that we always skipped first omap entry. This worked fine with objects having omap header key. For objects without header key we skipped first actual omap key. Fixes: https://tracker.ceph.com/issues/53260 Signed-off-by: Adam Kupczyk <[email protected]>
This is fix to regression introduced by fix to omap upgrade: ceph#43687 The problem was that we always skipped first omap entry. This worked fine with objects having omap header key. For objects without header key we skipped first actual omap key. Fixes: https://tracker.ceph.com/issues/53260 Signed-off-by: Adam Kupczyk <[email protected]> (cherry picked from commit 65a3f37)
This is fix to regression introduced by fix to omap upgrade: ceph#43687 The problem was that we always skipped first omap entry. This worked fine with objects having omap header key. For objects without header key we skipped first actual omap key. Fixes: https://tracker.ceph.com/issues/53307 Signed-off-by: Adam Kupczyk <[email protected]> (cherry picked from commit 65a3f37)
This is fix to regression introduced by fix to omap upgrade: ceph/ceph#43687 The problem was that we always skipped first omap entry. This worked fine with objects having omap header key. For objects without header key we skipped first actual omap key. Fixes: https://tracker.ceph.com/issues/53260 Signed-off-by: Adam Kupczyk <[email protected]>
Fixes: https://tracker.ceph.com/issues/53062
Signed-off-by: Igor Fedotov [email protected]
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 tox