Comment 1 for bug 1276424

Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

The problem happens, because wsrep layer does not use keys which have NULL value. If a transaction has only statements which modify such NULL key rows, then the transaction has not populated any key information to the replication plugin.

At commit time, transaction cache has events, which should be replicated, but replicator does not recognize transaction because no keys were populated. Therefore the replication attempt fails and wsrep layer does rollback and gives back deadlock error.