Conversation
|
It does not fix it at all. From gdb stack We need just to remove incorrect code from 22.6 with backport of Your 'fix' returns incorrect code |
|
Hm, I though that incorrect code was initially introduced in #37837. This PR reverts it as well. |
That PR just added more places where spans are collected. So it just increased probability of it to fail. Master is not failing in stress and other tests. I run fuzzer for several days of a version with enabled Otel for all queries and it is not failing. So revert is doing worse than backport of Map usage instead of keys/values. |
Master (22.7) and 22.6 contain almost the same set of changes around opentelemetry (except #38814) and 22.6 crashes in BC check. Yes, it's a mystery why 22.7 with almost the same code does not crash and it has to be investigated.
But what was the problem with storing numbers? All Fields were converted to Strings, so it should has worked fine with numbers. Why do you expect that changing Also revert of the initial PR fixes #38402 as well. |
Please read my previous comment again. What exactly was incorrect? Why do you expect that it's fixed? I see that this line mixes strings and integers in one array of Fields (and it's really questionable practice). But all Fields are converted to Strings later, so it should not be a problem: Moreover, if you look at the logs in failed checks, you will see that segfault happens when |
|
Oh my god, I just rebased my branch to the latest which contains the #38814 commit to resolve some conflicts, and now it's reverting. I don't know if the reverts in the PR is temporary or permanent because I'm going to submit a PR(which has some conflicts with these reverts and this PR) which introduces tracing context propagation across threads to resolve some bugs. My patch has been running on our clusters for more than half a year. |
Revert the revert commit in your branch? |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed segfault in
system.opentelemetry_span_logFixes #38221
Fixes #38402
cc: @qoega