[MDEV-4953] Galera: DELETE from a partitioned table is not replicated Created: 2013-08-27 Updated: 2013-08-28 Resolved: 2013-08-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.32-galera |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Seppo Jaakola |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Issue Links: |
|
||||
| Description |
|
I run a 2-node cluster with the following server command lines:
The status shows that the cluster is up and running:
Then I execute the following on the first node:
But on the 2nd node DELETE did not work:
The status still shows that replication is up:
But further INSERTs don't work either.
|
| Comments |
| Comment by Seppo Jaakola [ 2013-08-27 ] |
|
Run some manual partition engine test loads. and turns out that partition engine replication is broken only in MGC, the MySQL version is not affected. |
| Comment by Seppo Jaakola [ 2013-08-27 ] |
|
seems to relate to handler::mark_trx_done, which remains always true for innodb engine |
| Comment by Seppo Jaakola [ 2013-08-27 ] |
|
The mark_trx_done variable will be sticky TRUE for table handlers under partition engine. This prevents e.g. innodb transactions to be declared as read/write. And wsrep replication provider will trigger replication only if there has been innodb transactions with writes. Fix has been pushed in revision #3417: http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3417 |