Skip to content

[fix](schema-change) Fix potential data race when a schema change jobs is set to cancelled but the table state is still SCHEMA_CHANGE (#39164) - #39327

Merged
yiguolei merged 3 commits into
apache:branch-2.1from
Hastyshell:fix-sc-cancel-potential-datarace-2.1
Aug 15, 2024
Merged

[fix](schema-change) Fix potential data race when a schema change jobs is set to cancelled but the table state is still SCHEMA_CHANGE (#39164)#39327
yiguolei merged 3 commits into
apache:branch-2.1from
Hastyshell:fix-sc-cancel-potential-datarace-2.1

Conversation

@Hastyshell

Copy link
Copy Markdown
Collaborator

Proposed changes

Set job cancel state after table state changed to normal.

…s is set to cancelled but the table state is still SCHEMA_CHANGE (apache#39164)
Set job cancel state after table state changed to normal.
@doris-robot

Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@yiguolei
yiguolei merged commit 642beb0 into apache:branch-2.1Aug 15, 2024
@yiguoleiyiguolei mentioned this pull request Sep 5, 2024
3 tasks
dataroaring pushed a commit that referenced this pull request Oct 29, 2024
…is changed (#42670)
Similar to #39327
Note that schema change job state and table state should be atomic and
persistent, but neither is ensured by current implementation. We should
optimize this point in the future.
github-actionsBot pushed a commit that referenced this pull request Oct 29, 2024
…is changed (#42670)
Similar to #39327
Note that schema change job state and table state should be atomic and
persistent, but neither is ensured by current implementation. We should
optimize this point in the future.
Hastyshell added a commit to Hastyshell/doris that referenced this pull request Nov 4, 2024
…is changed (apache#42670)
Similar to apache#39327
Note that schema change job state and table state should be atomic and
persistent, but neither is ensured by current implementation. We should
optimize this point in the future.
Hastyshell added a commit to Hastyshell/doris that referenced this pull request Nov 4, 2024
…is changed (apache#42670)
Similar to apache#39327
Note that schema change job state and table state should be atomic and
persistent, but neither is ensured by current implementation. We should
optimize this point in the future.
dataroaring pushed a commit that referenced this pull request Nov 7, 2024
…table state is changed (#42879)
PR Body: ## Proposed changes
Similar to #39327
Note that schema change job state and table state should be atomic and
persistent, but neither is ensured by current implementation. We should
optimize this point in the future.
Cherry-picked from #42670
Co-authored-by: Siyang Tang <82279870+TangSiyang2001@users.noreply.github.com>
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this pull request Apr 24, 2026
…is changed (apache#42670)
Similar to apache#39327
Note that schema change job state and table state should be atomic and
persistent, but neither is ensured by current implementation. We should
optimize this point in the future.
Sign up for freeto 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

@Hastyshell@doris-robot@yiguolei