This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw/sfs: Refactor types.h Object and Bucket classes
Improve Object and Bucket encapsulation to make it easy to remove the objects cache and mutex. Add specific named constructors (create_..) to Object that replace construction + metadata_init calls. Make Object create methods return pointers to allow callers to decided how to handle ownership. Without the object cache, we no longer need shared pointers of Object at all places. Separate Object data / metadata deletion (delete_object_data, delete_object_metadata) Add get, set, update methods for Object attrs and meta. Make both private fields. Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
- Loading branch information
Marcel Lauhoff
committed
Mar 1, 2023
1 parent
7fb0631
commit f2a442f
Showing
11 changed files
with
359 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.