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

Return the full 64 bits of thread ID in handshake packet

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • N/A
    • Server
    • None

    Description

      The Initial handshake packet only sends the lowest 32 bits of the thread ID. Taking 4 of the 6 reserved bytes into use for the rest of the thread ID will allow the full thread ID to be sent in the handshake. This removes the need to do a SELECT CONNECTION_ID() to know the real connection ID when the lower 32 bits roll over.

      Attachments

        Issue Links

          Activity

            Since it is only a technicality in the server, and there is no real need to support more that 4 billions concurrent connections at the same time, I'd rather Fix that on the server, than to change protocol to workaround the problem.

            MySQL fixes it in 5.7.5 with https://dev.mysql.com/worklog/task/?id=7293

            wlad Vladislav Vaintroub added a comment - Since it is only a technicality in the server, and there is no real need to support more that 4 billions concurrent connections at the same time, I'd rather Fix that on the server, than to change protocol to workaround the problem. MySQL fixes it in 5.7.5 with https://dev.mysql.com/worklog/task/?id=7293

            closed in favor of MDEV-15089

            wlad Vladislav Vaintroub added a comment - closed in favor of MDEV-15089

            People

              Unassigned Unassigned
              markus makela markus makela
              Votes:
              0 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.