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

Avoid potential rollback segment contention with increased scalability through even distribution

    XMLWordPrintable

    Details

      Description

      • Currently when the rollback segment is allocated to the new booting transaction next slot/rollback-segment is allocated using a static rseg_slot counter.
      • Neither is this logic mutex protected nor is the counter atomic.
      • With increase scalability, it could potentially cause the same rollback segments to get allocated to multiple transactions when as per design allocation of rollback segment should be round-robin.
      • Fix proposes to use atomic for rseg_slot.

        Attachments

          Activity

            People

            Assignee:
            marko Marko Mäkelä
            Reporter:
            krunalbauskar Krunal Bauskar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: