Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7201

[PATCH] parallel threads resizing - potential race condition to access freed memory

    XMLWordPrintable

    Details

      Description

      pool->threads is freed before being reassigned the new pool.

      Although not really a memory barrier I though it prudent to keep the pool thread count to be the lower of the old/new thread list before the new threads is allocated.

      Patch refers

        Attachments

          Activity

            People

            Assignee:
            knielsen Kristian Nielsen
            Reporter:
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: