1. 13 Oct, 2008 1 commit
  2. 11 Oct, 2008 3 commits
  3. 10 Oct, 2008 2 commits
  4. 08 Oct, 2008 9 commits
  5. 07 Oct, 2008 2 commits
  6. 06 Oct, 2008 6 commits
  7. 04 Oct, 2008 1 commit
  8. 29 Sep, 2008 1 commit
  9. 28 Sep, 2008 1 commit
    • He Zhenxing's avatar
      BUG#38734 rpl_server_id2 sync_with_master failed · 0d2025e1
      He Zhenxing authored
      Rotate event is automatically generated and written when rotating binary
      log or relay log. Rotate events for relay logs are usually ignored by slave
      SQL thread becuase they have the same server id as that of the slave.
      However, if --replicate-same-server-id is enabled, rotate event
      for relay log would be treated as if it's a rotate event from master, and
      would be executed by slave to update the rli->group_master_log_name and
      rli->group_master_log_pos to a wrong value and cause the MASTER_POS_WAIT
      function to fail and return NULL.
      
      This patch fixed this problem by setting a flag bit (LOG_EVENT_RELAY_LOG_F)
      in the event to tell the SQL thread to ignore these Rotate events generated
      for relay logs.
      
      This patch also added another binlog event flag bit (LOG_EVENT_ARTIFICIAL_F)
      to distinquish faked events, the method used before this was by checking if
      log_pos was zero.
      0d2025e1
  10. 22 Sep, 2008 4 commits
  11. 20 Sep, 2008 4 commits
  12. 15 Sep, 2008 5 commits
  13. 11 Sep, 2008 1 commit