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

os_event_wait_time_low(): wait time calculation is messed up

    XMLWordPrintable

    Details

      Description

      http://bugs.mysql.com/bug.php?id=72520

      In os_event_wait_time_low() the logic to calculate abs_time
      for wait is broken. The bug has been present at least since
      5.5. It gets acutely sensitized when sub-second wait intervals
      are passed. It is particularly relevant to us because the
      page_cleaner thread will mostly request sub-second wait
      intervals. This can potentially lead to a near tight loop
      behaviour of page_cleaner with much less sleep then what we'd
      actually expect.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              jplindst Jan Lindström
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: