Repository navigation
os: bring leveldbstore options up to date - #215
Merged
Merged
Conversation
LevelDB has a lot of options which we don't implement right now. Add an options struct to the LevelDBStore which users can access as they wish in order to set values different from the defaults. This will let us set various size values, as well as turning on caching or bloom filter read optimizations. Signed-off-by: Jim Schutt <[email protected]> Signed-off-by: Greg Farnum <[email protected]>
Member
|
i would s/ldb/leveldb/ in the option names, but otherwise this looks good to me |
Now that we can set up the LevelDB options internally, provide config options on the OSD and the Monitor. We leave the OSD values at the defaults for now as they're performance-sensitive, but we set new values on the Monitor so that it can scale to large PGMaps. (Previously there were issues with large PGMaps taking forever to write; these changes to the use of compression and the default block and write buffers counteract them.) Since we pass these variables through, users who are interested in doing so now can test and tune them more appropriately. Reported-by: Jim Schutt <[email protected]> Signed-off-by: Greg Farnum <[email protected]>
liewegas
pushed a commit
that referenced
this pull request
Apr 17, 2013
os: bring leveldbstore options up to date Reviewed-by: Sage Weil <[email protected]>
liewegas
pushed a commit
that referenced
this pull request
Dec 14, 2016
ceph-manager: fix ec_pool parameters
liewegas
pushed a commit
to liewegas/ceph
that referenced
this pull request
Nov 5, 2021
Cross-browser checks
andriytk
pushed a commit
to andriytk/cortx-rgw
that referenced
this pull request
Jun 6, 2022
* rgw_sal_motr: [CORTX-30362] Add & Update User Stats Index Table (ceph#215) * rgw_sal_motr: [CORTX-30362] Add user stats changes while user/bucket create & delete. 1. User stats index should be created per new user. 2. Add blank entry per bucket in owner user stats index on bucket creation. 3. Delete stats entry on bucket deletion. 4. Delete user stats index table on user deletion. * rgw_sal_motr: [CORTX-30362] Implement read bucket stats Bucket Stats are read from Bucket owner's user stats index table. * rgw_sal_motr: [CORTX-30362] Update Bucket Stats on Object Put/Delete Update the bucket stats on object create and delete operations. Object overwrite & Versioned object put is handled. * rgw_sal_motr: [CORTX-30362] Fix zero byte object issue & code refactoring. Size of zero byte object and the default size of old object when it is abscent is '0'. Thus there was no distinction between the two cases. This was causing the issue, fixed the same by adding a new boolean var for distinction. * rgw_sal_motr: [CORTX-30362] Fix versioning bug in bucket stats Old Object size of getting reduced while uploading a new object for versioned object. Fixing the same. Signed-off-by: Sumedh A. Kulkarni <[email protected]> * User level stats counting for Motr SAL layer (ceph#226) Signed-off-by: Diwakar92 <[email protected]> Co-authored-by: Sumedh Anantrao Kulkarni <[email protected]> * rgw_sal_motr: [CORTX-30363] Fix user-stats bug for user with no buckets (ceph#242) * rgw_sal_motr: [CORTX-30363] Fix user-stats bug for user with no buckets - next_query_by_name() crashes when zero entries are returned and so does list_buckets() and read_stats(). - Fixing the issue by returning 0 when no entries are present in the index. Signed-off-by: Sumedh A. Kulkarni <[email protected]> Co-authored-by: Diwakar92 <[email protected]>
tserong
pushed a commit
to tserong/ceph
that referenced
this pull request
Sep 22, 2023
rgw/sfs: Fix multipart etag in response
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LevelDB has a lot of options which we don't implement right now. Add
an options struct to the LevelDBStore which users can access as they
wish in order to set values different from the defaults.
This will let us set various size values, as well as turning on
caching or bloom filter read optimizations.
Signed-off-by: Jim Schutt [email protected]
Signed-off-by: Greg Farnum [email protected]