mcvsubbu commented on issue #7711: URL: https://github.com/apache/pinot/issues/7711#issuecomment-962249450
For testing purpose, you can also consider killing all zk, and pinot processes and restarting them (you will need to start zk process without saving to persistent store). For production use case, implementing a table delete api that is idempotent is possible I believe. Essentially, the controller API needs to do the following steps (not necessarily in this sequence): - disable table, remove all metadata - Remove all segments from idealstate - await externalview to match idealstate. - drop the helix resource for the table Things to consider: - A controller could get restarted between the above steps, and the client could re-issue the API. - the (http) client (of the controller api) could get disconnected, re-connect to a different controller and do the same operation. -- 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