]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/dbstore: Create GC Thread to delete stale objects
authorSoumya Koduri <skoduri@redhat.com>
Wed, 26 Jan 2022 19:42:44 +0000 (01:12 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Mon, 7 Feb 2022 02:09:55 +0000 (07:39 +0530)
commita5627d60395915e5f57e6c12293d8221a218f8fe
tree84718e52724cf4f58a0d16743d86eb72722b3f88
parent38052496c809cdd0ed0d2f0e44cba873076c0855
rgw/dbstore: Create GC Thread to delete stale objects

Create a gc thread to cleanup the stale tail objects data

XXX: handle read + delete usecase, simple approach could be
to use locks or sqlite transactions in GC

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/rgw_sal_dbstore.cc
src/rgw/store/dbstore/common/dbstore.cc
src/rgw/store/dbstore/common/dbstore.h
src/rgw/store/dbstore/sqlite/sqliteDB.cc
src/rgw/store/dbstore/sqlite/sqliteDB.h
src/rgw/store/dbstore/tests/dbstore_tests.cc