Skip to content

Handle metrics for the same query but with different setups #3531

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

Merged
merged 3 commits into from
Aug 14, 2025

Conversation

ScottDugas
Copy link
Collaborator

Planner metrics previously assumed that it was only reasonable to have a query once within a single block. Having setup can make this more complicated, so this changes the keys for the metrics to have the setup too.

There were a couple unrelated cleanups along the way:

  1. markDirty() was annotated @Nullable, but is void
  2. putMetrics took isDirectyMetrics, but that parameter was never used, so I removed it.

Planner metrics previously assumed that it was only reasonable to
have a query once within a single block. Having setup can make this
more complicated, so this changes the keys for the metrics to have
the setup too.

There were a couple unrelated cleanups along the way:
1. `markDirty()` was annotated `@Nullable`, but is `void`
2. `putMetrics` took `isDirectyMetrics`, but that parameter was
never used, so I removed it.
@ScottDugas ScottDugas added the testing improvement Change that improves our testing label Aug 5, 2025
@ScottDugas ScottDugas requested a review from normen662 August 5, 2025 21:34
@ScottDugas ScottDugas marked this pull request as ready for review August 5, 2025 21:34
@ScottDugas ScottDugas requested a review from normen662 August 11, 2025 14:24
@ScottDugas ScottDugas merged commit b12117e into FoundationDB:main Aug 14, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing improvement Change that improves our testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants