Skip to content

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Nov 9, 2024

What this PR does:

We are using a globally initialized InstantQueryCodec everywhere and it defaults to protobuf codec. This PR removes the global codec

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Test

Existing integration test should cover it.

Copy link
Contributor

@afhassan afhassan left a comment

Choose a reason for hiding this comment

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

Good catch! lgtm

Signed-off-by: Ben Ye <[email protected]>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 10, 2024
@yeya24 yeya24 merged commit 1d09628 into cortexproject:master Nov 10, 2024
16 checks passed
@yeya24 yeya24 deleted the remove-global-instant-query-codec branch November 10, 2024 19:11
CharlieTLe pushed a commit to CharlieTLe/cortex that referenced this pull request Dec 3, 2024
* stop using global instant query codec

Signed-off-by: Ben Ye <[email protected]>

* update

Signed-off-by: Ben Ye <[email protected]>

---------

Signed-off-by: Ben Ye <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/querier lgtm This PR has been approved by a maintainer size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants