Skip to content

fix[rocksdb]: fix error rocksdb default config for CFOptions#4466

Merged
StevenLuMT merged 5 commits into
apache:masterfrom
AuroraTwinkle:fix/rocksdbConf
Jul 20, 2024
Merged

fix[rocksdb]: fix error rocksdb default config for CFOptions#4466
StevenLuMT merged 5 commits into
apache:masterfrom
AuroraTwinkle:fix/rocksdbConf

Conversation

@AuroraTwinkle

@AuroraTwinkle AuroraTwinkle commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

Descriptions of the changes in this PR:

Fix erros of rocksdb default config

Motivation

The default rocksdb config has some errors and need fix.

Changes

  1. Fix error rocksdb default config for CFOptions.
  2. Update rocksdb config for unit test

@liangyepianzhou liangyepianzhou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@StevenLuMT StevenLuMT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good Job, LGTM

@dlg99

dlg99 commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

The change broke KeyValueStorageRocksDBTest:

Error:  org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile
Error:    Run 1: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>
Error:    Run 2: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>
Error:    Run 3: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>

@AuroraTwinkle

Copy link
Copy Markdown
Contributor Author

The change broke KeyValueStorageRocksDBTest:

Error:  org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile
Error:    Run 1: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>
Error:    Run 2: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>
Error:    Run 3: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>

Thanks,I will fix all failed Testcases.

@AuroraTwinkle

Copy link
Copy Markdown
Contributor Author

The change broke KeyValueStorageRocksDBTest:

Error:  org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile
Error:    Run 1: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>
Error:    Run 2: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>
Error:    Run 3: KeyValueStorageRocksDBTest.testRocksDBInitiateWithConfigurationFile:74 expected:<1> but was:<30>

I have fixed it.

@StevenLuMT
StevenLuMT merged commit 4ca020a into apache:master Jul 20, 2024
Comment thread conf/entry_location_rocksdb.conf.default
@lhotari lhotari added this to the 4.18.0 milestone Apr 16, 2025
lhotari pushed a commit that referenced this pull request Apr 16, 2025
* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
lhotari pushed a commit that referenced this pull request Apr 16, 2025
* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
lhotari pushed a commit that referenced this pull request Apr 17, 2025
* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
priyanshu-ctds pushed a commit to datastax/bookkeeper that referenced this pull request Jul 11, 2025
…4466)

* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
(cherry picked from commit d237f09)
sandeep-ctds pushed a commit to datastax/bookkeeper that referenced this pull request Jul 22, 2025
…4466)

* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
(cherry picked from commit d237f09)
manas-ctds pushed a commit to datastax/bookkeeper that referenced this pull request Feb 27, 2026
…4466)

* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
(cherry picked from commit 3b06ecf)
dlg99 pushed a commit to datastax/bookkeeper that referenced this pull request Feb 27, 2026
…4466)

* fix[rocksdb]: fix error rocksdb default config for CFOptions

---------

Co-authored-by: duanlinlin <duanlinllin@xiaohongshu.com>
(cherry picked from commit 4ca020a)
(cherry picked from commit 3b06ecf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants