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

[tempo-distributed] Upgrade to Tempo 2.4.0 #3005

Merged
merged 4 commits into from
Mar 18, 2024

Conversation

faustodavid
Copy link
Collaborator

Upgrade Tempo to 2.4.0 and use the new multi-cache config.

I have assigned the following roles to the memcache:

- roles:
    - parquet-footer
    - parquet-column-idx
    - parquet-offset-idx
    - bloom
    - frontend-search

@edgarkz
Copy link

edgarkz commented Mar 6, 2024

great, looking forward for merge

@joe-elliott
Copy link
Member

this lgtm. to be clear i'm not sure that parquet-column-idx and parquet-offset-idx function correctly. i thought i removed them from the tempo docs, but it seems they are still there.

if anyone wants to experiment with these roles to see if tempo does, in fact, use them please do and report back.

cache:
caches:
- roles:
- parquet-footer
Copy link
Member

Choose a reason for hiding this comment

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

missing parquet-page but this might be for the best. parquet-page is incredibly high volume and would forcibly flush out the other values.

Copy link
Collaborator Author

@faustodavid faustodavid Mar 14, 2024

Choose a reason for hiding this comment

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

I saw the warning in the docs, that is why I didn't want to add it as default.

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

for reference we run 3 memcached clusters internally:

  1. frontend-search - small cluster
  2. parquet-footer, parquet-bloom - medium cluster
  3. parquet-pages - large cluster

Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
@faustodavid faustodavid force-pushed the tempo-distributed-upgrade-to-tempo-2-4 branch from 25456b5 to f0b8cb3 Compare March 14, 2024 19:31
@faustodavid
Copy link
Collaborator Author

faustodavid commented Mar 14, 2024

this lgtm. to be clear i'm not sure that parquet-column-idx and parquet-offset-idx function correctly. i thought i removed them from the tempo docs, but it seems they are still there.

if anyone wants to experiment with these roles to see if tempo does, in fact, use them please do and report back.

for reference we run 3 memcached clusters internally:

  1. frontend-search - small cluster
  2. parquet-footer, parquet-bloom - medium cluster
  3. parquet-pages - large cluster

Hey @joe-elliott, I've removed parquet-column-idx and parquet-offset-idx from this PR, but I will test them in our clusters and let the team know if we see some improvements. I have also refactored this PR to make the cache configurable and added a comment pointing to the docs. Can you review it again, please?

Signed-off-by: Fausto David Suarez Rosario <[email protected]>
@faustodavid faustodavid force-pushed the tempo-distributed-upgrade-to-tempo-2-4 branch from 87ebe11 to 5fd216a Compare March 14, 2024 19:47
@edgarkz
Copy link

edgarkz commented Mar 17, 2024

@faustodavid
Any chance for merging soon? its already 2 weeks since 2.4 release
Thank you

@faustodavid
Copy link
Collaborator Author

@faustodavid Any chance for merging soon? its already 2 weeks since 2.4 release Thank you

Hi @edgarkz , after @joe-elliott comments I changed the code a bit, so I am waiting for their review.

CC. @zanhsieh

@joe-elliott
Copy link
Member

Thanks for the ping. Apologies for missing the first. I'll see if i can get a second +1 from someone internally.

@faustodavid this is great work, thank you!

Copy link
Member

@mapno mapno left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@faustodavid faustodavid merged commit 1338c74 into main Mar 18, 2024
6 checks passed
@faustodavid faustodavid deleted the tempo-distributed-upgrade-to-tempo-2-4 branch March 18, 2024 16:37
@z0rc
Copy link
Contributor

z0rc commented Mar 19, 2024

This is breaking change for anyone using external memcached. It should be a major release with migration instructions.

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.

None yet

6 participants