Skip to content

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented Sep 27, 2025

Motivation

LookupService is replaced by calling reloadLookUp. However the previous instance is not closed. This causes a thread leak.

Modifications

Call the close method on the previous lookup after replacing LookupService.

Documentation

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

@lhotari lhotari added this to the 4.2.0 milestone Sep 27, 2025
@lhotari lhotari self-assigned this Sep 27, 2025
@lhotari lhotari added type/bug The PR fixed a bug or issue reported a bug area/client ready-to-test labels Sep 27, 2025
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 27, 2025
@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.25%. Comparing base (06f7142) to head (4d1d5fe).

Files with missing lines Patch % Lines
...rg/apache/pulsar/client/impl/PulsarClientImpl.java 50.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #24794       +/-   ##
=============================================
+ Coverage     36.09%   74.25%   +38.15%     
- Complexity    13111    33502    +20391     
=============================================
  Files          1856     1913       +57     
  Lines        145250   149419     +4169     
  Branches      16869    17356      +487     
=============================================
+ Hits          52430   110948    +58518     
+ Misses        85543    29605    -55938     
- Partials       7277     8866     +1589     
Flag Coverage Δ
inttests 26.23% <0.00%> (?)
systests 22.73% <0.00%> (-0.01%) ⬇️
unittests 73.78% <50.00%> (+39.21%) ⬆️

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

Files with missing lines Coverage Δ
...rg/apache/pulsar/client/impl/PulsarClientImpl.java 75.55% <50.00%> (+18.06%) ⬆️

... and 1442 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 requested a review from nodece October 31, 2025 11:57
@lhotari lhotari merged commit fbc50b0 into apache:master Oct 31, 2025
97 of 100 checks passed
lhotari added a commit that referenced this pull request Oct 31, 2025
lhotari added a commit that referenced this pull request Oct 31, 2025
lhotari added a commit that referenced this pull request Oct 31, 2025
ganesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 3, 2025
… ServiceUrlProvider (apache#24794)

(cherry picked from commit fbc50b0)
(cherry picked from commit 90ef442)
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 3, 2025
… ServiceUrlProvider (apache#24794)

(cherry picked from commit fbc50b0)
(cherry picked from commit cda1ddf)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 4, 2025
… ServiceUrlProvider (apache#24794)

(cherry picked from commit fbc50b0)
(cherry picked from commit cda1ddf)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 6, 2025
… ServiceUrlProvider (apache#24794)

(cherry picked from commit fbc50b0)
(cherry picked from commit 90ef442)
nodece pushed a commit to nodece/pulsar that referenced this pull request Nov 12, 2025
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.

3 participants