]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix "end reached" check in collection_list_legacy 38098/head
authorMykola Golub <mgolub@suse.com>
Mon, 9 Nov 2020 20:19:48 +0000 (20:19 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 17 Dec 2020 19:22:45 +0000 (21:22 +0200)
commite7fed3dd64bfbf7c8dca33fcddb21ffede87c1b6
treeb37ac58483670ba327c78dd70c6965fb51e239fd
parent0c4e4918838cc6e0f9c35598fc2ff17989dfa21c
os/bluestore: fix "end reached" check in collection_list_legacy

To preserve the old bluestore behavior it should compare the
current object with the end using bluestore keys, not oids.

Fixes: https://tracker.ceph.com/issues/48153
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit e63489f249f9ba3bc9cb1806568f860effd8a0b6)
src/os/bluestore/BlueStore.cc