]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Factor out tool to deal with different log backing
authorAdam C. Emerson <aemerson@redhat.com>
Sat, 21 Nov 2020 06:44:36 +0000 (01:44 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 5 Apr 2021 17:37:00 +0000 (13:37 -0400)
commitaede44ac6667c9a1ec7e813b547f8765754d896f
treee8a70371cf00b50249408e38c1c5a0174b4ad411
parent35f044f39da713b3bf4c5002aade7b456727190e
rgw: Factor out tool to deal with different log backing

Read through the shards of a log and find out what kind it is.

Also remove a log.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit ed15d03f068c6f6e959f04d9d8f99eac82ebbd29)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/cls/log/cls_log_types.h
src/rgw/CMakeLists.txt
src/rgw/rgw_log_backing.cc [new file with mode: 0644]
src/rgw/rgw_log_backing.h [new file with mode: 0644]
src/test/rgw/CMakeLists.txt
src/test/rgw/test_log_backing.cc [new file with mode: 0644]