• unknown's avatar
    Bug#28587 SELECT is blocked by INSERT waiting on read lock, even with low_priority_updates · bca7cdf5
    unknown authored
    The problem is that a SELECT on one thread is blocked by INSERT ... ON
    DUPLICATE KEY UPDATE on another thread even when low_priority_updates is
    activated.
    
    The solution is to possibly downgrade the lock type to the setting of
    low_priority_updates if the INSERT cannot be concurrent.
    
    
    sql/sql_insert.cc:
      Possibly downgrade lock type to the the setting of low_priority_updates if
      if the INSERT cannot be concurrent.
    bca7cdf5
sql_insert.cc 107 KB