]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: Fix omap upgrade to per-pg scheme
authorAdam Kupczyk <akupczyk@redhat.com>
Sat, 13 Nov 2021 10:28:18 +0000 (11:28 +0100)
committerAdam Kupczyk <akupczyk@redhat.com>
Wed, 17 Nov 2021 15:56:23 +0000 (16:56 +0100)
commit65a3f374aa1c57c5bb9401e57dab98a643b4360a
treeb2f3deb5c167b79471da34a95bf6d4876cbc80c0
parent0d13d64e0543ffbb95cbb0a2b00843ee0ec98331
os/bluestore: Fix omap upgrade to per-pg scheme

This is fix to regression introduced by fix to omap upgrade: https://github.com/ceph/ceph/pull/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 <akupczyk@redhat.com>
src/os/bluestore/BlueStore.cc