-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
store/src/main/java/org/apache/rocketmq/store/rocksdb/RocksDBOptionsFactory.java
Show resolved
Hide resolved
store/src/main/java/org/apache/rocketmq/store/queue/RocksGroupCommitService.java
Outdated
Show resolved
Hide resolved
store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java
Outdated
Show resolved
Hide resolved
private void accountWriteOpsForWalFlush() throws RocksDBException { | ||
int writeCount = writeOpsCounter.incrementAndGet(); | ||
if (writeCount >= messageStoreConfig.getRocksdbFlushWalFrequency()) { | ||
this.db.flushWal(false); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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/src/main/java/org/apache/rocketmq/store/queue/RocksGroupCommitService.java
Outdated
Show resolved
Hide resolved
common/src/main/java/org/apache/rocketmq/common/config/AbstractRocksDBStorage.java
Show resolved
Hide resolved
…Store#findConsumeQueueMap override Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Tests in error: |
Got a few pretty busy days, I would fix it when I got some bandwidth |
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
36b3ee2
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Which Issue(s) This PR Fixes
To #8829
Brief Description
How Did You Test This Change?