J-HowHuang opened a new pull request, #16455: URL: https://github.com/apache/pinot/pull/16455
## Summary This PR introduces a new component to improve tenant rebalance monitoring and control in Pinot. ## Changes ### New Components - **TenantRebalanceChecker**: A new checker component that monitors tenant rebalance operations - **TenantRebalanceContext**: Context object to store rebalance job metadata and allow resuming operations - **DefaultTenantRebalanceContext**: Implementation of the tenant rebalance context ### Enhanced Functionality - Added parallel and sequential queue management for tenant rebalance operations - Integrated into the controller starter - Enhanced REST API with parallel whitelist and blacklist support in Swagger - Improved ZK-based tenant rebalance observer with better progress tracking ### Testing - Added comprehensive test coverage with - Enhanced existing with additional test cases - Added tests for functionality ## Technical Details - **Files Modified**: 12 files - **Lines Added**: 1,230 insertions - **Lines Removed**: 195 deletions - **New Classes**: 3 major new classes - **Test Coverage**: 495+ lines of new test code ## Benefits 1. **Better Monitoring**: Real-time checking of tenant rebalance operations 2. **Resumable Operations**: Context persistence allows resuming interrupted rebalance jobs 3. **Improved Control**: Parallel and sequential queue management for better resource utilization 4. **Enhanced API**: Better REST API support with proper Swagger documentation ## Testing - All existing tests pass - New comprehensive test suite added - Manual testing performed for tenant rebalance scenarios -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
