yuqi1129 opened a new issue, #12956:
URL: https://github.com/apache/gravitino/issues/12956

   ### What would you like to be improved?
   
   Overwrite currently drops and recreates the table. A MODIFY_TABLE-only 
caller gains ownership and can subsequently deregister a table that previously 
returned 403. A failed replacement can also leave the original table missing 
after its data has been purged.
   
   Parent: #9087. Follow-up from the review of #12954.
   
   ### How should we improve?
   
   Preserve table identity, ownership, and privilege associations. Validate and 
stage the replacement before switching metadata, and defer destructive cleanup 
until the switch succeeds. Define retry and recovery behavior for storage or 
metadata failures.
   
   Add unit and HTTP integration tests for retained ownership, unchanged 
privileges, failed replacement preserving the original table/data, concurrent 
overwrite, and retry behavior. Cover both create and register overwrite paths 
as applicable.
   


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

Reply via email to