1. 29 Jun, 2007 1 commit
    • unknown's avatar
      Fix for bug #19328: Slave timeout with COM_REGISTER_SLAVE error causing stop · 8aa59891
      unknown authored
      Problem: "Under high load, the slave registering to the master can timeout 
      during the COM_REGISTER_SLAVE execution. This causes an error, which 
      prevents the slave from connecting at all."
      
      Fix: Do not abort immediately, but retry registering on master.
      
      
      sql/slave.cc:
        Fix for bug #19328: Slave timeout with COM_REGISTER_SLAVE error causing stop
          - retry connecting after a failed slave registration on master.
            Reconnecting has been factored out (see try_to_reconnect() and 
            check_io_slave_killed()) to get rid of similar code used during 
            registering on master/dump requesting/event reading.
            All messages have been moved to reconnect_messages[] array 
            for easy usage and maintenance.
          - now one can force slave to reconnect using 
            ./mtr --mysqld=--loose-debug=d,FORCE_SLAVE_TO_RECONNECT_{REG, DUMP, EVENT}
      8aa59891
  2. 27 Jun, 2007 17 commits
  3. 26 Jun, 2007 11 commits
  4. 25 Jun, 2007 11 commits
    • unknown's avatar
      Bug#22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · fa6ae59d
      unknown authored
      end_log_pos data within a transaction are relative to
      the start of the transaction rather than absolute.
      we fix those groups in situ before writing the log out.
      
      additional comments and handling for groups with very
      large single events, as suggested by Guilhem.
      
      
      fa6ae59d
    • unknown's avatar
      Merge gshchepa@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · a0fa27cf
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      a0fa27cf
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1 · eb3c6257
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      eb3c6257
    • unknown's avatar
      Raise version number after cloning 5.1.20-beta · 36151ca3
      unknown authored
      36151ca3
    • unknown's avatar
      Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · afa96081
      unknown authored
      fix binlog-writing so that end_log_pos is given correctly even
      within transactions for both SHOW BINLOG and SHOW MASTER STATUS,
      that is as absolute values (from log start) rather than relative
      values (from transaction's start).
      ---
      Merge sin.intern.azundris.com:/home/tnurnberg/22540/50-22540
      into  sin.intern.azundris.com:/home/tnurnberg/22540/51-22540
      ---
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
      into  sin.intern.azundris.com:/home/tnurnberg/22540/51-22540
      
      
      mysql-test/extra/binlog_tests/binlog.test:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
        show that SHOW MASTER STATUS returns correct values while in transactions
        (so that mysqldump --master-data will work correctly).
        also remove bdb dependency.
        
        manual merge
      mysql-test/r/binlog_stm_binlog.result:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
        show that SHOW MASTER STATUS returns correct values while in transactions
        (so that mysqldump --master-data will work correctly).
        also remove bdb dependency.
        
        manual merge
      sql/log.cc:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        fix output for SHOW BINLOG EVENTS so that end_log_pos is given correctly
        even within transactions. do this by rewriting the commit-buffer in place.
        
        manual merge
      afa96081
    • unknown's avatar
      Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB · 279529c1
      unknown authored
      fix binlog-writing so that end_log_pos is given correctly even
      within transactions for both SHOW BINLOG and SHOW MASTER STATUS,
      that is as absolute values (from log start) rather than relative
      values (from transaction's start).
      ---
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
      into  sin.intern.azundris.com:/home/tnurnberg/22540/50-22540
      
      
      mysql-test/r/binlog.result:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
        show that SHOW MASTER STATUS returns correct values while in transactions
        (so that mysqldump --master-data will work correctly).
        also remove bdb dependency.
        ---
        manual merge
      mysql-test/t/binlog.test:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        show that end_log_pos in SHOW BINLOG EVENTS is correct even in transactions.
        show that SHOW MASTER STATUS returns correct values while in transactions
        (so that mysqldump --master-data will work correctly).
        also remove bdb dependency.
      sql/log.cc:
        Bug #22540: Incorrect value in column End_log_pos of SHOW BINLOG EVENTS using InnoDB
        
        fix output for SHOW BINLOG EVENTS so that end_log_pos is given correctly
        even within transactions. do this by rewriting the commit-buffer in place.
      279529c1
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · 7a310d32
      unknown authored
      into  mysql.com:/home/hf/work/27084/my51-27084
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_cmpfunc.h:
        Auto merged
      sql/sql_partition.h:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/partition.result:
        merging
      mysql-test/t/partition.test:
        merging
      sql/sql_partition.cc:
        SCCS merged
      7a310d32
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 475a08a2
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      475a08a2
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/4.1-opt · 637d9f1c
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      637d9f1c
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · fb12c686
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      fb12c686
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1 · 66d2d370
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      66d2d370