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

refactor: expose system tables by default in edge/pro #25000

Merged
merged 20 commits into from
May 17, 2024

Conversation

hiltontj
Copy link
Contributor

This PR is intended to follow #24992

Closes #24989. Originally, the intention of #24989 was to make the system tables available when a debug header is passed in gRPC/HTTP requests, as is done in distributed, but we decided to make them available by default in monolithic influxdb3.

hiltontj added 13 commits May 9, 2024 15:56
A shell for the `system` table provider was added to the QueryExecutorImpl
which currently does not do anything, but will enable us to tie the
different system table providers into it.

The QueryLog was elevated from the `Database`, i.e., namespace provider,
to the QueryExecutorImpl, so that it lives accross queries.
The system.queries table is now accessible, when queries are initiated
in debug mode, which is not currently enabled via the HTTP API, therefore
this is not yet accessible unless via the gRPC interface.

The system.queries table lists all queries in the QueryLog on the
QueryExecutorImpl.
@hiltontj hiltontj added the v3 label May 14, 2024
@hiltontj hiltontj self-assigned this May 14, 2024
@hiltontj hiltontj marked this pull request as ready for review May 14, 2024 15:00
@hiltontj hiltontj force-pushed the hiltontj/system-tables-no-debug branch from 4d26947 to bd46767 Compare May 14, 2024 15:10
@hiltontj hiltontj force-pushed the hiltontj/system-queries-table branch from b9044cd to c4430cf Compare May 16, 2024 13:23
Base automatically changed from hiltontj/system-queries-table to main May 17, 2024 16:04
@hiltontj hiltontj merged commit 220e1f4 into main May 17, 2024
12 checks passed
@hiltontj hiltontj deleted the hiltontj/system-tables-no-debug branch May 17, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make system tables available via a debug option in the HTTP API and influxdb3 client
2 participants