summaryrefslogtreecommitdiff
path: root/sql/gstream.cc
diff options
context:
space:
mode:
authorHe Zhenxing <zhenxing.he@sun.com>2009-12-04 09:46:33 +0800
committerHe Zhenxing <zhenxing.he@sun.com>2009-12-04 09:46:33 +0800
commit16ec25c0a8438473d2273722de37ade855615ea4 (patch)
tree09ee9cda482d9a3f2fc365bd77b66441c765d6c3 /sql/gstream.cc
parentf09129c6beecb20da475b41af1bba948abf826c8 (diff)
downloadmariadb-git-16ec25c0a8438473d2273722de37ade855615ea4.tar.gz
Bug#49020 Semi-sync master crashed with free_pool == NULL, assertion `free_pool_'
Before this patch, semisync assumed transactions running in parallel can not be larger than max_connections, but this is not true when the event scheduler is executing events, and cause semisync run out of preallocated transaction nodes. Fix the problem by allocating transaction nodes dynamically. This patch also fixed a possible deadlock when running UNINSTALL PLUGIN rpl_semi_sync_master and updating in parallel. Fixed by releasing the internal Delegate lock before unlock the plugins.
Diffstat (limited to 'sql/gstream.cc')
0 files changed, 0 insertions, 0 deletions