1. 17 Dec, 2013 1 commit
    • unknown's avatar
      MDEV-5363: Make parallel replication waits killable · 0bf95a0c
      unknown authored
      Add another test case.
      
      Fix bug found: When one thread aborts, another thread might
      wrongly advance the relay log position too far, causing the
      fauling transaction to be skipped and thus lost upon
      restarting the SQL thread after the failure.
      0bf95a0c
  2. 16 Dec, 2013 1 commit
    • unknown's avatar
      MDEV-5363: Make parallel replication waits killable · f2c4765c
      unknown authored
      Fix locking bug / race introduced by previous patch: If we
      bail out of next_event() due to kill, there was a small window
      where we could exit without rli->data_lock held, causing an
      unlock-twice bug.
      f2c4765c
  3. 13 Dec, 2013 1 commit
    • unknown's avatar
      MDEV-5363: Make parallel replication waits killable · dbfe5f47
      unknown authored
      Add a test case for killing a waiting query in parallel replication.
      
      Fix several bugs found:
      
       - We should not wakeup_subsequent_commits() in ha_rollback_trans(), since we
         do not know the right wakeup_error() to give.
      
       - When a wait_for_prior_commit() is killed, we must unregister from the
         waitee so we do not race and get an extra (non-kill) wakeup.
      
       - We need to deal with error propagation correctly in queue_for_group_commit
         when one thread is killed.
      
       - Fix one locking issue in queue_for_group_commit(), we could unlock the
         waitee lock too early and this end up processing wakeup() with insufficient
         locking.
      
       - Fix Xid_log_event::do_apply_event; if commit fails it must not update the
         in-memory @@gtid_slave_pos state.
      
       - Fix and cleanup some things in the rpl_parallel.cc error handling.
      
       - Add a missing check for killed in the slave sql driver thread, to avoid a
         race.
      dbfe5f47
  4. 06 Dec, 2013 1 commit
  5. 05 Dec, 2013 1 commit
  6. 29 Nov, 2013 2 commits
  7. 27 Nov, 2013 3 commits
  8. 26 Nov, 2013 2 commits
  9. 25 Nov, 2013 4 commits
  10. 23 Nov, 2013 3 commits
  11. 22 Nov, 2013 8 commits
  12. 21 Nov, 2013 10 commits
  13. 18 Nov, 2013 2 commits
    • unknown's avatar
      MDEV-5306: Missing locking around rpl_global_gtid_binlog_state · 170e9e59
      unknown authored
      There were some places where insufficient locking between
      parallel threads could cause invalid memory accesses and
      possibly other grief.
      
      This patch adds the missing locking, and moves the locking
      into the struct rpl_binlog_state methods to make it easier
      to see that proper locking is in place everywhere.
      170e9e59
    • Sergey Vojtovich's avatar
      MDEV-5182 - build of 10.0.4/r3863 fails @ 'cmake' with · 160236f8
      Sergey Vojtovich authored
                  -DINSTALL_SYSCONFDIR/-DDEFAULT_SYSCONFDIR specified
      
      The reason for a bug is in support-files/CMakeLists.txt that tries to
      install files in INSTALL_SYSCONF2DIR, without checking whether this
      variable is actually defined. 
      
      Normally INSTALL_SYSCONF2DIR is always defined if INSTALL_SYSCONFDIR is
      defined, and support-files/CMakeLists.txt assumes that. But when one
      specifies INSTALL_SYSCONFDIR manually on the command line, this
      assumption might be broken.
      160236f8
  14. 20 Nov, 2013 1 commit