]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/dbstore: change default value of dbstore_db_dir to /var/lib/ceph/radosgw 46367/head
author0xavi0 <xavi.garcia@suse.com>
Mon, 23 May 2022 12:01:25 +0000 (14:01 +0200)
committer0xavi0 <xavi.garcia@suse.com>
Tue, 31 May 2022 07:01:56 +0000 (09:01 +0200)
commit895ee7921c3584fa654f230f87e13176b9a788a3
tree99cfa4199b9f37fbdd392ad73959b4374ed1efce
parenta74fa9a66fe2f0aceffb9b297fc1560a1da19ca5
rgw/dbstore: change default value of dbstore_db_dir to /var/lib/ceph/radosgw

Changes a few NULL to nullptr.

Adds std::filesystem for path building so they're platform independant.

Fixes a bug for DBStoreManager's second constructor not creating the DB.

Adds unit tests to test DB path and prefix.

Fixes: https://tracker.ceph.com/issues/55731
Signed-off-by: 0xavi0 <xavi.garcia@suse.com>
qa/suites/rgw/dbstore/tasks/rgw_s3tests.yaml
src/common/options/rgw.yaml.in
src/rgw/store/dbstore/README.md
src/rgw/store/dbstore/dbstore_mgr.cc
src/rgw/store/dbstore/dbstore_mgr.h
src/rgw/store/dbstore/tests/CMakeLists.txt
src/rgw/store/dbstore/tests/dbstore_mgr_tests.cc [new file with mode: 0644]