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

MASTER_POS_WAIT(log_name,log_pos,timeout,"connection_name") hangs, does not respect the timeout

    Details

      Description

      --source include/master-slave.inc
       
      --enable_connect_log
       
      --connection slave
       
      --echo # Normal anonymous connection -- works (expected -1)
      select master_pos_wait('master-bin.000001',1000000,1);
       
      --source include/stop_slave.inc
      reset slave all;
      eval change master 'my_slave' to master_port=$MASTER_MYPORT, master_host='127.0.0.1', master_user='root';
      set default_master_connection = 'my_slave';
      --source include/start_slave.inc
       
      --echo # Call without connection name -- works (expected -1)
      select master_pos_wait('master-bin.000001',1000000,1);
       
      set default_master_connection = '';
       
      --echo # Call for non-existing anonymous connection -- works (expected NULL)
      select master_pos_wait('master-bin.000001',1000000,1);
       
      --echo # Call with a valid connection name -- hangs
      select master_pos_wait('master-bin.000001',1000000,1,"my_slave");

      Reproducible on the current 10.0 tree revno 4499.
      Reproducible on 10.0.10 release.

        Attachments

          Activity

            People

            • Assignee:
              knielsen Kristian Nielsen
              Reporter:
              elenst Elena Stepanova
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: