Skip to content

Do not silently drop system limit configurations - #3820

Open
lbschanno wants to merge 2 commits into
integrationfrom
bugfix/systemLimits
Open

Do not silently drop system limit configurations#3820
lbschanno wants to merge 2 commits into
integrationfrom
bugfix/systemLimits

Conversation

@lbschanno

Copy link
Copy Markdown
Collaborator

SystemLimitProvider.populateLimits() can silently drop SortableSystemLimit instances when there are two or more system configurations that result in the same matcher type, equal limits, equal values for countsAgainstUserLimit, and equal group override maps.

Add a check to SortableSystemLimit.compareTo() to also check against matcher equality to ensure we do not drop matchers of the same type with different underlying patterns.

Fixes #3818

SystemLimitProvider.populateLimits() can silently drop
SortableSystemLimit instances when there are two or more system
configurations that result in the same matcher type, equal limits, equal
values for countsAgainstUserLimit, and equal group override maps.

Add a check to SortableSystemLimit.compareTo() to also check against
matcher equality to ensure we do not drop matchers of the same type with
different underlying patterns.

Fixes #3818
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query Limit Feature - System limits can be silently dropped

1 participant