]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Simplify log shard probing and err on the side of omap 41576/head
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 20 May 2021 23:19:55 +0000 (19:19 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 27 May 2021 15:11:37 +0000 (11:11 -0400)
commit2d9cbc61a06c36fc0f71e3310821fddca3ac55c0
tree8d14d0b086d633d545030a41dd68b0c5b4379b8b
parentf908420004cc81a30edb2b252b4d92f50c526280
rgw: Simplify log shard probing and err on the side of omap

In the multigeneration version we no longer care whether entries
exist, since we never delete and recreate empty logs. Remove logic
that marked entirely empty shards as DNE under the assumption that
they would be deleted if so.

Fixes: https://tracker.ceph.com/issues/50169
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 71ae2dd27ae07e6a5d2fda12834158fd2720bd7b)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Conflicts:
src/rgw/rgw_log_backing.cc
- Lambda capture, changed to be strictly conforming.
src/cls/fifo/cls_fifo.cc
src/rgw/rgw_log_backing.cc
src/rgw/rgw_log_backing.h
src/test/rgw/test_log_backing.cc