krishna-st commented on code in PR #17375: URL: https://github.com/apache/pinot/pull/17375#discussion_r2632483208
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotInstanceRestletResource.java: ########## @@ -252,17 +253,20 @@ public SuccessResponse addInstance( @Authenticate(AccessType.UPDATE) @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.TEXT_PLAIN) - @ApiOperation(value = "Enable/disable an instance", notes = "Enable/disable an instance") + @ApiOperation(value = "Enable/disable/drain an instance", notes = "Enable/disable/drain an instance. " + + "DRAIN state is only applicable to minion instances and retags them from minion_untagged to minion_drained, " Review Comment: @xiangfu0 noticed that we can custom-tag minions so that specific tasks get executed on those. So replacing all the tags with `minion_drained` -- 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]
