Skip to content

[fix](mtmv)fix mtmv dead lock (#37009)#37133

Merged
morningman merged 1 commit intoapache:branch-2.1from
zddr:fix_mv_deadlock_2.1
Jul 2, 2024
Merged

[fix](mtmv)fix mtmv dead lock (#37009)#37133
morningman merged 1 commit intoapache:branch-2.1from
zddr:fix_mv_deadlock_2.1

Conversation

@zddr
Copy link
Copy Markdown
Contributor

@zddr zddr commented Jul 2, 2024

pick #37009

Cause of occurrence:
- dropBaseTable: Holding db's writeLock ,notify mtmv alter status to
schema_change,need mv's writeLock
- task(insert overwrite):Holding mv's readLock,when generage plan need
db's readLock

fix:
- mtmv alter status to schema_change need mv's writeMvLock instead of
mv's writeLock
@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.

@zddr
Copy link
Copy Markdown
Contributor Author

zddr commented Jul 2, 2024

run buildall

@morningman morningman merged commit 1777646 into apache:branch-2.1 Jul 2, 2024
@yiguolei yiguolei mentioned this pull request Jul 19, 2024
1 task
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