]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
RGW - Zipper - Virtual base classes
authorDaniel Gryniewicz <dang@redhat.com>
Mon, 16 May 2022 13:38:03 +0000 (09:38 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Fri, 1 Jul 2022 18:11:07 +0000 (14:11 -0400)
commit9c07fe8f56657428525cd78d380140ca20e786fc
tree7d0c0822a10eb90a626e942dcd6c0cb61e8a34ff
parentdbeaa4a8e391d4be22244cc0dd68195b87deddcf
RGW - Zipper - Virtual base classes

In order to support filters, make the base classes in Zipper pure
virtual.  Then, derive from them a set of Store base classes, that
implement common code used by stores, and a set of Filter base classes
that automatically pass through to the next layer.  Modify the stores to
derive from the Store base classes.

This implements the pure virtual base classes, the Store base classes,
and a framework of the Filter base classes.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
22 files changed:
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/rgw/rgw_admin.cc
src/rgw/rgw_lc.cc
src/rgw/rgw_lc.h
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h
src/rgw/rgw_sal.h
src/rgw/rgw_sal_dbstore.cc
src/rgw/rgw_sal_dbstore.h
src/rgw/rgw_sal_filter.h [new file with mode: 0644]
src/rgw/rgw_sal_motr.cc
src/rgw/rgw_sal_motr.h
src/rgw/rgw_sal_rados.cc
src/rgw/rgw_sal_rados.h
src/rgw/rgw_sal_store.h [new file with mode: 0644]
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/tests/dbstore_tests.cc
src/test/rgw/test_rgw_lua.cc