assert due to sending status to client two times

Bug #340148 reported by Seppo Jaakola
2
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Fix Released
High
Seppo Jaakola

Bug Description

Following assert happened with sysbench testing:

mysqld: protocol.cc:386: void net_end_statement(THD*): Assertion `! thd->main_da.is_sent' failed.

This happens, when committing local trx was aborted due to lock conflict with slave applier, but
certification of the local trx was successful. Reason for this is asymmetric lock granularity between wsrep
and innodb.

Wsrep performs at this point transaction replaying in local state, to make sure each node will have same
verdict of the certification. Apparently this replay logic can sometimes lead to sending status to client
two times.

This assert has not been diagnosed with 5.1.30 build. Possibly it is due to 5.1.31 or 5.1.32 merging.

Changed in codership-mysql:
assignee: nobody → seppo-jaakola
importance: Undecided → High
milestone: none → demo-2
status: New → In Progress
Changed in codership-mysql:
status: In Progress → Fix Committed
Changed in codership-mysql:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.