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

   ### What would you like to be improved?
   
   Schema repair can capture dataset version 8, then overwrite metadata already 
updated to version 9 with the older schema/version. Metadata-store CAS does not 
validate the earlier dataset observation.
   
   Parent: #9087. Follow-up from the review of #12954.
   
   ### How should we improve?
   
   Validate the observed table identity, location, and version before applying 
repair. Re-read when they change or a concurrency conflict occurs instead of 
replaying stale state. A version-only comparison is insufficient across 
replacement or location changes.
   
   Add a deterministic regression test for the version-8/version-9 
interleaving, replacement/location changes, and concurrent repair. Include 
integration coverage that verifies reads cannot persist stale schema metadata.
   


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