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

Fake hangups from backend DCBs cause worker messages to be emitted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.21, 2.3.8, 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: mariadbbackend
    • Labels:
      None

      Description

      When a MariaDBBackend DCB is being closed, it emits a fake hangup event on the client DCB. The current code only has a fast path for events placed on the current DCB which causes a queued message to be posted on the worker itself every time a client connection is closed. In extreme cases this can cause lost messages if a large amount of backend connections close at the same time.

        Attachments

          Activity

            People

            Assignee:
            markus makela markus makela
            Reporter:
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: