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

Monitor callback to DCBs evades thread control causing crashes

    XMLWordPrintable

Details

    Description

      DCB closure is managed by the zombie process and covers all the threads that are working with the poll list. However, monitors are outside this group of threads, and acting on a DCB through the callback mechanism evades the thread control in the zombie process. This can result in a crash through a DCB being prematurely freed.

      The preferred solution is to use the existing mechanism for inserting a "fake" event into the polling so that the change of state (no longer responding) can be produced via the normal poll handling mechanism.

      Attachments

        Activity

          People

            martin brampton martin brampton (Inactive)
            martin brampton martin brampton (Inactive)
            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.