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

Clarify soft limit on number of facts #9458

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

mhashizume
Copy link
Contributor

Puppet warns when the total number of fact values exceeds a soft limit, as PuppetDB performance can start to degrade as that number grows.

However, the language that Puppet currently uses to talk about this limit can be ambiguous. We want to emphasize that the total number of fact values--counting all children of all facts (every value in all arrays, hashes, etc.)--is what is relevant to performance.

This commit adds more explicit language about what this number is counting.

@mhashizume mhashizume requested a review from a team as a code owner August 27, 2024 22:36
@mhashizume
Copy link
Contributor Author

@vchepkov I saw that you'd previously brought this to our attention in Slack, does this language read more clearly to you?

@mhashizume mhashizume linked an issue Aug 27, 2024 that may be closed by this pull request
Puppet warns when the total number of fact values exceeds a soft limit,
as PuppetDB performance can start to degrade as that number grows.

However, the language that Puppet currently uses to talk about this
limit can be ambiguous. We want to emphasize that the total number of
fact values--counting all children of all facts (every value in all
arrays, hashes, etc.)--is what is relevant to performance.

This commit adds more explicit language about what this number is
counting.
@mhashizume mhashizume added the maintenance Maintenance chores are excluded from changelogs label Sep 5, 2024
@mhashizume mhashizume merged commit 7e19ae9 into puppetlabs:main Sep 5, 2024
9 checks passed
@mhashizume mhashizume added the backport 7.x Generate a backport PR to 7.x label Sep 5, 2024
Copy link

github-actions bot commented Sep 5, 2024

Successfully created backport PR for 7.x:

@mhashizume mhashizume deleted the PUP-12062/main/fact-limit branch September 5, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 7.x Generate a backport PR to 7.x maintenance Maintenance chores are excluded from changelogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misleading warning when fact values limit is exceeded
2 participants