Skip to content

[ISSUE #10071] Fix PopLiteLongPollingService#cleanUnusedResource#10072

Merged
RongtongJin merged 1 commit intoapache:developfrom
f1amingo:fix/pop-lite-long-polling-clean-bug
Feb 5, 2026
Merged

[ISSUE #10071] Fix PopLiteLongPollingService#cleanUnusedResource#10072
RongtongJin merged 1 commit intoapache:developfrom
f1amingo:fix/pop-lite-long-polling-clean-bug

Conversation

@f1amingo
Copy link
Copy Markdown
Contributor

@f1amingo f1amingo commented Feb 5, 2026

Which Issue(s) This PR Fixes

Fixes #10071

Brief Description

Problem: The cleanUnusedResource method was cleaning up client long polling requests without returning results to clients, causing client errors.

Solution:

  1. Simplified the cleanUnusedResource method to only remove entries with empty request queues
  2. Changed cleanup interval from 5 minutes to 3 minutes

How Did You Test This Change?

Problem: The cleanUnusedResource method was cleaning up client long polling requests without returning results to clients, causing client errors.

Solution:
1. Simplified the cleanUnusedResource method to only remove entries with empty request queues
2. Changed cleanup interval from 5 minutes to 3 minutes

Change-Id: If7052ba0d088e68cf654e6b7efafe09f5fa877be
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.82%. Comparing base (7fe0349) to head (6a09311).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
.../broker/longpolling/PopLiteLongPollingService.java 0.00% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop   #10072      +/-   ##
=============================================
- Coverage      48.90%   48.82%   -0.08%     
+ Complexity     13362    13334      -28     
=============================================
  Files           1373     1373              
  Lines          99878    99875       -3     
  Branches       12910    12909       -1     
=============================================
- Hits           48841    48764      -77     
- Misses         45119    45184      +65     
- Partials        5918     5927       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@RongtongJin RongtongJin merged commit d254f79 into apache:develop Feb 5, 2026
13 of 15 checks passed
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.

[Bug] Fix PopLiteLongPollingService#cleanUnusedResource

3 participants