Skip to content

fix: acquire cached unmount race - #19873

Merged
clintropolis merged 1 commit into
apache:masterfrom
clintropolis:fix-racy-acquire-cached
Aug 4, 2026
Merged

fix: acquire cached unmount race#19873
clintropolis merged 1 commit into
apache:masterfrom
clintropolis:fix-racy-acquire-cached

Conversation

@clintropolis

Copy link
Copy Markdown
Member

Description

Fixes a race that can occur when acquiring a cached segment if it is unmounted before the reference provider can be fetched. The fix is to return an empty result instead of null (which can cause a npe).

@FrankChen021 FrankChen021 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have reviewed the code for correctness, edge cases, concurrency, and integration risks; no issues found.

Reviewed 2 of 2 changed files.


This is an automated review by Codex GPT-5.6-Sol

@clintropolis
clintropolis merged commit 80d6991 into apache:master Aug 4, 2026
28 checks passed
@clintropolis
clintropolis deleted the fix-racy-acquire-cached branch August 4, 2026 20:33
@github-actions github-actions Bot added this to the 39.0.0 milestone Aug 4, 2026
@kfaraz kfaraz modified the milestones: 39.0.0, 38.0.0 Aug 5, 2026
@kfaraz kfaraz added the Backport label Aug 5, 2026
kfaraz pushed a commit that referenced this pull request Aug 5, 2026
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