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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to