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

(develop) BackupSystemTask is not limiting the backups as folders #2496

Closed

Conversation

claudius108
Copy link
Contributor

Fix for issue #2387.

@dizzzz dizzzz changed the title Fix for #2387. BackupSystemTask is not limiting the backups as folders Feb 21, 2019
claudius108 added a commit to claudius108/exist that referenced this pull request Feb 22, 2019
@claudius108 claudius108 changed the title BackupSystemTask is not limiting the backups as folders (develop) BackupSystemTask is not limiting the backups as folders Feb 22, 2019
@adamretter adamretter added this to the eXist-5.0.0 milestone Mar 9, 2019
@adamretter
Copy link
Member

@claudius108 the history for the commits here seems a bit muddled?

@claudius108
Copy link
Contributor Author

claudius108 commented Mar 13, 2019 via email

@adamretter
Copy link
Member

@claudius108 Okay, could you rebase please, and drop the incidental changes, e.g. xquery/parser/*?

@claudius108
Copy link
Contributor Author

claudius108 commented Mar 13, 2019 via email

};

if (numberOfEntriesToBeDeleted > 0) {
entriesPaths.stream().sorted(timestampComparator).limit(numberOfEntriesToBeDeleted).forEach(path -> {
Copy link
Member

Choose a reason for hiding this comment

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

I think you should either put entriesPaths in a try-with-resources or you need to finally close it... otherwise file handles may be leaked!

@adamretter
Copy link
Member

@claudius108 apart from the one comment it LGTM, can you squash the history to a single commit please?

@claudius108
Copy link
Contributor Author

claudius108 commented Mar 13, 2019 via email

@claudius108
Copy link
Contributor Author

claudius108 commented Mar 13, 2019 via email

@claudius108 claudius108 deleted the feature/bugfix/BackupSystemTask branch March 13, 2019 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants