Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize closeState flag #872

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

jxnu-liguobin
Copy link
Member

@jxnu-liguobin jxnu-liguobin commented Dec 24, 2023

We modify the order to avoid not setting the flag when onComplete throws an exception.

@jxnu-liguobin jxnu-liguobin requested a review from He-Pin December 24, 2023 07:56
Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

I'm going to block any code change PRs that don't have descriptions. For release note and other reasons, I think any PR that changes the runtime code should have some description - we should not force users to read the code. It is not obvious to an inexperienced developer why this change is needed.

@He-Pin
Copy link
Member

He-Pin commented Dec 24, 2023

@pjfanning have updated

He-Pin

This comment was marked as duplicate.

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

lgtm - thanks for updating the description

@jxnu-liguobin jxnu-liguobin merged commit 417196f into apache:main Dec 25, 2023
18 checks passed
@He-Pin
Copy link
Member

He-Pin commented Jan 4, 2024

@jxnu-liguobin @pjfanning Should this be backport to 1.0.x too?

@He-Pin He-Pin added this to the 1.1.0 milestone Jan 4, 2024
@pjfanning
Copy link
Contributor

This is not a bug fix so -1 from me for a backport.

@jxnu-liguobin
Copy link
Member Author

@jxnu-liguobin @pjfanning Should this be backport to 1.0.x too?

no need

@jxnu-liguobin jxnu-liguobin deleted the opt-stateful-close branch March 1, 2024 03:10
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.

3 participants