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

[FLINK-36076] Set isSchemaChangeApplying as isSchemaChangeApplying for thread safe. #3556

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

loserwang1024
Copy link
Contributor

As discussed in https://issues.apache.org/jira/browse/FLINK-36076 , Current, we apply schema change asynchronous.
SchemaChangeThreadPool will set isSchemaChangeApplying as true when apply schema change event. And the main thread which handle operater event will check isSchemaChangeApplying.

For thread safe, this should be volatile.

@loserwang1024
Copy link
Contributor Author

@leonardBang
Copy link
Contributor

The PR title and commit content confuse me a little, @loserwang1024 could you check your PR ?

Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks for the update, +1

@leonardBang leonardBang merged commit d3473de into apache:master Aug 19, 2024
3 checks passed
yuxiqian pushed a commit to yuxiqian/flink-cdc that referenced this pull request Aug 22, 2024
…ile for thread safe consideration

This closes apache#3556.

(cherry picked from commit d3473de)
leonardBang pushed a commit to yuxiqian/flink-cdc that referenced this pull request Aug 27, 2024
…ile for thread safe consideration

This closes apache#3556.

(cherry picked from commit d3473de)
leonardBang pushed a commit that referenced this pull request Aug 27, 2024
…ile for thread safe consideration

This closes #3556.

(cherry picked from commit d3473de)
qiaozongmi pushed a commit to qiaozongmi/flink-cdc that referenced this pull request Sep 23, 2024
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
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.

2 participants