Skip to content

Conversation

@zddr
Copy link
Contributor

@zddr zddr commented Nov 7, 2024

pick: #43376

mtmv deadlock when

- table1 is olapTable
- mv1 is MTMV create by table1
- mv2 is MTMV create by table1

reason:
- mtmv-task-thread-1: refresh mv1,  blocked write lock :mv1
- show partitions: hold read lock: mv1 ,block read lock: table1
- insert into table1: block write lock: table1
- mtmv-task-thread-2: refresh mv2, hold read lock: table1, blocked read
lock :mv1

Problem Summary:

show partitions: not hold readLock of olapTable and MTMV at same time
getAndCopyPartitionItems: set max wait time


Co-authored-by: zhangdong <zhangdong@selectdb.com>
@doris-robot
Copy link

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
Contributor Author

zddr commented Nov 7, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Nov 7, 2024

run buildall

@morrySnow
Copy link
Contributor

run feut

@zddr
Copy link
Contributor Author

zddr commented Nov 13, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Nov 13, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Nov 14, 2024

run feut

@yiguolei yiguolei merged commit 6fe00c7 into apache:branch-2.1 Nov 16, 2024
15 checks passed
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.

4 participants