Commit Graph

801 Commits

Author SHA1 Message Date
Gunnar Morling
2fba51863e DBZ-1015 Unifying the retrieval of custom key mappers 2019-09-26 10:14:48 +02:00
Guillaume Rosauro
1405889bef DBZ-1015-allow-user-to-customize-key 2019-09-26 10:14:21 +02:00
Jiri Pechanec
0f61a0c8de DBZ-1501 Support partial timstamps in default values 2019-09-25 23:49:25 +02:00
Chris Cranford
dc3f07d9d2 DBZ-1500 Fix race condition in mysql connector test suite 2019-09-25 08:02:42 +03:00
jerrinot
3064a4af06 DBZ-1438 Fix InterruptedException handling
It appears there is an intent to restore the interruption flag
when catching InterruptedException. However the old code was just
checking the current state of the flag instead of raising it.
2019-09-24 12:51:48 +02:00
Chris Cranford
130210b5ad DBZ-1044 Add config option sanitize.field.names and FieldNameSelector 2019-09-20 07:40:23 +03:00
Debezium Builder
9b7e09fdda [maven-release-plugin] prepare for next development iteration 2019-09-10 09:12:12 -04:00
Debezium Builder
a1c2861458 [maven-release-plugin] prepare release v0.10.0.CR1 2019-09-10 09:12:11 -04:00
Gunnar Morling
2a065686bd DBZ-1255 Exporting null value when temporal precision mode is "connect" and the value is out of the supported range 2019-08-21 07:50:40 +02:00
Gunnar Morling
a85f975d18 DBZ-1419 Avoiding redundancy in field definition; updating description 2019-08-20 18:43:03 +02:00
Gunnar Morling
cb66fdafdc DBZ-1419 Avoiding redundancy in field definition 2019-08-20 18:43:03 +02:00
Jiri Pechanec
0e39965c0e DBZ-1419 Override time precision for MySQL 2019-08-20 18:43:03 +02:00
Jiri Pechanec
51c12d930d DBZ-1419 Support for Connect temporal types in SQL Server 2019-08-20 18:43:03 +02:00
Debezium Builder
4ae105bdce [maven-release-plugin] prepare for next development iteration 2019-08-16 03:42:55 -04:00
Debezium Builder
945ccf68cb [maven-release-plugin] prepare release v0.10.0.Beta4 2019-08-16 03:42:54 -04:00
Jiri Pechanec
af50ea64a4 DBZ-1414 Rename to captured 2019-08-06 10:59:41 +02:00
Jiri Pechanec
6276b4817a DBZ-1414 Fix test for correct DDL output 2019-08-06 10:59:41 +02:00
Jiri Pechanec
93fc39d92c DBZ-1414 Lock only monitored tables 2019-08-06 10:59:41 +02:00
Jiri Pechanec
360bcc6f36 DBZ-1411 Support unquted full names in GRANT 2019-07-29 15:49:55 +02:00
Jiri Pechanec
0742e5775f Revert "[maven-release-plugin] prepare release v0.10.0.Beta4"
This reverts commit c7340e5152.
2019-07-23 14:54:55 +02:00
Jiri Pechanec
f7d20635ce Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 22879777e4.
2019-07-23 14:54:49 +02:00
Jiri Pechanec
22879777e4 [maven-release-plugin] prepare for next development iteration 2019-07-23 14:10:03 +02:00
Jiri Pechanec
c7340e5152 [maven-release-plugin] prepare release v0.10.0.Beta4 2019-07-23 14:10:02 +02:00
Debezium Builder
71333fda98 [maven-release-plugin] prepare for next development iteration 2019-07-23 02:55:08 -04:00
Debezium Builder
20d006fac7 [maven-release-plugin] prepare release v0.10.0.Beta3 2019-07-23 02:55:08 -04:00
Jiri Pechanec
55c267557f DBZ-1410 Filter DML before throwing an invalid replication format error 2019-07-22 14:19:06 -04:00
Jiri Pechanec
ff87bb1ab7 DBZ-1409 Built-in database filter throws NPE 2019-07-22 14:18:36 -04:00
Jiri Pechanec
d3b33e5fbd DBZ-1376 Both ALGORTIHM and LOCK are allowed for INDEX 2019-07-17 16:09:21 -04:00
Jiri Pechanec
558d97aa82 DBZ-1398 Support for arbitrary third party engine name 2019-07-17 15:15:11 -04:00
Jiri Pechanec
fbeb0076dc DBZ-1397 Support CHARSET in CAST function 2019-07-17 14:50:40 -04:00
Jiri Pechanec
c9997a5fd6 DBZ-599 Emit schema change only for DDL with no errors 2019-07-10 08:38:08 +02:00
Jiri Pechanec
67ca8a2d76 DBZ-794 Filter out savepoints from database history 2019-07-08 12:54:01 +02:00
BinLi1988
3b14c13bbb DBZ-1338 Support for ensuring keepalive by using MySQL heartbeat 2019-07-05 09:10:30 +02:00
Jiri Pechanec
c08a5374fe DBZ-1222 Improve error event method name 2019-07-04 21:31:32 +02:00
Jiri Pechanec
2b365be63c DBZ-1222 EventsInError metric added 2019-07-04 21:31:32 +02:00
Jiri Pechanec
13d638fd43 DBZ-1356 Metrics for schema history (#947)
* DBZ-1356 Metrics for schema history
2019-07-02 13:26:17 +02:00
Gunnar Morling
a991ea97d7 Handling option for emitting tombstones conistently 2019-07-01 08:27:33 +02:00
Jenkins user
e95d656bca [maven-release-plugin] prepare for next development iteration 2019-06-27 07:36:13 +00:00
Jenkins user
d95fd87311 [maven-release-plugin] prepare release v0.10.0.Beta2 2019-06-27 07:36:12 +00:00
Jiri Pechanec
9c22da610a DBZ-1353 MySQL 8 returns null for unspecified timestmap column 2019-06-25 12:13:53 +02:00
Jiri Pechanec
6e5f633e40 DBZ-1350 NO_AUTO_CREATE_USER unsupported on MySQL 8 2019-06-24 14:18:31 +02:00
Jiri Pechanec
257f900abb DBZ-1349 Support for UTF8mb3 charset 2019-06-24 14:03:23 +02:00
Jiri Pechanec
c88e454809 DBZ-1348 Add INTERNAL among allowed ids 2019-06-21 19:27:21 +02:00
Gunnar Morling
d3e399e167 DBZ-1340 Avoiding repeated case conversion of incoming DML statements;
Also adding startsWithIgnoreCase() method.
2019-06-20 13:33:12 +02:00
Jiri Pechanec
ace742a43e DBZ-1340 Guard against binlog misconfiguration 2019-06-20 13:33:12 +02:00
Jiri Pechanec
807da1f9b8 DBZ-1278 Change log message wording
Co-Authored-By: Gunnar Morling <gunnar.morling@googlemail.com>
2019-06-19 17:05:26 +02:00
Jiri Pechanec
3012524ea1 DBZ-1278 Rename to non-whitelisted table sends warn 2019-06-19 17:05:26 +02:00
Jiri Pechanec
e2f2c88952 DBZ-1329 Support for rename index 2019-06-17 20:55:04 +02:00
Jenkins user
5fdb0ca81b [maven-release-plugin] prepare for next development iteration 2019-06-11 11:20:46 +00:00
Jenkins user
61729b9e00 [maven-release-plugin] prepare release v0.10.0.Beta1 2019-06-11 11:20:46 +00:00
Gunnar Morling
5d01f409f0 DBZ-1317 Separating update and query methods for MongoDB's SourceInfo;
* Avoids access to collection id after events which don't have one
* Pulling up struct() and schema() methods to common base class
2019-06-11 10:07:36 +02:00
Jiri Pechanec
6a412eb72f DBZ-1318 Log when conversion happens 2019-06-07 09:44:46 +02:00
Jiri Pechanec
3e94fc2ef8 DBZ-1318 Handle invalid dates in non-strict mode (#913)
* DBZ-1318 Handle invalid dates in non-strict mode
2019-06-06 11:40:11 +02:00
pancheng
1180736124 DBZ-1321 Add test case 2019-06-06 10:38:56 +02:00
pancheng
bc17bc90d1 DBZ-1321 Fix alter by modify column about default value 2019-06-06 10:38:56 +02:00
Chris Cranford
0aadaa10dc DBZ-1242 Fixed typo and added negative test checks 2019-06-05 13:31:25 -04:00
Chris Cranford
b3ca33287a DBZ-1242 Issue warning when filters produce an empty schema 2019-06-05 13:31:25 -04:00
Jenkins user
056730d06a [maven-release-plugin] prepare for next development iteration 2019-06-03 10:24:08 +00:00
Jenkins user
7aeaec236e [maven-release-plugin] prepare release v0.10.0.Alpha2 2019-06-03 10:24:08 +00:00
Gunnar Morling
246c1be305 DBZ-1283 Enforcing presence of database.server.name globally 2019-06-03 10:58:14 +02:00
Chris Cranford
5f0b44b4ec DBZ-1283 Only validate history topic name for affected connectors 2019-06-03 10:58:14 +02:00
Jiri Pechanec
4b64c8e447 DBZ-1295 3state snapshot for MySQL 2019-05-31 10:56:05 +02:00
Jiri Pechanec
37d2b6964f DBZ-1303 Remove protobuf dependency for MySQL 2019-05-30 14:32:47 +02:00
Jiri Pechanec
946019982e DBZ-1303 Assembly without database drivers 2019-05-30 14:32:47 +02:00
Bartosz Miedlar
ead68b1b14 DBZ-1300 DDL that contains user are unparsable by antlr 2019-05-30 11:40:55 +02:00
Gunnar Morling
0c7763c68a DBZ-871 Simplifying test assertions 2019-05-30 08:51:28 +02:00
Jiri Pechanec
4209900731 DBZ-871 Test for multitable statement 2019-05-30 08:51:28 +02:00
Gunnar Morling
ca361bd122 DBZ-871 Clearly separating between DB and table events 2019-05-30 08:51:28 +02:00
Jiri Pechanec
e826599e2e DBZ-871 Add table(s) name to schema change event 2019-05-30 08:51:27 +02:00
Gunnar Morling
7759333fe3 DBZ-1092 Using ColumnNameFilter instead of Predicate<Column> 2019-05-29 15:49:49 +02:00
Jenkins user
ac5c76e431 [maven-release-plugin] prepare for next development iteration 2019-05-28 14:38:32 +00:00
Jenkins user
35f59ba460 [maven-release-plugin] prepare release v0.10.0.Alpha1 2019-05-28 14:38:32 +00:00
Jiri Pechanec
ab460c86af DBZ-1235 Return server name to legacy MySQL 2019-05-28 09:35:15 +02:00
Gunnar Morling
3377b96ca8 DBZ-1235 Removing redundant method 2019-05-28 09:35:15 +02:00
Jiri Pechanec
526e780513 DBZ-1235 Misc fixes 2019-05-28 09:35:15 +02:00
Jiri Pechanec
80afd4975a DBZ-1235 Changes missed in refactoring 2019-05-28 09:35:15 +02:00
Gunnar Morling
eef37cb567 DBZ-1235 Misc adjustments;
* Removing superfluous parameter from getSourceInfoStructMaker()
* JavaDoc
* Renaming field to "source.struct.version"
2019-05-28 09:35:15 +02:00
Gunnar Morling
8f28f323e7 DBZ-1235 Using Instant to represent timestamps internally;
Only "rendered" as epoch milli-seconds at the system boundaries.
2019-05-28 09:35:15 +02:00
Jiri Pechanec
6f6c8ddf06 DBZ-1235 Refactored to unify the code 2019-05-28 09:35:15 +02:00
Jiri Pechanec
0ec2d651fe DBZ-1235 Timestamp in ms for MySQL connector 2019-05-28 09:35:15 +02:00
Jiri Pechanec
f5757dbd9f DBZ-1235 Extract serverName to common source 2019-05-28 09:35:15 +02:00
Gunnar Morling
4ed8b4636c DBZ-1224 Completing implementation;
* Further unification of override handling;
* Undoing change related to SnapshotStatementFactory as it seems not needed
* Adding test
2019-05-27 08:44:42 +02:00
mokkara
b3de0250a9 DBZ-1224 Snapshot SELECT support for SQL Server 2019-05-27 08:44:42 +02:00
Chris Cranford
377728ef87 DBZ-1127 Synchronize MySQL grammar with upstream grammar. 2019-05-22 17:05:11 +02:00
Chris Cranford
778b394085 DBZ-1127 Synchronize MySQL grammar with upstream grammar. 2019-05-22 17:05:11 +02:00
Jiri Pechanec
c1c4d3d149 DBZ-683 After review changes 2019-05-22 14:52:06 +02:00
Jiri Pechanec
540196091c DBZ-683 Snapshot supports storing only whitelisted tables setting 2019-05-22 14:52:06 +02:00
Chris Cranford
1603ebda89 DBZ-1234 Remove support for adaptive time precision mode 2019-05-22 10:19:05 +02:00
Chris Cranford
e2c74111ad DBZ-1234 Removed deprecated configuration options 2019-05-22 10:19:05 +02:00
Gunnar Morling
7519623c58 DBZ-1244 Fixing formatting glitch 2019-05-21 15:53:55 +02:00
Jiri Pechanec
c8c6360095 DBZ-1244 Detecting unreplicated purged GTIDs;
The purpose of this change is to provide the same functionality for
when_needed snapshot for GTID enabled database like for non-GTID.
The non-GTID just relies on missing replication log to detect the
new snapshot needs to be triggered. This does not work in GTID
environment as we need to compare the GTIDs that are available on
the server with those we have already processed - stored in the
offsets.

If there is a set of GTIDs that were not replicated by Debezium
and at the same time have been already purged then we detect the
situation and trigger a new snapshot when required.

We thus

* Take all GTIDs ever processed by the server
* Filter out GTIDs that were processed by Debezium
* Compare them with purged GTID set
* If the interesction is not empty we know we have not replicated
transaction that have already been removed from the server
2019-05-21 15:51:17 +02:00
Jiri Pechanec
29c10c27ea DBZ-1276 Skip events upon connector restart 2019-05-21 10:38:41 +02:00
Chris Cranford
9afe06945e DBZ-736 Fixed compilation problem with duplicate test class. 2019-05-20 13:38:01 -04:00
Gunnar Morling
d35e401e34 DBZ-736 Removing obsolete MySqlDefaultValueTest;
* Removing old test for legacy parser
* Pulling Antlr-specific methods up to base class
* Renaming that one into MySqlDefaultValueTest
2019-05-20 13:38:01 -04:00
Gunnar Morling
3f0e2c7758 DBZ-1246 Removing obsolete exclusion of legacy parser during test 2019-05-20 16:38:03 +02:00
Jiri Pechanec
30c2df4f23 DBZ-1246 Convert unique index to primary key 2019-05-20 16:38:03 +02:00
Gunnar Morling
c72a2fb14d DBZ-844 Expanding test 2019-05-20 15:33:39 +02:00
Jiri Pechanec
d35c2ec347 DBZ-844 Use table charset for parsing string defaults 2019-05-20 15:33:39 +02:00
jcechace
d9657dab1a [DBZ-1273] Bumping JDBC and Mongo driver versions 2019-05-18 05:50:27 +02:00
Gunnar Morling
c7d2a35a0e DBZ-1264 Member ordering 2019-05-18 05:48:54 +02:00