[VQueues] Introduce sys_vqueue_meta datafusion table#4580
[VQueues] Introduce sys_vqueue_meta datafusion table#4580AhmedSoliman wants to merge 2 commits intomainfrom
Conversation
Test Results 8 files + 3 8 suites +3 7m 22s ⏱️ + 3m 47s Results for commit fd09f48. ± Comparison against base commit 6d70da2. This pull request removes 25 and adds 51 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
79b4801 to
2a11280
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a11280b6e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
58d66f0 to
f91661b
Compare
a92c7df to
ec1d245
Compare
bdadbec to
99567cb
Compare
747b840 to
d28d838
Compare
b0b9244 to
f0a86b6
Compare
Adds a new partitioned datafusion table that exposes VQueue metadata for observability and debugging. The table surfaces per-vqueue fields from VQueueMeta: identity (id, service_name, scope, limit_key, lock_name), lifecycle flags (is_active, queue_is_paused), lifecycle timestamps (created_at, last_enqueued_at, last_start_at, last_attempt_at, last_finish_at), EMA durations (queue/inbox/run/suspension/end_to_end), and entry counts per state (inbox/running/suspended/paused/finished). A new ScanVQueueMetaTable trait is added in storage-api and implemented on PartitionStore, scanning the meta column family at Priority::Low. Decoding uses VQueueMetaRef via bilrost decode_borrowed so string columns are read zero-copy from the iterator buffer.
tillrohrmann
left a comment
There was a problem hiding this comment.
Great to see your vision for introspection and observability of the new vqueues component coming together :-) LGTM. +1 for merging.
|
@tillrohrmann this was superseded by #4633. Sorry for the confusion. |
Adds a new partitioned datafusion table that exposes VQueue metadata for
observability and debugging.
The table surfaces per-vqueue fields from VQueueMeta: identity (id,
service_name, scope, limit_key, lock_name), lifecycle flags (is_active,
queue_is_paused), lifecycle timestamps (created_at, last_enqueued_at,
last_start_at, last_attempt_at, last_finish_at), EMA durations
(queue/inbox/run/suspension/end_to_end), and entry counts per state
(inbox/running/suspended/paused/finished).
A new ScanVQueueMetaTable trait is added in storage-api and implemented
on PartitionStore, scanning the meta column family at Priority::Low.
Decoding uses VQueueMetaRef via bilrost decode_borrowed so string
columns are read zero-copy from the iterator buffer.
Stack created with Sapling. Best reviewed with ReviewStack.