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

Async slave constantly reconnects to master if there is another slave with the same server_id

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.1.13, 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL)
    • N/A
    • Galera, Replication
    • CentOS7
      Official Packages
    • Not for Release Notes

    Description

      I have a 13 node Galera cluster, it was at version 10.1.10. I also have 10.1.10 Async slaves. I upgraded one of the slaves to 10.1.13 and now see the following over and over in my error log:

      2016-05-06  4:31:55 139622869956352 [Note] Slave: received end packet from server, apparent master shutdown:
      2016-05-06  4:31:55 139622869956352 [Note] Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.000001' at position 742332; GTID position '2-12-1300'
      

      I then upgraded the galera cluster to 10.1.13 to see if that fixed my issues but it did not. I tried downgrading the Async slave node to 10.1.10 but experienced the same issues. I even reinstalled this node with 10.1.10 which also did not help. The remaining 10.1.10 async slaves do not seem to exhibit this behavior.

                     Slave_IO_State: Reconnecting after a failed master event read
                        Master_Host: 100.65.3.7
                        Master_User: slave_user
                        Master_Port: 3306
                      Connect_Retry: 60
                    Master_Log_File: mysql-bin.000001
                Read_Master_Log_Pos: 767464
                     Relay_Log_File: v-pdnsauth-001-net.016277
                      Relay_Log_Pos: 736
              Relay_Master_Log_File: mysql-bin.000001
                   Slave_IO_Running: Connecting
                  Slave_SQL_Running: Yes
                    Replicate_Do_DB:
                Replicate_Ignore_DB:
                 Replicate_Do_Table:
             Replicate_Ignore_Table:
            Replicate_Wild_Do_Table: powerdns.%
        Replicate_Wild_Ignore_Table:
                         Last_Errno: 0
                         Last_Error:
                       Skip_Counter: 0
                Exec_Master_Log_Pos: 767464
                    Relay_Log_Space: 1528
                    Until_Condition: None
                     Until_Log_File:
                      Until_Log_Pos: 0
                 Master_SSL_Allowed: No
                 Master_SSL_CA_File:
                 Master_SSL_CA_Path:
                    Master_SSL_Cert:
                  Master_SSL_Cipher:
                     Master_SSL_Key:
              Seconds_Behind_Master: NULL
      Master_SSL_Verify_Server_Cert: No
                      Last_IO_Errno: 0
                      Last_IO_Error:
                     Last_SQL_Errno: 0
                     Last_SQL_Error:
        Replicate_Ignore_Server_Ids:
                   Master_Server_Id: 3
                     Master_SSL_Crl:
                 Master_SSL_Crlpath:
                         Using_Gtid: Slave_Pos
                        Gtid_IO_Pos: 2-1-1345
            Replicate_Do_Domain_Ids:
        Replicate_Ignore_Domain_Ids:
                      Parallel_Mode: conservative
      

      Attachments

        Issue Links

          Activity

            People

              knielsen Kristian Nielsen
              bryan_seitz Bryan Seitz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: