Skip to content

Conversation

@AuroraTwinkle
Copy link
Contributor

@AuroraTwinkle AuroraTwinkle commented Jul 19, 2024

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

Copy link
Contributor

@liangyepianzhou liangyepianzhou left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@StevenLuMT StevenLuMT left a comment

Choose a reason for hiding this comment

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

Good Job, LGTM

@dlg99
Copy link
Contributor

dlg99 commented Jul 19, 2024

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
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
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
@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)
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