filtered_replicator not filtering all events
Bug #701056 reported by
David Shrewsbury
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
High
|
David Shrewsbury | ||
7.0 |
Fix Released
|
High
|
David Shrewsbury |
Bug Description
Looks like certain events are not being filtered out by filtered_replicator plugin. The below example DOES filter out the 'CREATE SCHEMA foo' but NOT the foo table creation.
sbin/drizzled --datadir=$PWD/var --transaction-
CREATE SCHEMA foo;
USE foo;
CREATE TABLE foo1 (id INT NOT NULL PRIMARY KEY);
Related branches
lp:~dshrews/drizzle/bug701056
- Drizzle Developers: Pending requested
-
Diff: 711 lines (+231/-370)16 files modifiedplugin/filtered_replicator/filtered_replicator.cc (+7/-6)
plugin/filtered_replicator/tests/r/filtered_replicator.result (+0/-322)
plugin/filtered_replicator/tests/r/var_filteredschemas.result (+19/-0)
plugin/filtered_replicator/tests/r/var_filteredtables.result (+29/-0)
plugin/filtered_replicator/tests/r/var_schemaregex.result (+21/-0)
plugin/filtered_replicator/tests/r/var_tableregex.result (+31/-0)
plugin/filtered_replicator/tests/t/filtered_replicator-master.opt (+0/-1)
plugin/filtered_replicator/tests/t/filtered_replicator.test (+0/-41)
plugin/filtered_replicator/tests/t/var_filteredschemas-master.opt (+1/-0)
plugin/filtered_replicator/tests/t/var_filteredschemas.test (+23/-0)
plugin/filtered_replicator/tests/t/var_filteredtables-master.opt (+1/-0)
plugin/filtered_replicator/tests/t/var_filteredtables.test (+34/-0)
plugin/filtered_replicator/tests/t/var_schemaregex-master.opt (+1/-0)
plugin/filtered_replicator/tests/t/var_schemaregex.test (+26/-0)
plugin/filtered_replicator/tests/t/var_tableregex-master.opt (+1/-0)
plugin/filtered_replicator/tests/t/var_tableregex.test (+37/-0)
Changed in drizzle: | |
status: | Confirmed → In Progress |
milestone: | none → 2011-01-17 |
Changed in drizzle: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Schema name being ignored on CREATE TABLE messages.
Also found where a mutex wasn't being released when setting variable for filtered schemas.