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: multiple patches during long running tests for LMQ over RocksDB #8915

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

lizhanhui
Copy link
Contributor

Which Issue(s) This PR Fixes

To #8829

Brief Description

How Did You Test This Change?

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
private void accountWriteOpsForWalFlush() throws RocksDBException {
int writeCount = writeOpsCounter.incrementAndGet();
if (writeCount >= messageStoreConfig.getRocksdbFlushWalFrequency()) {
this.db.flushWal(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

may be flushWal(true) better

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The frequency of commit-offset may be very high, I prefer to keep this periodic flush async.

…Store#findConsumeQueueMap override

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
RongtongJin
RongtongJin previously approved these changes Nov 15, 2024
fuyou001
fuyou001 previously approved these changes Nov 17, 2024
@RongtongJin
Copy link
Contributor

Tests in error:
RocksdbTransferOffsetAndCqTest.testRocksdbCqWrite:147 NullPointer

tianliuliu
tianliuliu previously approved these changes Nov 19, 2024
@lizhanhui
Copy link
Contributor Author

Tests in error: RocksdbTransferOffsetAndCqTest.testRocksdbCqWrite:147 NullPointer

Got a few pretty busy days, I would fix it when I got some bandwidth

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
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.

4 participants