Skip to content

[fix][offload] Fix the problem that ManagedLedger does not release locks in some cases when offload - #18221

Merged
Technoboy- merged 2 commits into
apache:masterfrom
tjiuming:fix/offload_time_trigger
Oct 28, 2022
Merged

Technoboy- merged 2 commits into
apache:masterfrom
tjiuming:fix/offload_time_trigger

Conversation

@tjiuming

@tjiuming tjiuming commented Oct 27, 2022 •

Copy link
Copy Markdown
Contributor

Motivation

In #17398, we've introduced managedLedgerOffloadThresholdInSenconds to pulsar.
But there is a bug, see #17398 (comment)

Documentation

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

Matching PR in forked repository

PR in forked repository: tjiuming#9

@tjiuming tjiuming changed the title [fix][offload] Fix the problem that ManagedLedger does not release locks in some cases [fix][offload] Fix the problem that ManagedLedger does not release locks in some cases when offload Oct 27, 2022
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Oct 27, 2022
@codecov-commenter

codecov-commenter commented Oct 27, 2022 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 38.80%. Comparing base (b061c6a) to head (8b08d1c).
Report is 2259 commits behind head on master.

Files with missing lines Patch % Lines
...che/bookkeeper/mledger/impl/ManagedLedgerImpl.java 0.00% 6 Missing and 3 partials ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #18221      +/-   ##
============================================
- Coverage     38.82%   38.80%   -0.03%     
+ Complexity     8273     8270       -3     
============================================
  Files           683      683              
  Lines         67268    67268              
  Branches       7214     7214              
============================================
- Hits          26118    26103      -15     
- Misses        38165    38171       +6     
- Partials       2985     2994       +9     
Flag Coverage Δ
unittests 38.80% <0.00%> (-0.03%) ⬇️

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

Files with missing lines Coverage Δ
...che/bookkeeper/mledger/impl/ManagedLedgerImpl.java 53.93% <0.00%> (-0.05%) ⬇️

... and 24 files with indirect coverage changes

@Technoboy-
Technoboy- merged commit 3f5acfe into apache:master Oct 28, 2022
@tjiuming
tjiuming deleted the fix/offload_time_trigger branch November 1, 2022 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants