]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Fix omap upgrade to per-pg scheme 42958/head
authorAdam Kupczyk <akupczyk@redhat.com>
Sat, 13 Nov 2021 10:28:18 +0000 (11:28 +0100)
committerIgor Fedotov <ifed@suse.com>
Fri, 19 Nov 2021 12:46:31 +0000 (15:46 +0300)
commit10ef4b34fe0cb16fdc6c356c63af8260d1442fec
treefa055f10c35b8d90f5c2e3052877c6ae3b2bf28a
parent7af81181607af71f40f3af50651efbb5d2491379
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>
(cherry picked from commit 65a3f374aa1c57c5bb9401e57dab98a643b4360a)
src/os/bluestore/BlueStore.cc