Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1805

MaxScale may hang with multiple concurrent maxadmin calls.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • None
    • 2.2.5
    • Core
    • None

    Description

      Some maxadmin calls, e.g. show dcbs, requires communication between the worker thread handling the maxadmin command and all other worker threads.

      This is handled so that DCB information about the current worker thread (the one handling the maxadmin command) are collected directly and the DCB information about all other threads by sending a message via the epoll-mechanism to the other worker threads.

      However, if multiple maxadmin commands are handled concurrently by different worker threads, this will lead to a deadlock as all but one worker handling a maxadmin command will sit in the maxadmin spinlock, thus not handling any messages sent to that worker.

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            johan.wikman Johan Wikman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.