wsrep_dump_rbr_buf in wsrep_apply_cb should be avoided for (ignored) TOI errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
New
|
Undecided
|
Unassigned | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
New
|
Undecided
|
Unassigned |
Bug Description
Testing with fk grammar
perl runall-new.pl --basedir=/pxc56 --vardir=/tmp/node1 --galera=ms --grammar=
overwhelmed the filesystem with hundreds of GRA files containing DDLs.
They were on applier end and from ignored TOI errors.
wsrep_apply_cb:
if (WSREP_CB_SUCCESS != rcode)
{
wsrep_
}
It would be best to not dump in case of ignored errors or use wsrep-debug with them. (or both)
Related branches
summary: |
- wsrep_dump_rbr_buf in wsrep_apply_cb should be ignored for TOI errors + wsrep_dump_rbr_buf in wsrep_apply_cb should be avoided for (ignored) + TOI errors |
This is severe for TOI errors since they are passed first without evaluation on the master node and then error is returned.
This makes it easy to DOS other nodes by creating spurious DDLs on one
node and filling the filesystem on other nodes with GRA* files. Note,
that even a user without DDL credentials can do this.