1. 09 Sep, 2016 2 commits
  2. 08 Sep, 2016 1 commit
    • Kristian Nielsen's avatar
      Parallel replication async deadlock kill · 7e0c9de8
      Kristian Nielsen authored
      When a deadlock kill is detected inside the storage engine, the kill
      is not done immediately, to avoid calling back into the storage engine
      kill_query method with various lock subsystem mutexes held. Instead the
      kill is queued and done later by a slave background thread.
      
      This patch in preparation for fixing TokuDB optimistic parallel
      replication, as well as for removing locking hacks in InnoDB/XtraDB in
      10.2.
      
      Signed-off-by: Kristian Nielsen <knielsen at knielsen-hq.org>
      7e0c9de8
  3. 06 Sep, 2016 1 commit
  4. 05 Sep, 2016 2 commits
  5. 02 Sep, 2016 2 commits
  6. 31 Aug, 2016 2 commits
  7. 30 Aug, 2016 1 commit
  8. 29 Aug, 2016 2 commits
  9. 27 Aug, 2016 1 commit
  10. 26 Aug, 2016 3 commits
  11. 25 Aug, 2016 5 commits
  12. 24 Aug, 2016 6 commits
  13. 23 Aug, 2016 4 commits
  14. 22 Aug, 2016 6 commits
  15. 21 Aug, 2016 2 commits
    • Nirbhay Choubey's avatar
      MDEV-9423: cannot add new node to the cluser: Binlog.. · cced23cf
      Nirbhay Choubey authored
      .. file '/var/log/mysql/mariadb-bin.000001' not found in binlog
      index, needed for recovery. Aborting.
      
      In Galera cluster, while preparing for rsync/xtrabackup based
      SST, the donor node takes an FTWRL followed by (REFRESH_ENGINE_LOG
      in rsync based state transfer and) REFRESH_BINARY_LOG. The latter
      rotates the binary log and logs Binlog_checkpoint_log_event
      corresponding to the penultimate binary log file into the new file.
      The checkpoint event for the current file is later logged
      synchronously by binlog_background_thread.
      
      Now, since in rsync/xtrabackup based snapshot state transfer methods,
      only the last binary log file is transferred to the joiner node; the
      file could get transferred even before the checkpoint event for the
      same file gets written to it. As a result, the joiner node would fail
      to start complaining about the missing binlog file needed for recovery.
      
      In order to fix this, a mechanism has been put in place to make
      REFRESH_BINARY_LOG operation wait for Binlog_checkpoint_log_event
      to be logged for the current binary log file if the node is part of
      a Galera cluster. As further safety, during rsync based state transfer
      the donor node now acquires and owns LOCK_log for the duration of file
      transfer during SST.
      cced23cf
    • sjaakola's avatar
      Refs: MW-279 · 415823a4
      sjaakola authored
      - fixes in innodb to skip wsrep processing (like kill victim) when running in native mysql mode
      - similar fixes in mysql server side
      - forcing tc_log_dummy in native mysql mode when no binlog used. wsrep hton messes up handler counter
        and used to lead in using tc_log_mmap instead. Bad news is that tc_log_mmap does not seem to work at all
      415823a4