Issue 969 in tungsten-replicator: Throw an error if binlog-do-db is set

22 views
Skip to first unread message

tungsten-...@googlecode.com

unread,
Jul 11, 2014, 8:31:24 AM7/11/14
to tungsten-repl...@googlegroups.com
Status: Accepted
Owner: eric.har...@continuent.com
Labels: Type-Enhancement Priority-high FoundIn-2.2.0 FixedIn-2.2.2
FixedIn-3.0.0

New issue 969 by jeff.m...@continuent.com: Throw an error if binlog-do-db
is set
http://code.google.com/p/tungsten-replicator/issues/detail?id=969

1. To which tool/application/daemon will this feature apply?

tools/tpm

2. Describe the feature in general

Prevent bad configuration

3. Describe the feature interface

A new validation check that will throw an error if the MySQL binlog-do-db
setting has a value. This setting prevents proper operation of Tungsten
Replicator. The binlog-ignore-db setting will not be checked.

4. Give an idea (if applicable) of a possible implementation

5. Describe pros and cons of this feature.

5a. Why the world will be a better place with this feature.

5b. What hardship will the human race have to endure if this feature is
implemented.

6. Notes


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

tungsten-...@googlecode.com

unread,
Jul 11, 2014, 9:41:30 AM7/11/14
to tungsten-repl...@googlegroups.com
Updates:
Cc: linas.vi...@continuent.com

Comment #1 on issue 969 by linas.vi...@continuent.com: Throw an error if
Thanks for including this one!

tungsten-...@googlecode.com

unread,
Jul 14, 2014, 11:38:22 AM7/14/14
to tungsten-repl...@googlegroups.com
Updates:
Status: QA

Comment #2 on issue 969 by eric.har...@continuent.com: Throw an error if
This issue was updated by revision r2375.

Add check for MySQLBinlogDoDbCheck. Returns:
MySQL configuration variable 'Binlog_Do_DB' is set. This setting prevents
proper operation of Tungsten Replicator.
When show slave status output includes Binlog_Do_DB

tungsten-...@googlecode.com

unread,
Jul 14, 2014, 11:51:03 AM7/14/14
to tungsten-repl...@googlegroups.com

Comment #3 on issue 969 by eric.har...@continuent.com: Throw an error if
This issue was updated by revision r2377.

tungsten-...@googlecode.com

unread,
Aug 11, 2014, 9:13:19 AM8/11/14
to tungsten-repl...@googlegroups.com
Updates:
Labels: -Priority-high Priority-High

Comment #5 on issue 969 by linas.vi...@continuent.com: Throw an error if
(No comment was entered for this change.)

tungsten-...@googlecode.com

unread,
Aug 13, 2014, 4:56:29 AM8/13/14
to tungsten-repl...@googlegroups.com
Updates:
Status: Documenting

Comment #6 on issue 969 by csaba.si...@continuent.com: Throw an error if
Verified with build 3.0.0-273.

tungsten-...@googlecode.com

unread,
Sep 11, 2014, 1:50:06 PM9/11/14
to tungsten-repl...@googlegroups.com
Updates:
Status: Fixed

Comment #7 on issue 969 by mc.br...@continuent.com: Throw an error if
binlog-do-db is set
https://code.google.com/p/tungsten-replicator/issues/detail?id=969

An entry has been added to the 3.0 release notes

tungsten-...@googlecode.com

unread,
Jan 29, 2015, 4:15:50 AM1/29/15
to tungsten-repl...@googlegroups.com

Comment #8 on issue 969 by eg13...@gmail.com: Throw an error if
Can you, please, describe "Why the world will be a better place with this
feature?". Setting 'binlog_do_db' is the only way, if you have only one
database to replicate, but you have a lot of DBs that doesn't need
replication.

tungsten-...@googlecode.com

unread,
Jan 29, 2015, 7:01:06 AM1/29/15
to tungsten-repl...@googlegroups.com

Comment #9 on issue 969 by eric.har...@continuent.com: Throw an error if
Hi,
you would use the tpm configuration options:

--repl-svc-extractor-filters=replicate
--property=replicator.filter.replicate.do=test.*

To achieve this.
Please see:
https://docs.continuent.com/tungsten-replicator-3.0/filters-reference-replicate.html

tungsten-...@googlecode.com

unread,
Mar 30, 2015, 4:34:45 AM3/30/15
to tungsten-repl...@googlegroups.com

Comment #10 on issue 969 by eg13...@gmail.com: Throw an error if
But that means that mysql server will create binlogs for all databases, is
there any way to avoid wasting PC resources on that?

tungsten-...@googlecode.com

unread,
Mar 30, 2015, 4:54:48 AM3/30/15
to tungsten-repl...@googlegroups.com

Comment #11 on issue 969 by g.maxia: Throw an error if binlog-do-db is set
https://code.google.com/p/tungsten-replicator/issues/detail?id=969

You can skip this check using "--skip-validation-check=
MySQLBinlogDoDbCheck"
That would not trigger the feature described in this issue, and you will be
on your own.
This check is enabled by default because otherwise a slave created using
partial replication will not be able to become a master in case of need.
Note also that, if you want to use binlog_do_db, you also need to include
the schemas that Tungsten uses for its own purposes.
Reply all
Reply to author
Forward
0 new messages