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

fix: operator should be IN for top level operations #2304

Merged
merged 5 commits into from
Feb 22, 2023
Merged

Conversation

srikanthccv
Copy link
Member

@srikanthccv srikanthccv commented Feb 21, 2023

I initially suspected something about the sharding here, but that was reverted here #1847 already, and indeed that wasn't the issue.

The MATCH operator works on a single value. When migrated from the PromQL to Query builder, the operation used was incorrect. Since the PromQL doesn't support the IN we used the ~=a|b|c which is a regex match and that same meaning is copied over, but the values were not concatenated with re2 syntax like they were for PromQL which behaves randomly based on the first operation received from the /top_level_operations API which doesn't guarantee any order.

Fixes #2305

Partially(or fully) address #2291

@github-actions github-actions bot added the bug Something isn't working label Feb 21, 2023
@request-info
Copy link

request-info bot commented Feb 21, 2023

We would appreciate it if you could provide us with more info about this issue/pr!

@sonarcloud
Copy link

sonarcloud bot commented Feb 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@srikanthccv srikanthccv marked this pull request as ready for review February 21, 2023 15:54
@srikanthccv
Copy link
Member Author

Check the op/s difference in the staging app for the service list page vs the overview page.

@sonarcloud
Copy link

sonarcloud bot commented Feb 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@srikanthccv srikanthccv merged commit 23490ca into develop Feb 22, 2023
@srikanthccv srikanthccv deleted the op-per-sec branch February 22, 2023 06:40
@srikanthccv srikanthccv added this to the 0.16.2 milestone Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Different data on each refresh after clickhouse volume increase (and restart)
2 participants