This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BZ 1187680 : Error recalculating DynaGroups due to ResourceGroupAlrea…
…dyExistsException In a rare case a groupBy expression can generates multiple groupByClause strings differing only in case. Group names are [correctly] case insensitive and groupBy [correctly] is not. For example 'groupby resource.name' can cause this issue with two resources with the same name, ignoring case, like 'CPU' and 'cpu'. In this situation we need to consolidate results into one dyna-group, otherwise we'll get naming conflicts in the generated groups. So, merge results where the groupByClause is equal, ignoring case.
- Loading branch information
Showing
1 changed file
with
77 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters