Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-3073

LP #1253973: LRU mutex mishandling in innodb_buffer_pool_evict_update()

    XMLWordPrintable

    Details

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 23-04-2014 15:39:17

      Credit to Sergei Golubchik, https://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/3967

      innodb_buffer_pool_evict_update()
      {
      ...
      mutex_enter(&buf_pool->LRU_list_mutex);
      ...
      buf_LRU_free_block(&block->page,
      FALSE, FALSE);
      ...
      mutex_exit(&buf_pool->LRU_list_mutex);
      ...
      }

      The last buf_LRU_free_block() arg is FALSE, thus the function may attempt to re-lock already-taken LRU list mutex.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: