mcvsubbu commented on issue #5559: URL: https://github.com/apache/incubator-pinot/issues/5559#issuecomment-645013650
We may need to do this carefully. Need to consider race conditions like: * What if a segment gets pushed while we are deleting all segments? * What if a segment completes while we are deleting the consuming segment? Due to these reasons I prefer that we don't complicate pinot admin APIs on the controller. Instead, provide an admin command that can do more complex operations using the primitives in there, and taking care of other conditions and correcting for them. ---------------------------------------------------------------- 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. 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