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

Trigger callback chain when reached limit. #2204

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

ugtar
Copy link
Contributor

@ugtar ugtar commented Nov 3, 2021

fix #839

In clusters containing tags with high cardinality a query over multiple tags can easily overflow the maximum size of the callback chain resulting in a CallbackOverflowError when creating the callback chain for writing the resulting json output. This change writes the json in chunks to avoid the overflow error.

This PR supercedes #2150

@ugtar ugtar marked this pull request as ready for review November 4, 2021 00:38
@RuffSeason
Copy link

Any plans to merge this? I recently built from this branch and I fixed tons of issues we were experiencing with querying high cardinality metrics.

@johann8384 johann8384 merged commit db28637 into OpenTSDB:master Apr 11, 2023
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.

CallbackOverflowError with many tag values
4 participants