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

[fix](Nereids) remove db readlock before get table from db (#38660) #38730

Merged
merged 1 commit into from
Aug 1, 2024

Commits on Aug 1, 2024

  1. [fix](Nereids) remove db readlock before get table from db (apache#38660

    )
    
    pick from master apache#38660
    
    insert will hold readlock of target table before planning. if nereids
    need db readlock after it, will lead to dead lock. because other
    statement need to hold db lock before get table lock
    
    for example:
    
    insert: target table read lock -> database read lock
    drop table: database write lock -> target table write lock
    morrySnow committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    92f2201 View commit details
    Browse the repository at this point in the history