You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RongtongJin
changed the title
[Bug] The logic of coldDataCheckService() needs to be optimized
[Enhancement] The logic of coldDataCheckService() needs to be optimized
Jul 11, 2023
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Mac, M1
RocketMQ version
latest
JDK Version
No response
Describe the Bug
Regardless of whether the cold read control switch is turned on, initPageSize() will be executed. However in some cases it may trigger an error.
Steps to Reproduce
turn off the related switch:
coldDataScanEnable = false
coldDataFlowControlEnable = false
then start the broker, there will still be such log in store.log:
2023-07-03 13:54:01 INFO main - initPageSize pageSize: 4096
However, this discussion shows that in some cases, it will lead to an error:
#7007
What Did You Expect to See?
The initialization should only be triggered after the switch is turned on.
What Did You See Instead?
then start the broker, there is such log in store.log:
2023-07-03 13:54:01 INFO main - initPageSize pageSize: 4096
Additional Context
No response
The text was updated successfully, but these errors were encountered: