shounakmk219 opened a new pull request, #16307:
URL: https://github.com/apache/pinot/pull/16307

   ## Description
   
   Currently the minion task data is not cleaned up during table deletion. This 
leads to unpredictable behaviour when a table is deleted and recreated right 
away as tasks that are generated based on old table end up operating on the new 
table.
   
   To avoid this situation this PR tries to clean up the task data during table 
deletion
   
   Table deletion request:
   - Delete tasks that are not in IN_PROGRESS state
   - Fail table deletion operation with the appropriate error message if there 
are IN_PROGRESS tasks
   
   Table creation operation:
   
   - Check for dangling task data for the task types that are present in the 
new table to be created
   - Fail the table create operation with proper error message explaining to 
either perform the delete operation again if it has not went all the way 
through or delete tasks manually if they were skipped earlier.


-- 
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]

Reply via email to