J-HowHuang opened a new pull request, #16144: URL: https://github.com/apache/pinot/pull/16144
## Overview Added support for overriding the default disk utilization threshold during table rebalance operations, allowing users to customize disk space checks on a per-rebalance basis. ### Backend Changes - **RebalanceConfig**: Added `diskUtilizationThreshold` field (double, default: -1.0) - **Rebalance API**: New query parameter `diskUtilizationThreshold` in `POST /tables/{tableName}/rebalance` - **Pre-checker**: Updated `DefaultRebalancePreChecker` to use override threshold when provided - **Variable Rename**: `_diskUtilizationThreshold` → `_defaultDiskUtilizationThreshold` for clarity in `DefaultRebalancePreChecker` ### API Usage ```bash POST /tables/myTable/rebalance?type=OFFLINE&diskUtilizationThreshold=0.85 ``` ### UI Changes - Added "Disk Utilization Threshold" field to Advanced Options in rebalance dialog - New DOUBLE input component for decimal values (0.0-1.0 range) ### Behavior - **Default (-1.0)**: Uses controller's configured threshold (the approach before this PR) - **Override (>=0.0)**: Uses specified threshold (e.g., 0.85 = 85%) ## Rebalance UI  When the value is default (-1.0) <img width="224" alt="image" src="https://github.com/user-attachments/assets/b65eb0cc-3360-41bc-bd79-045b48fae263" /> When the value is 0.2  When the value is 15 (no check on this value, though)  -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org