xiangfu0 opened a new pull request, #20372: URL: https://github.com/apache/pinot/pull/20372
## Change Require an explicit, nonblank `access.control.init.password` when the controller initializes an empty ZooKeeper Basic Auth user store. Report the required setting before writing any user records. ## Reproduction The regression test initializes an empty in-memory user store with the password setting omitted. On the parent revision initialization succeeds. With this change the controller rejects the configuration and the store stays empty. The test also covers a whitespace-only value, a configured password, and restart with an already initialized store. ## Upgrade impact Supply a deployment-specific password when enabling ZooKeeper Basic Auth for the first time on an empty store. An initialized store can restart without the setting. Changing the bootstrap setting does not rotate existing accounts. ## Validation All 11 tests in `PinotHelixResourceManagerConfigValidationTest` and `ControllerClusterBasicAuthAuthorizationTest` passed locally on JDK 25. Spotless, Checkstyle, and both license checks passed for `pinot-controller`. -- 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]
