]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/dbstore: DB backend for RGW
authorSoumya Koduri <skoduri@redhat.com>
Tue, 29 Jun 2021 13:41:10 +0000 (19:11 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Wed, 28 Jul 2021 06:40:16 +0000 (12:10 +0530)
commit67be96413d606b4cdb7497d58eb93ec0c2ea66cb
tree7acbde46bf85e840bcb8d40f0a3f91badd3f83ab
parent146c796a7fc131a700f5dd1ae109316ccc36876f
rgw/dbstore: DB backend for RGW

As part of Zipper, adding support for DB backend (using SQLite) for Stackable RGW.

The base class methods implemented are generic which could be extended to any backend database, not just SQLite.

More details on design/implementation can be found at -
https://docs.google.com/document/d/1xCoHT5DCujqbe1pnEfYpSaSqiBcW8z87CgQCC5LivOo/edit#

Current status:

[Done]
- User related APIs
- Bucket APIs
- Testcases (using Gtest) to test the DBStore APIs

[Not handled in the first pass]
- Quota
- Usage Stats
- Swift Users
- Multiple Zones/Zonegroups

[WIP]
- Object APIs

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
20 files changed:
CMakeLists.txt
cmake/modules/FindSQLITE3.cmake [new file with mode: 0644]
src/include/config-h.in.cmake
src/rgw/CMakeLists.txt
src/rgw/rgw_sal.cc
src/rgw/rgw_sal_dbstore.cc [new file with mode: 0644]
src/rgw/rgw_sal_dbstore.h [new file with mode: 0644]
src/rgw/store/dbstore/CMakeLists.txt [new file with mode: 0644]
src/rgw/store/dbstore/README.md [new file with mode: 0644]
src/rgw/store/dbstore/common/dbstore.cc [new file with mode: 0644]
src/rgw/store/dbstore/common/dbstore.h [new file with mode: 0644]
src/rgw/store/dbstore/common/dbstore_log.h [new file with mode: 0644]
src/rgw/store/dbstore/dbstore_main.cc [new file with mode: 0644]
src/rgw/store/dbstore/dbstore_mgr.cc [new file with mode: 0644]
src/rgw/store/dbstore/dbstore_mgr.h [new file with mode: 0644]
src/rgw/store/dbstore/sqlite/CMakeLists.txt [new file with mode: 0644]
src/rgw/store/dbstore/sqlite/sqliteDB.cc [new file with mode: 0644]
src/rgw/store/dbstore/sqlite/sqliteDB.h [new file with mode: 0644]
src/rgw/store/dbstore/tests/CMakeLists.txt [new file with mode: 0644]
src/rgw/store/dbstore/tests/dbstore_tests.cc [new file with mode: 0644]