You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2025/08/12 05:18:04 UTC
[I] [Improvement] issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline [gravitino]
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: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8032:
URL: https://github.com/apache/gravitino/issues/8032#issuecomment-3182556035
Yes. Silly me, I got the description wrong and copied the same path twice, the issue occurs in two files.
--
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-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean closed issue #8032: [Improvement] Issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline
URL: https://github.com/apache/gravitino/issues/8032
--
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-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline [gravitino]
Posted by "keepConcentration (via GitHub)" <gi...@apache.org>.
keepConcentration commented on issue #8032:
URL: https://github.com/apache/gravitino/issues/8032#issuecomment-3182322710
Hi, @justinmclean
I also noticed that in addition to `JobMetaPostgreSQLProvider.java`, the method [JobMetaBaseSQLProvider.softDeleteJobMetasByLegacyTimeline](https://github.com/apache/gravitino/blob/main/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/base/JobMetaBaseSQLProvider.java#L175) is missing the `deleted_at` check when performing a soft delete.
Shall we address this as well?
--
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-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline [gravitino]
Posted by "keepConcentration (via GitHub)" <gi...@apache.org>.
keepConcentration commented on issue #8032:
URL: https://github.com/apache/gravitino/issues/8032#issuecomment-3177788987
@justinmclean
I’d like to work on this issue. Could you please assign it to me?
--
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-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] issue with updating allready soft deleted rows in softDeleteJobMetasByLegacyTimeline [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8032:
URL: https://github.com/apache/gravitino/issues/8032#issuecomment-3177824263
Sure, if you need help with anything, just ask.
--
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-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org