You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "CRZbulabula (via GitHub)" <gi...@apache.org> on 2026/07/28 11:07:51 UTC
[PR] Fix WAL throttle threshold fallback on hot reload [iotdb]
CRZbulabula opened a new pull request, #18336:
URL: https://github.com/apache/iotdb/pull/18336
## Description
When `wal_throttle_threshold_in_byte` is hot-reloaded from a positive value to a negative value, the loader skips the in-memory update because it only applies positive values. As a result, the configuration file represents the default fallback while IoTConsensus continues throttling writes with the previous threshold.
This PR:
- resolves a negative WAL throttle threshold to the template default before updating the runtime configuration;
- exposes the resolved runtime threshold through `SHOW CONFIGURATION`;
- adds a regression test covering a positive threshold followed by `-1`.
## Tests
- `mvn test -pl iotdb-core/datanode -am -Dtest=PropertiesTest -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false`
- Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix WAL throttle threshold fallback on hot reload [iotdb]
Posted by "CRZbulabula (via GitHub)" <gi...@apache.org>.
CRZbulabula merged PR #18336:
URL: https://github.com/apache/iotdb/pull/18336
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org