jt2594838 commented on code in PR #18456:
URL: https://github.com/apache/iotdb/pull/18456#discussion_r3765612913
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java:
##########
@@ -219,6 +219,9 @@ public class IoTDBConfig {
/** The period when outdated wal files are periodically deleted. Unit:
millisecond */
private volatile long deleteWalFilesPeriodInMs = 20 * 1000L;
+ /** Whether WAL nodes cache their sorted WAL file lists. */
+ private boolean walFileListCacheEnabled = true;
Review Comment:
This change makes the cache opt-out rather than opt-in. The template and
configuration test are updated in the same change so a fresh DataNode and the
documented default remain aligned.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]