~hezx/mysql-server/semi-sync-replication

  • Committer: He Zhenxing
  • Date: 2009-04-29 09:25:18 UTC
  • Revision ID: zhenxing.he@sun.com-20090429092518-sg0b34nmmud78gzp
BUG#44058 Possible semi-sync replication bugs (component part)

Semi-sync master component does not set the thread's proc info,
nor set the mysys_var->current_cond/mutex, which made KILL not
able to awake the thread that was waiting for the ACK, and didn't
know what the thread was waiting for.

This patch fixed the problem by calling enter_cond and exit_cond
accordingly in semi-sync master component before and after waiting
for ACK from slave.
Filename Latest Rev Last Changed Committer Comment Size
..
mysql-test 3 15 years ago He Zhenxing Add a simple test case for semi-sync feature Diff
AUTHORS 1 15 years ago He Zhenxing initial import Empty Diff Download File
ChangeLog 1 15 years ago He Zhenxing initial import Empty Diff Download File
configure.in 9 14 years ago He Zhenxing BUG#44058 Possible semi-sync replication bugs (com 385 bytes Diff Download File
COPYING 1 15 years ago He Zhenxing initial import 17.5 KB Diff Download File
INSTALL 1 15 years ago He Zhenxing initial import 9.1 KB Diff Download File
Makefile.am 4 15 years ago He Zhenxing Fix master status variables Add non-install header 1.5 KB Diff Download File
NEWS 1 15 years ago He Zhenxing initial import Empty Diff Download File
plug.in 1 15 years ago He Zhenxing initial import 188 bytes Diff Download File
README 1 15 years ago He Zhenxing initial import Empty Diff Download File
replication.h 4 15 years ago He Zhenxing Fix master status variables Add non-install header 12.2 KB Diff Download File
semisync.cc 1 15 years ago He Zhenxing initial import 1.1 KB Diff Download File
semisync.h 1 15 years ago He Zhenxing initial import 2.5 KB Diff Download File
semisync_master.cc 9 14 years ago He Zhenxing BUG#44058 Possible semi-sync replication bugs (com 33.6 KB Diff Download File
semisync_master.h 5 15 years ago He Zhenxing Changed master component variable and function pre 14.1 KB Diff Download File
semisync_master_plugin.cc 7 15 years ago He Zhenxing BUG#40934 Semisynchronous replication: Change init 10.9 KB Diff Download File
semisync_slave.cc 5 15 years ago He Zhenxing Changed master component variable and function pre 3.3 KB Diff Download File
semisync_slave.h 5 15 years ago He Zhenxing Changed master component variable and function pre 3 KB Diff Download File
semisync_slave_plugin.cc 7 15 years ago He Zhenxing BUG#40934 Semisynchronous replication: Change init 5 KB Diff Download File