Skip to content

Add spss and limit to search request hash#3557

Merged
joe-elliott merged 3 commits intografana:mainfrom
joe-elliott:bust-search-cache
Apr 10, 2024
Merged

Add spss and limit to search request hash#3557
joe-elliott merged 3 commits intografana:mainfrom
joe-elliott:bust-search-cache

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

What this PR does:
Currently if you repeat a search with different limits and spans per spanset values it will potentially grab incorrect results from cache. This PR adds limit and spss to the cache key to make the job goes through to the backend in this case.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Copy Markdown
Contributor

@ie-pham ie-pham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joe-elliott joe-elliott merged commit b6312f4 into grafana:main Apr 10, 2024
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.

4 participants