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

   ### What would you like to be improved?
   
   In 
core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/JobMetaPostgreSQLProvider.java
 and 
core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/JobMetaPostgreSQLProvider.java,
 the legacy timeline soft-delete logic needs to be corrected to skip rows 
already marked deleted, preventing deleted_at from being overwritten during 
repeated cleanup runs. This occurs in softDeleteJobMetasByLegacyTimeline in 
both files.
   
   ### How should we improve?
   
   Add "AND deleted_at = 0" to the query


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