Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support disable rocksdb auto compaction through configuration #2584

Closed
wants to merge 1 commit into from

Conversation

haohao0103
Copy link
Contributor

support disable rocksdb auto compaction through configuration

close #2583

support disable rocksdb auto compaction through configuration
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. feature New feature labels Jul 12, 2024
@@ -430,6 +430,9 @@ private void openRocksDB(String dbDataPath, long version) {
List<byte[]> columnFamilyBytes = RocksDB.listColumnFamilies(new Options(), dbPath);

ColumnFamilyOptions cfOptions = new ColumnFamilyOptions();
if(this.hugeConfig.get(RocksDBOptions.DISABLE_AUTO_COMPACTION)){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider importing the .editorconfig configuration file located at the root of the project for code formatting

@VGalaxies VGalaxies requested a review from imbajin July 12, 2024 10:23
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.47%. Comparing base (9f89afc) to head (2f9d556).
Report is 1 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (9f89afc) and HEAD (2f9d556). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (9f89afc) HEAD (2f9d556)
7 1
Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2584       +/-   ##
=============================================
- Coverage     52.97%   41.47%   -11.50%     
+ Complexity      827      493      -334     
=============================================
  Files           643      643               
  Lines         53387    53387               
  Branches       7018     7018               
=============================================
- Hits          28280    22142     -6138     
- Misses        22279    28825     +6546     
+ Partials       2828     2420      -408     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 13, 2024
@haohao0103 haohao0103 closed this Jul 15, 2024
@haohao0103 haohao0103 deleted the alan-dev3 branch July 16, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] support disable rocksdb auto compaction through configuration
3 participants