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

Viewing all changes in revision 9.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: