[fix][ml]Revert a behavior change of releasing idle offloaded ledger handle: only release idle BlobStoreBackedReadHandle - #24384
Merged
lhotari merged 1 commit intoJun 9, 2025
Conversation
lhotari
approved these changes
Jun 5, 2025
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #24384 +/- ##
============================================
+ Coverage 73.57% 74.25% +0.67%
+ Complexity 32624 32301 -323
============================================
Files 1877 1867 -10
Lines 139502 145268 +5766
Branches 15299 16610 +1311
============================================
+ Hits 102638 107867 +5229
+ Misses 28908 28863 -45
- Partials 7956 8538 +582
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Member
the title "[fix][ml]Revert a behavior change of releasing idle offloaded ledger handle: only release idle BlobStoreBackedReadHandle " is slightly misleading since even before it would only release idle BlobStoreBackedReadHandleImpls since that's the only implementation of OffloadedLedgerHandle. |
…dle: only release idle BlobStoreBackedReadHandle
poorbarcode
force-pushed
the
fix/offloaded_ledger_lastAccessTimestamp
branch
from
June 6, 2025 07:51
589edb7 to
0a4eca2
Compare
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 12, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 9adbbbf)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 12, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 1294a56)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 12, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 9adbbbf)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 13, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 9adbbbf)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 13, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 9adbbbf)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 13, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 1294a56)
manas-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 14, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 1294a56) (cherry picked from commit 36b8450)
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 16, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 9adbbbf)
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 16, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa) (cherry picked from commit 1294a56) (cherry picked from commit 36b8450)
nodece
pushed a commit
to nodece/pulsar
that referenced
this pull request
Jun 18, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384) (cherry picked from commit e0d7faa)
KannarFr
pushed a commit
to CleverCloud/pulsar
that referenced
this pull request
Sep 22, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384)
walkinggo
pushed a commit
to walkinggo/pulsar
that referenced
this pull request
Oct 8, 2025
…handle: only release idle BlobStoreBackedReadHandle (apache#24384)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
#24381 changed the behavior below:
BlobStoreBackedReadHandleBlobStoreBackedReadHandle, because the methodlastAccessTimestamp()always returns-1if its type is notBlobStoreBackedReadHandleModifications
lastAccessTimestampfirst, and modifypendingReadingsecond, to avoid getting a newpendingReadingand an olderlastAccessTimestamp, which leads to an incorrect ledger handle invalidation.Potential issue
The following issue still exists. I will push a new PR to fix it in the future.
ledgerHandle.readAsyncDocumentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: x