Skip to content

Conversation

@BewareMyPower
Copy link
Contributor

@BewareMyPower BewareMyPower commented Nov 3, 2025

Motivation

See #24920 (comment)

Modifications

  • Add testOverrideInactiveConsumer to simulate the race condition by injecting a delay on channelInactive via the broker interceptor.
  • Add a retry logic to addConsumer to wait for channelInactive is done. When the retry count reaches the limit, fail the method

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@BewareMyPower BewareMyPower added this to the 4.2.0 milestone Nov 3, 2025
@BewareMyPower BewareMyPower self-assigned this Nov 3, 2025
@BewareMyPower BewareMyPower added type/bug The PR fixed a bug or issue reported a bug release/4.1.2 release/4.0.8 labels Nov 3, 2025
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Nov 3, 2025
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@lhotari
Copy link
Member

lhotari commented Nov 3, 2025

/pulsarbot rerun-failure-checks

@lhotari
Copy link
Member

lhotari commented Nov 3, 2025

/pulsarbot rerun-failure-checks

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.34%. Comparing base (402ed5b) to head (37e4815).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #24934      +/-   ##
============================================
+ Coverage     74.28%   74.34%   +0.06%     
- Complexity    33886    33921      +35     
============================================
  Files          1913     1913              
  Lines        149425   149446      +21     
  Branches      17358    17362       +4     
============================================
+ Hits         111001   111111     +110     
+ Misses        29572    29501      -71     
+ Partials       8852     8834      -18     
Flag Coverage Δ
inttests 26.32% <14.28%> (+0.08%) ⬆️
systests 22.67% <7.14%> (-0.10%) ⬇️
unittests 73.88% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ervice/AbstractDispatcherSingleActiveConsumer.java 91.30% <100.00%> (+0.90%) ⬆️

... and 84 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lhotari lhotari merged commit 1dfe07e into apache:master Nov 3, 2025
116 of 122 checks passed
@BewareMyPower BewareMyPower deleted the bewaremypower/add-consumer-overflow branch November 4, 2025 03:29
lhotari pushed a commit that referenced this pull request Nov 4, 2025
lhotari pushed a commit that referenced this pull request Nov 4, 2025
lhotari pushed a commit that referenced this pull request Nov 4, 2025
ganesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 6, 2025
…g a connection (apache#24934)

(cherry picked from commit 1dfe07e)
(cherry picked from commit eeb51c4)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 6, 2025
…g a connection (apache#24934)

(cherry picked from commit 1dfe07e)
(cherry picked from commit eeb51c4)
nodece pushed a commit to nodece/pulsar that referenced this pull request Nov 12, 2025
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
…g a connection (apache#24934)

(cherry picked from commit 1dfe07e)
(cherry picked from commit e98e844)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 13, 2025
…g a connection (apache#24934)

(cherry picked from commit 1dfe07e)
(cherry picked from commit e98e844)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants