[ISSUE #6940] change dataReadAheadEnable default to false (#6944)

* [ISSUE #6390] Add break to the exception of WHEEL_TIMER_NOT_ENABLE.

* fix broker start fail if mapped file size is 0

* log

* only delete the last empty file

* change dataReadAheadEnable default to true
This commit is contained in:
yuz10
2023-06-26 17:10:26 +08:00
committed by GitHub
parent fa8f256b50
commit f3ce3e8fb9
@@ -381,7 +381,7 @@ public class MessageStoreConfig {
private boolean coldDataFlowControlEnable = false;
private boolean coldDataScanEnable = false;
private boolean dataReadAheadEnable = false;
private boolean dataReadAheadEnable = true;
private int timerColdDataCheckIntervalMs = 60 * 1000;
private int sampleSteps = 32;
private int accessMessageInMemoryHotRatio = 26;