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

Test tracing cleanup #20781

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Test tracing cleanup #20781

merged 2 commits into from
Feb 21, 2024

Conversation

findepi
Copy link
Member

@findepi findepi commented Feb 21, 2024

No description provided.

@findepi findepi requested a review from wendigo February 21, 2024 08:42
@cla-bot cla-bot bot added the cla-signed label Feb 21, 2024
@github-actions github-actions bot added tests:hive iceberg Iceberg connector delta-lake Delta Lake connector labels Feb 21, 2024
@findepi findepi merged commit 99338b7 into trinodb:master Feb 21, 2024
92 checks passed
@findepi findepi deleted the findepi/trace-cly branch February 21, 2024 10:43
@github-actions github-actions bot added this to the 440 milestone Feb 21, 2024
@@ -65,6 +67,8 @@ public final class StandaloneQueryRunner
private final InMemorySpanExporter spanExporter = InMemorySpanExporter.create();

private final ReadWriteLock lock = new ReentrantReadWriteLock();
private final AtomicInteger concurrentQueries = new AtomicInteger();
private boolean spansValid = true;
Copy link
Member

Choose a reason for hiding this comment

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

What guards accesses to this non-volatile field?

Copy link
Member Author

Choose a reason for hiding this comment

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

good point.
i can make it volatile, but it doesn't make this bullet proof anyway.
so conceptually this field is used normally in single-threaded scenario only (the only scenario where it's legit to run query and then ask for spans).

Copy link
Member Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed delta-lake Delta Lake connector iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

3 participants