GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs(consumer): record what the broker upgrade does and does not fix by FlorentinDUBOIS · Pull Request #896 · CleverCloud/magnetar

Conversation

@FlorentinDUBOIS

@FlorentinDUBOIS FlorentinDUBOIS commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Docs-only. Addresses the one actionable gap left on issue #414, and closes nothing.

docs/consumer-stall-recovery.md is where a reader lands with #414's symptom. It named apache/pulsar#26416 as "tracked separately" and never said whether that bug was fixed, in which releases, or how well — so the reader got the whole recovery ladder and nothing about the broker underneath it.

What the document now states

apache/pulsar#26416 closed upstream on 2026-09-16 via apache/pulsar#26289 and #26422. Verified on 2026-11-02 from each tag's own commit range with gh api repos/apache/pulsar/compare/<previous-tag>...<tag>: both ship in 4.0.14, 4.2.5 and 5.0.0, with the later permit-leak fixes apache/pulsar#26576, #26606 and #26661. 4.0.13 and 4.2.4 carry neither, and #414's three occurrences all predate the fixed releases.

And — the part that matters — carrying the fix is not the same as being fixed. The 2026-10-12 and 2026-10-16 campaigns (PR #881, PR #885) measured 4.0.14 green 5/5 then 3/3, 4.2.5 green 7/10 then 1/2, and 5.0.0 green 7/10, with the latter two still reaching a residual totalAvailablePermits = -2 on images carrying both patches. The suite that would measure this stays #[ignore]d under #462, so CI does not check it on a reader's behalf. The upgrade is worth doing; it is a mitigation, not a cure.

What it deliberately does not claim

  • No client code changes, and ADR-0103's opt-in default for stall auto-recovery is untouched.
  • Every rung of the recovery ladder stands unchanged: Shared subscription wedges after consumer churn: initial ~20-message dispatch then silence, negative availablePermits, only topics-unload recovers #414's per-consumer availablePermits = -177300 signature has never been reproduced — 23 runs on 2026-09-18 returned CANNOT-REPRODUCE — so no broker release is evidence that the client-visible wedge cannot recur.
  • The paired issues that made Shared subscription wedges after consumer churn: initial ~20-message dispatch then silence, negative availablePermits, only topics-unload recovers #414 a loop are already closed: Connection event queue is unbounded: slow consumers OOM — receiver permits provide no backpressure (VecDeque<ConnectionEvent> + retained BytesMut) #413 (unbounded event queue), Failover consumer stuck at availablePermits=0 (no flow) after code=6 re-subscribe — flow_on_subscribe_ack guard ineffective; sibling Shared sub on same partitions consumes fine #307 (Failover permits), subscribe_with double-grants the initial permits: broker receives 2x receiver_queue_size while the client accounts for 1x #426 (double-granted initial permits).

prettier --check is clean on the edited file.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@FlorentinDUBOIS
docs(consumer): record what the broker upgrade does and does not fix
11ea3ab
`consumer-stall-recovery.md` named apache/pulsar#26416 as "tracked
separately" and never said whether it was fixed, where, or how well, so a
reader hitting issue #414's symptom today learns the whole recovery ladder
and nothing about the broker underneath it.

apache/pulsar#26416 closed upstream on 2026-09-16 via apache/pulsar#26289
and #26422. Verified on 2026-11-02 from each tag's own commit range with
`gh api repos/apache/pulsar/compare/<previous-tag>...<tag>`: both patches
ship in `4.0.14`, `4.2.5` and `5.0.0`, with the later permit-leak fixes
apache/pulsar#26576, #26606 and #26661. The newest published tags carrying
neither are `4.0.13` and `4.2.4`, and issue #414's three occurrences all
predate the fixed releases.

The upgrade is worth doing and is not a cure, which the document now says
with the numbers rather than in prose. The 2026-10-12 and 2026-10-16
campaigns measured `4.0.14` green 5/5 then 3/3, `4.2.5` green 7/10 then
1/2, and `5.0.0` green 7/10 — the latter two still reaching a residual
`totalAvailablePermits = -2` on images that carry both patches. Carrying
the fix is therefore not the same as being fixed, and the suite that would
measure it stays `#[ignore]`d under issue #462, so CI does not check it on
a reader's behalf.

Every rung of the ladder stands unchanged and ADR-0103's opt-in default is
untouched: issue #414's per-consumer `-177300` signature has never been
reproduced, so no broker release is evidence that the client-visible wedge
cannot recur.

Refs #414

Signed-off-by: Florentin Dubois <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-02T16:53:29.963442Z
We couldn’t complete this review. Comment @codex review to try again.
11ea3ab PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@FlorentinDUBOIS
FlorentinDUBOIS merged commit 21bdeb1 into main Nov 2, 2026
58 of 59 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@FlorentinDUBOIS FlorentinDUBOIS mentioned this pull request Nov 2, 2026
Shared subscription wedges after consumer churn: initial ~20-message dispatch then silence, negative availablePermits, only topics-unload recovers #414
Closed
@FlorentinDUBOIS
FlorentinDUBOIS deleted the fix/414-broker-version-floor branch November 3, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Connection event queue is unbounded: slow consumers OOM — receiver permits provide no backpressure (VecDeque<ConnectionEvent> + retained BytesMut)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@FlorentinDUBOIS
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.