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

MaxScale can hang if non-MariaDB data is sent to a MariaDB protocol port

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 22.08.4
    • 22.08.5
    • Core
    • None

    Description

      The following test reproduces the problem:

      #!/usr/bin/env python3                                                                                                                                                                                                                                                                    
       
      import socket
      import time
       
      s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
      s.connect(("127.0.0.1", 4006))
       
      for i in range(0, 2000):
        s.send(bytes([0xff, 0xff, 0xff, 0]))
       
      time.sleep(1000)
      

      This can potentially happen when something does a health check on the MaxScale port that doesn't use the MariaDB protocol to do it.

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              markus makela markus makela
              Votes:
              1 Vote for this issue
              Watchers:
              2 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.