~sergei.glushchenko/percona-server/55-tp-fixmp

Viewing all changes in revision 367.

  • Committer: Sergei Glushchenko
  • Date: 2013-01-28 11:33:54 UTC
  • Revision ID: sergei.glushchenko@percona.com-20130128113354-xl2v0adc1451eeal
Test rpl_rotate_logs fails with asssertion
Assertion failed: (thread_group->connection_count > 0), function wait_begin, file sql/threadpool_unix.cc, line 1151.
The reason is that when threadpool_remove_connection performs THD cleanup,
it calls close_temporary_tables which calls MYSQL_BIN_LOG::write, which calls
MYSQL_BIN_LOG::rotate and eventually my_sync is called which calls wait_begin,
which deal with connection's group. However connection count in group been
alreadyn decreased in connection_abort before threadpool_remove_connection been
called.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: