1. 13 Nov, 2009 2 commits
    • Luis Soares's avatar
      BUG#44188: STOP SLAVE should flush info files and relay logs. · 4eef0ef4
      Luis Soares authored
            
      Replication info files are not being flushed and synced when the
      command 'STOP SLAVE' is issued. This means that one cannot just
      rely on existing values on those files when the slave has been
      stopped. Having consistent, uncorrupted and up-to-date info files
      when stopping the slave would be most useful, for instance, for
      snapshotting purposes (a procedure that is often used for
      restoring slaves).
            
      This patch addresses this by instrumenting the
      terminate_slave_threads function so that it also flushes and
      syncs the *info files as well as the relay log whenever it gets
      called, ie, on 'STOP SLAVE'.  Although this imposes a performance
      trade-off (specifically when stopping the slave), it should have
      no negative influence on overall replication performance (impact
      is only noticeable on 'STOP SLAVE').
      4eef0ef4
    • Alfranio Correia's avatar
      Post-fix for WL#2687 WL#5072 BUG#40278 BUG#47175 · a6ca6b99
      Alfranio Correia authored
      Create a set of test cases to see if some DDL statements implicitly commit
      a transaction on the NDB and are written directly to the binary log without
      going through either the Statement- or Transactional-Cache.
      a6ca6b99
  2. 11 Nov, 2009 2 commits
  3. 10 Nov, 2009 1 commit
  4. 06 Nov, 2009 1 commit
  5. 03 Nov, 2009 1 commit
    • Alfranio Correia's avatar
      WL#2687 WL#5072 BUG#40278 BUG#47175 · 60d46624
      Alfranio Correia authored
      Non-transactional updates that take place inside a transaction present problems
      for logging because they are visible to other clients before the transaction
      is committed, and they are not rolled back even if the transaction is rolled
      back. It is not always possible to log correctly in statement format when both
      transactional and non-transactional tables are used in the same transaction.
      
      In the current patch, we ensure that such scenario is completely safe under the
      ROW and MIXED modes.
      60d46624
  6. 29 Oct, 2009 2 commits
  7. 27 Oct, 2009 1 commit
  8. 23 Oct, 2009 5 commits
  9. 20 Oct, 2009 2 commits
    • Bjorn Munch's avatar
      merge 48149 · 684b1d39
      Bjorn Munch authored
      684b1d39
    • 's avatar
      Bug#13963 SHOW SLAVE HOSTS is unreliable · d17245e7
      authored
            
            Before the patch, slaves only appear in the output of SHOW SLAVE HOSTS 
            when report-host option is set. If an expected slave does not appear in  
            the list, nobody knows whether the slave does not connect or has started
            without the "report-host" option. The output also contains a strange  
            field "Rpl_recovery_rank" which has never been implemented and the manual 
            of MySQL5.4 declares that the field has been removed from MySQL5.4.
                                              
            This patch is done with these,
            According to the manual of MySQL5.4, "Rpl_recovery_rank" is removed.
            Slaves will register themselves to master no matter if report_host option is set
            or not. When slaves are registering themselves, their Server_ids, report_host
            and other information are together sent to master. Sever_ids are never null 
            and is unique in one replication group. Slaves always can be identified with  
            different Server_ids no matter if report_host exists.
      d17245e7
  10. 19 Oct, 2009 5 commits
  11. 18 Oct, 2009 3 commits
  12. 17 Oct, 2009 1 commit
  13. 16 Oct, 2009 10 commits
  14. 15 Oct, 2009 4 commits