Skip to content

v2.40.7

Compare
Choose a tag to compare
@vmaas-bot vmaas-bot released this 12 Sep 09:03
· 120 commits to master since this release

v2.40.7 (2024-09-12)

Chore

  • chore(ephemeral): remove --no-remove-resources

RHINENG-11573 (4cc5da1)

Fix

  • fix: workaround cve_cache issue with inventory groups

When there are 2 users with different inventory groups in the same account, they can be invalidating cache for each other which will cause that api is slow for both of them.
Cache only access to all inventory hosts. When a user doesn't have any inventory groups, then the query will be used without cache.

Stats from DB:
count of accounts | inventory groups
31581 | [] // access to all hosts
1 | [[]] // access to ungrouped hosts only
6 | access to only 1 inventory group
1 | access to 1 group and to ungrouped hosts
1 | access to multiple groups and ungrouped hosts

RHINENG-12465 (6b529e7)