Skip to content

Removed openFile wait loop - #6618

Merged
keith-turner merged 1 commit into
apache:2.1from
keith-turner:remove-busy-loop
Oct 28, 2026
Merged

keith-turner merged 1 commit into
apache:2.1from
keith-turner:remove-busy-loop

Conversation

@keith-turner

Copy link
Copy Markdown
Contributor

Same change as in #6493

@keith-turner keith-turner added this to the 2.1.7 milestone Oct 28, 2026

@utafrali utafrali left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The removal of the busy-wait spin loop is correct and strictly an improvement. future.get() already blocks until the future completes and throws InterruptedException on interruption, making the 10ms polling loop pure overhead with no behavioral difference. The existing catch blocks for InterruptedException, CancellationException, and ExecutionException cover all cases the old loop addressed.

@keith-turner
keith-turner merged commit 4f7bde1 into apache:2.1 Oct 28, 2026
9 checks passed
@keith-turner
keith-turner deleted the remove-busy-loop branch October 28, 2026 18:16
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.

5 participants