Skip to content

[DataFusion] Unify partition leader status and leader query protocol#4643

Open
AhmedSoliman wants to merge 2 commits intomainfrom
pr4643
Open

[DataFusion] Unify partition leader status and leader query protocol#4643
AhmedSoliman wants to merge 2 commits intomainfrom
pr4643

Conversation

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df46191bd5

ℹ️ 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".

Comment on lines +125 to +129
if self
.notified_head
.is_some_and(|notified| notified == vqueue)
{
return Poll::Pending;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Clear stale throttling head before suppressing duplicate wakeups

poll_head now returns Pending whenever notified_head == vqueue, but it never verifies that this head can still be consumed by the scheduler. If a throttled queue is dropped from scheduler state without calling InvokerThrottlingLimiter::remove_from_waiters (for example via DRRScheduler::mark_vqueue_as_dormant on pause/dormancy in crates/vqueues/src/scheduler/drr.rs:204-209 and :268-276), the stale head remains at the front and this branch keeps returning Pending forever, so waiters behind it are never woken and reserved throttling tokens can remain stuck.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Test Results

  7 files    7 suites   2m 37s ⏱️
 47 tests  47 ✅ 0 💤 0 ❌
200 runs  200 ✅ 0 💤 0 ❌

Results for commit e864d2d.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant