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

Bugfix/Claner removing too many artifacts after timeout #490

Merged
merged 6 commits into from
Mar 12, 2019

Conversation

wblachowski
Copy link
Contributor

@wblachowski wblachowski commented Mar 7, 2019

Fixed cleaner bug resulting in removing too many artifacts from database after timeout.

Description

Added discarding cleaner processing in case of aggregating task resulting in timeout.

Aggregating task outputs a list of referenced artifacts. Cleaner then removes all artifacts not present in the list. In case of timeout occurring, incomplete list of artifacts is passed further and as a result too many artifacts are removed from db.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • I have reviewed (and updated if needed) the documentation regarding this change

I hereby agree to the terms of the AET Contributor License Agreement.

@plutasnyy plutasnyy self-requested a review March 8, 2019 08:38
CHANGELOG.md Outdated
@@ -22,6 +22,7 @@ All notable changes to AET will be documented in this file.
- [PR-413](https://github.com/Cognifide/aet/pull/413) Added ability to show full page source when there has been no difference discovered ([#369](https://github.com/Cognifide/aet/issues/369))

- [PR-463](https://github.com/Cognifide/aet/pull/463) Removed dependency to Joda time library
- [PR-490](https://github.com/Cognifide/aet/pull/490) Bugfix/Claner removing to many artifacts
Copy link
Contributor

@tkaik tkaik Mar 11, 2019

Choose a reason for hiding this comment

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

Could you provide some more descriptive text here about what has changed? :) (e.g. timeout handling)

@wblachowski wblachowski changed the title Bugfix/Claner removing to many artifacts Bugfix/Claner removing too many artifacts Mar 12, 2019
Wojciech Blachowski added 2 commits March 12, 2019 08:04
…-artifacts' into bugfix/cleaner-removing-too-many-artifacts

# Conflicts:
#	CHANGELOG.md
@wblachowski wblachowski changed the title Bugfix/Claner removing too many artifacts Bugfix/Claner removing too many artifacts after timeout Mar 12, 2019
@tkaik
Copy link
Contributor

tkaik commented Mar 12, 2019

@wblachowski good job!

@tkaik tkaik merged commit 799dd29 into master Mar 12, 2019
@tkaik tkaik deleted the bugfix/cleaner-removing-too-many-artifacts branch March 12, 2019 10:32
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.

4 participants