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

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

Merged
merged 5 commits into from
Jul 20, 2024

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
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants