Skip to content

Remove redundant closeOperation for abandoned executions#54924

Draft
terana wants to merge 1 commit intoapache:masterfrom
terana:remove-redundant-closeop
Draft

Remove redundant closeOperation for abandoned executions#54924
terana wants to merge 1 commit intoapache:masterfrom
terana:remove-redundant-closeop

Conversation

@terana
Copy link
Contributor

@terana terana commented Mar 20, 2026

What changes were proposed in this pull request?

Remove redundant closeOperation call because it is being called unconditionally right after exiting from if-clause (line 167 of the original file).
This redundant call was initially added in #52232
Ordering with executions.remove doesn't matter for abandoned operations,
since a concurrent operation retry will find the thombtone and fail anyway.

Why are the changes needed?

Leave code in cleaner state.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

No tests added, relying on existing ones.

Was this patch authored or co-authored using generative AI tooling?

No.

Ordering with executions.remove doesn't matter for abandoned operations,
since a concurrent operation retry will find the thombtone and fail
anyway.
@dongjoon-hyun dongjoon-hyun marked this pull request as draft March 20, 2026 18:08
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.

1 participant