Closed GoogleCodeExporter closed 9 years ago
Original comment by linas.vi...@continuent.com
on 27 Feb 2014 at 1:49
Proposed solution:
1.) Remove explicit schema name stating from parallel extractor's truncate
statement (see SQL(0) below):
SEQ# = 0 / FRAG# = 0 (last frag)
...
- METADATA = [schema=DEMO;table=MEDIUMUNS;nbBlocks=1;service=ora_my;shard=DEMO]
- TYPE = com.continuent.tungsten.replicator.event.ReplDBMSEvent
- SQL(0) = TRUNCATE TABLE DEMO.MEDIUMUNS
- SQL(1) =
- ACTION = INSERT
- SCHEMA = DEMO
- TABLE = MEDIUMUNS
- ROW# = 0
- COL(1: ID) = 10
- COL(2: VAL) = 1
Move that schema name into defaultSchema parameter instead:
SEQ# = 5067 / FRAG# = 0 (last frag)
...
- METADATA = [schema=DEMO;table=MEDIUMUNS;nbBlocks=1;service=ora_my;shard=DEMO]
- TYPE = com.continuent.tungsten.replicator.event.ReplDBMSEvent
- SCHEMA = DEMO
- SQL(0) = TRUNCATE TABLE MEDIUMUNS
- SQL(1) =
- ACTION = INSERT
- SCHEMA = DEMO
- TABLE = MEDIUMUNS
- ROW# = 0
- COL(1: ID) = 10
- COL(2: VAL) = 1
2.) Extend rename filter to transform defaultSchema name of StatementData
events. Currently it processes only RBR events.
Original comment by linas.vi...@continuent.com
on 18 Mar 2014 at 5:26
Fixed via r2136.
MC, please add a line to release notes that RenameFilter now supports a basic
defaultSchema renaming of StatementData events (in dbrename.js fashion).
Previously it was agnostic to anything that was not a RowChangeData.
Original comment by linas.vi...@continuent.com
on 18 Mar 2014 at 6:37
An entry has been added to the 2.2.1 release notes:
The rename filter has been updated so that renaming of only the schema name for STATEMENT events. Previously, only ROW events would be renamed by the filter.
The corresponding Rename filter page has been updated with this information and
version availability.
Original comment by mc.br...@continuent.com
on 15 Apr 2014 at 2:15
Original issue reported on code.google.com by
linas.vi...@continuent.com
on 27 Feb 2014 at 11:05