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

Use ConcurrentHashMap when serializing tags. #2282

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

bshakur8
Copy link

@bshakur8 bshakur8 commented Jul 9, 2023

fix #1055

@bshakur8 bshakur8 marked this pull request as draft July 10, 2023 12:51
@manolama
Copy link
Member

Good catch, thanks!

@manolama manolama marked this pull request as ready for review July 10, 2023 17:45
@manolama manolama merged commit fd78f0e into OpenTSDB:master Jul 10, 2023
@ugtar
Copy link
Contributor

ugtar commented Jul 10, 2023

I'm sorry @manolama, @bshakur8 changed this PR to a draft earlier today because we had a reproduction even with this patch. It may have reduced the frequency, but it's not a fix

@manolama
Copy link
Member

NP, thanks @ugtar it does help like you said. There can still be silent failures, I believe, in the tag resolutions deferreds. https://github.com/bshakur8/opentsdb/blob/78fb1fad8bc885a028bce6abdd2c4c2e62a99f29/src/tsd/HttpJsonSerializer.java#L916-L923 Try attaching some explicit error callbacks there.

@ugtar
Copy link
Contributor

ugtar commented Jul 10, 2023

alright, well, in any case I think unfortunately #1055 needs to be reopened 😖

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.

/api/query occasionally returns datapoints with missing tags
4 participants