You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Jason Fehr (Jira)" <ji...@apache.org> on 2025/10/08 16:25:00 UTC
[jira] [Created] (IMPALA-14480) Enable Optional OpenTelemetry DCHECKs
Jason Fehr created IMPALA-14480:
-----------------------------------
Summary: Enable Optional OpenTelemetry DCHECKs
Key: IMPALA-14480
URL: https://issues.apache.org/jira/browse/IMPALA-14480
Project: IMPALA
Issue Type: Improvement
Affects Versions: Impala 5.0.0
Reporter: Jason Fehr
Assignee: Jason Fehr
During test runs, the OpenTelemetry tests are proving to be flaky because some of the DCHECKs in span-manager.cc were written under the assumption that the query lifecycle would deterministically transition between phases. In reality, the query lifecycle is not exactly deterministic once the query execution begins because multiple threads can be involved in execution, result retrieval, query shutdown etc.
The OTel code is written so that it won't fail in release builds. This behavior was verified by running custom cluster and EE tests against release builds of Impala.
Since the DCHECKs provide value by identifying edge cases where the query lifecycle does not proceed as expected. Since the code in span-manager.cc is written so that situations that would fail a DCHECK do not cause problems in release builds, the DCHECKs in span-manager.cc can be ignored during regular test runs. Add a method of optionally enabling the DCHECKs in span-manager.cc that rely on deterministic query lifecycle transitions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org