ruanwenjun commented on PR #17677:
URL: 
https://github.com/apache/dolphinscheduler/pull/17677#issuecomment-3635022617

   It’s preferable to retain the existing configuration key 
max-disk-usage-percentage-thresholds, but mark it as deprecated in the 
documentation.
   
   Introduce a new configuration:
   ```yaml
   max-disk-usage-percentage-thresholds-rules:
     - disk-path: /dev1
       usage-percentage-thresholds: 0.9
     - disk-path: /dev2
       usage-percentage-thresholds: 0.8
   ```
   When the old configuration max-disk-usage-percentage-thresholds is used, we 
should log a warning indicating that it is deprecated and recommend switching 
to the new max-disk-usage-percentage-thresholds-rules configuration.


-- 
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