Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning task may not expire all records #449

Closed
romanstrobl opened this issue Oct 14, 2022 · 0 comments
Closed

Cleaning task may not expire all records #449

romanstrobl opened this issue Oct 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@romanstrobl
Copy link
Member

We use in DB queries following condition: WHERE *.timestampLastUpdated < :timestamp.

Such condition is not reliable, because timestampLastUpdated is nullable. Furthermore, this may extend the timeout window, which is undesirable. We should use timestampCreated for expiration queries which is not null.

@romanstrobl romanstrobl added the bug Something isn't working label Oct 14, 2022
banterCZ added a commit that referenced this issue Oct 19, 2022
Replace nullable timestampLastUpdated by timestampCreated in the where condition for expiration queries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants