[MDEV-11817] Altering a table with more rows than wsrep_max_ws_rows causes cluster to break when running Galera cluster in TOI mode Created: 2017-01-16 Updated: 2017-02-01 Resolved: 2017-02-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera |
| Affects Version/s: | 10.1.20 |
| Fix Version/s: | 10.1.22 |
| Type: | Bug | Priority: | Major |
| Reporter: | Joseph Palermo | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
Ubuntu Trusty. Galera 25.3.17 |
||
| Sprint: | 10.2.4-1, 10.2.4-2 |
| Description |
|
Reproduce steps: At that point any data written to that table will cause the other nodes to terminate due to inconsistency. Codership was able to verify the issue, but say it is a MariaDB specific bug: |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2017-01-16 ] | |||||||||||||||||||||
|
In MariaDB, copy_data_between_tables uses handler::ha_write_row, which in turn has a check for wsrep_max_ws_rows. This check does not exist in Galera Cluster.
| |||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-24 ] | |||||||||||||||||||||
|
philip-galera hmm? IIUC, wsrep-5.6 should have this problem too. | |||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-24 ] | |||||||||||||||||||||
|
http://lists.askmonty.org/pipermail/commits/2017-January/010498.html | |||||||||||||||||||||
| Comment by Philip Stoev (Inactive) [ 2017-01-24 ] | |||||||||||||||||||||
|
I do not think mysql-wsrep has this line:
| |||||||||||||||||||||
| Comment by Nirbhay Choubey (Inactive) [ 2017-01-25 ] | |||||||||||||||||||||
|
philip-galera check_wsrep_max_ws_rows() is a wrapper in maria for code that's getting |