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

Fixes #16636: Purge of unreferenced software may fail on very large system #2893

Conversation

ncharles
Copy link
Member

@ncharles ncharles requested a review from fanf April 14, 2020 13:07
@@ -123,18 +123,24 @@ class ReadOnlySoftwareDAOImpl(

// fetch all nodes
nodes = con.searchSub(nodeBaseSearch, IS(OC_NODE), A_NODE_UUID)
batchedNodes = nodes.grouped(50).toSeq

batchedNodes = nodes.grouped(25).toSeq
Copy link
Member

Choose a reason for hiding this comment

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

can you put the 25 in a var and use that var in log? I'm almost (to be fair with me) that I would forget half of the change if I ever touch that

@ncharles
Copy link
Member Author

PR updated with a new commit

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/2893
-- Your faithful QA
Kant merge: "Science is organized knowledge. Wisdom is organized life."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/22946/console)

@ncharles
Copy link
Member Author

OK, squash merging this PR

@ncharles ncharles force-pushed the bug_16636/purge_of_unreferenced_software_may_fail_on_very_large_system branch from 860a1e9 to 984b605 Compare April 15, 2020 20:09
@ncharles ncharles merged commit 984b605 into Normation:branches/rudder/5.0 Apr 15, 2020
@ncharles
Copy link
Member Author

OK, merging this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants