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

Fix bug when finding most recently updated file in the block. #2559

Merged
merged 4 commits into from
Jul 28, 2022

Conversation

pstibrany
Copy link
Member

What this PR does

This PR fixes bug when finding most-recently updated file in a block (when checking if partial block should be deleted). Previously this didn't check chunk files.

PR also tries to improve partial blocks cleanup test code a bit, by adding extra checks between cleanUser calls.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pstibrany pstibrany requested a review from aldernero July 27, 2022 11:37
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany pstibrany force-pushed the fix-most-recently-updated-timestamp branch from 303c94a to fb2e78f Compare July 27, 2022 11:40
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked the fix / refactoring to business logic and LGTM.

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany
Copy link
Member Author

I checked the fix / refactoring to business logic and LGTM.

Thanks for your quick review!

@pracucci pracucci enabled auto-merge (squash) July 28, 2022 07:31
@pracucci pracucci merged commit 24b320c into main Jul 28, 2022
@pracucci pracucci deleted the fix-most-recently-updated-timestamp branch July 28, 2022 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants