1. 08 Jan, 2014 1 commit
    • unknown's avatar
      MDEV-5509: Seconds_behind_master incorrect in parallel replication · 8cc6e90d
      unknown authored
      The problem was a race between the SQL driver thread and the worker threads.
      The SQL driver thread would set rli->last_master_timestamp to zero to
      mark that it has caught up with the master, while the worker threads would
      set it to the timestamp of the executed event. This can happen out-of-order
      in parallel replication, causing the "caught up" status to be overwritten
      and Seconds_Behind_Master to wrongly grow when the slave is idle.
      
      To fix, introduce a separate flag rli->sql_thread_caught_up to mark that the
      SQL driver thread is caught up. This avoids issues with worker threads
      overwriting the SQL driver thread status. In parallel replication, we then
      make SHOW SLAVE STATUS check in addition that all worker threads are idle
      before showing Seconds_Behind_Master as 0 due to slave idle.
      8cc6e90d
  2. 05 Feb, 2014 2 commits
  3. 03 Feb, 2014 1 commit
  4. 31 Jan, 2014 4 commits
  5. 28 Jan, 2014 9 commits
  6. 27 Jan, 2014 5 commits
  7. 26 Jan, 2014 9 commits
  8. 25 Jan, 2014 1 commit
    • Michael Widenius's avatar
      Fixed MDEV-4970: Wrong result with Aria table populated with disabled keys · 3d67c68a
      Michael Widenius authored
      Problem was that ALTER TABLE DISABLE KEYS incremented create_trid for the table,
      which made the new index entries invisible until the global trid catched up.
      
      Fixed by only updating create_trid if we are rewriting all rows and indexes.
      
      
      mysql-test/suite/maria/alter.result:
        Added test case
      mysql-test/suite/maria/alter.test:
        Added test case
      storage/maria/ha_maria.cc:
        Only updating create_trid if we are doing a full repair (and thus rewriting all rows and indexes).
      storage/maria/trnman.c:
        More DBUG_PRINT
      3d67c68a
  9. 27 Jan, 2014 2 commits
  10. 26 Jan, 2014 1 commit
  11. 24 Jan, 2014 5 commits