Skip to content

Fixed some minor bugs in FileOperations and CachableBlockFile - #6493

Merged
dlmarion merged 1 commit into
apache:2.1from
dlmarion:fix-file-ops-bugs
Jul 29, 2026
Merged

Fixed some minor bugs in FileOperations and CachableBlockFile#6493
dlmarion merged 1 commit into
apache:2.1from
dlmarion:fix-file-ops-bugs

Conversation

@dlmarion

Copy link
Copy Markdown
Contributor

Removed the wait loop in FileOperations.openFile as the call to future.get performs a non-blocking wait.

Added checks in CachableBuilder to help users use the object correctly. Calls to input() and fsPath() will open the same file twice and create two InputStreams.

Removed the wait loop in FileOperations.openFile as the call
to future.get performs a non-blocking wait.

Added checks in CachableBuilder to help users use the object correctly.
Calls to input() and fsPath() will open the same file twice and create
two InputStreams.
@dlmarion dlmarion added this to the 2.1.7 milestone Jul 28, 2026
@dlmarion dlmarion self-assigned this Jul 28, 2026

@ddanielr ddanielr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The conditional checking looks correct.

@dlmarion
dlmarion merged commit 3c12ac6 into apache:2.1 Jul 29, 2026
9 checks passed
@dlmarion
dlmarion deleted the fix-file-ops-bugs branch July 29, 2026 12:31
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.

2 participants