Commit Graph

2517 Commits

Author SHA1 Message Date
Johan Venant
c8070d19b8 DBZ-1643 Manage sql server timestamp timezone 2019-12-17 08:59:55 +01:00
Jiri Pechanec
272413ecd0 DBZ-1676 Upgrade to Kafka 2.4.0 2019-12-17 07:29:30 +01:00
Gunnar Morling
f5b563ff87 DBZ-1671 Propagating exception instead of message only 2019-12-17 07:25:51 +01:00
John Martin
a3129fd596 DBZ-1671 update mysql_connector snapshot locking documentation 2019-12-17 07:23:29 +01:00
John Martin
fc24de8dde DBZ-1671 add innodb_lock_wait_timeout and update info log 2019-12-17 07:23:29 +01:00
John Martin
3f006f8c0e DBZ-1671 Adding configurable lock_wait_timeout for mysql connector SnapshotReader 2019-12-17 07:23:29 +01:00
Chris Cranford
debcb95fa2 DBZ-1677 Include root cause when PostgreSQL schema refresh fails during streaming 2019-12-17 07:19:02 +01:00
Jiri Pechanec
761e7440cc DBZ-1670 Rename Serdes to DebeziumSerdes 2019-12-16 15:05:43 +01:00
Jiri Pechanec
b338660283 DBZ-824 Skip validation for keyless tombstone 2019-12-16 14:31:15 +01:00
Jiri Pechanec
1de53607dc DBZ-824 Fix tests with invalid field names 2019-12-16 14:31:15 +01:00
Jiri Pechanec
6205f1d6ea DBZ-824 Assert serialization of every processed record 2019-12-16 14:31:15 +01:00
Jiri Pechanec
52a2946aa5 DBZ-1642 Documentation update 2019-12-16 12:21:19 +01:00
Jiri Pechanec
71ca62a692 DBZ-1642 Added test for changing TX 2019-12-16 06:17:21 +01:00
Jiri Pechanec
c5a4106f3f DBZ-1642 Snapshot isolation for snapshot; test added 2019-12-13 13:00:39 +01:00
Jiri Pechanec
c6449c956b DBZ-1642 Added Always On docs 2019-12-13 12:01:48 +01:00
Jiri Pechanec
ea56b636fe DBZ-1642 Commit tx only for read-only connections 2019-12-13 10:36:02 +01:00
Cobolbaby
f199988609 DBZ-1642 commit() method in JdbcConnection compatible with non autocommit 2019-12-13 10:34:52 +01:00
Cobolbaby
641e24b483 DBZ-1642 Create method called commit() in JdbcConnection class 2019-12-13 10:34:52 +01:00
cobolbaby
8306864c00 DBZ-1642 Support SQL Server Alwayson node
Ref: https://issues.redhat.com/browse/DBZ-1642
2019-12-13 10:34:52 +01:00
jcechace
65af38fe5d DBZ-1658 Allowing MySQL and PostgreSQL to run for downstream 2019-12-12 17:40:54 +01:00
Gunnar Morling
d40641b3ab DBZ-1666 Formatting 2019-12-12 16:39:10 +01:00
Gunnar Morling
77252304db
Nav fix [no ci] 2019-12-12 16:25:17 +01:00
Gunnar Morling
4e0d1c8c07 DBZ-1667 Adding Nikhil Benesch to COPYRIGHT.txt 2019-12-12 12:54:22 +01:00
Nikhil Benesch
afd69fc7fc DBZ-1667 Regression test for MySQL dates in snapshot being off by one
In Debezium 0.9, if the timezone of the JVM running Debezium had an
earlier offset than the timezone of the MySQL server, any values of type
DATE read by the snapshot reader would be incorrectly shifted backwards
by one day. This was the result of a known bug/deficiency in MySQL's
JDBC connector [0].

This bug was inadvertently fixed in Debezium 0.10 by #913, which
bypassed the JDBC date retrieval logic to support zero dates, thus also
avoiding the inappropriate timezone shifting logic. However, since the
fix was inadvertent, there was no test to protect against regression.

This commit adds such a regression test. Since the MySQL server used in
tests uses timezone GMT-11, we just need to run a SnapshotReader in
timezone GMT-12 and verify that the dates are computed correctly. This
test fails if added to Debezium 0.9, but passes now thanks to #913.

Humorously, it is likely someone would have noticed this bug long ago
had the test MySQL server used any other timezone; for example, if the
MySQL server used EST as its timezone, anyone running the tests from the
International Date Line to Chicago would have seen the failure.  Bt with
GMT-11 there is only one timezone with a smaller offset, GMT-12, which
is only used by tiny outlying islands of the US.

[0]: https://bugs.mysql.com/bug.php?id=91112
2019-12-12 12:53:44 +01:00
Gunnar Morling
4619f5eb9d DBZ-1666 Wording fix 2019-12-12 11:56:05 +01:00
Jiri Pechanec
ffa15b100f DBZ-1666 Warn for drop slot on stop 2019-12-12 11:52:30 +01:00
Chris Cranford
0101e7d908 DBZ-1660 Upgrade PostgreSQL pgjdbc driver to 42.2.9 2019-12-10 16:13:56 +01:00
Jiri Pechanec
d88c3b4d82 DBZ-1659 Parse return-only function 2019-12-10 15:32:15 +01:00
Debezium Builder
b1c62fe306 [maven-release-plugin] prepare for next development iteration 2019-12-10 06:39:17 -05:00
Debezium Builder
ad2efdb9a6 [maven-release-plugin] prepare release v1.0.0.CR1 2019-12-10 06:39:17 -05:00
Jiri Pechanec
073b1df0d0 [release] Changelog for 1.0.0.CR1 2019-12-10 12:35:41 +01:00
Chris Cranford
c32b771e1b DBZ-1413 Fix format violation 2019-12-10 10:09:35 +01:00
Chris Cranford
19fd8dd1d9 DBZ-1413 Resolve column length/scale when reading table column metadata from TypeRegistry 2019-12-10 10:09:35 +01:00
Chris Cranford
372d199a71 DBZ-1413 Revert AbstractColumnValue changes in commit 774f2ed 2019-12-10 10:09:35 +01:00
Chris Cranford
4e28b18b9c DBZ-1413 Revert change to pom.xml for PostgreSQL driver upgrade. 2019-12-10 10:09:35 +01:00
Chris Cranford
c4f70a2ec1 DBZ-1413 DBZ-920 Updated documentation with suggested changes 2019-12-10 10:09:35 +01:00
Chris Cranford
365eb0d76e DBZ-1413 Suggested Javadoc changes, added/fix tests, changed how Column native/jdbc type resolution happens 2019-12-10 10:09:35 +01:00
Chris Cranford
2896c466fc DBZ-1413 DBZ-920 Document Domain Type and ENUM support 2019-12-10 10:09:35 +01:00
Chris Cranford
9685990fb8 DBZ-920 Add support for PostgreSQL enum types 2019-12-10 10:09:35 +01:00
Chris Cranford
4bce11f92a DBZ-1413 Remove some System.out madness 2019-12-10 10:09:35 +01:00
Chris Cranford
46de58ae75 DBZ-1413 Updated tests 2019-12-10 10:09:35 +01:00
Chris Cranford
ef9b4a7431 DBZ-1413 Delay building type hierarchy after all base types built 2019-12-10 10:09:35 +01:00
Chris Cranford
547ba8e0db DBZ-1413 Align domain type support across all 3 decoders 2019-12-10 10:09:35 +01:00
Chris Cranford
9586be7d4e DBZ-1413 Support PostgreSQL domain types 2019-12-10 10:09:35 +01:00
Gunnar Morling
68e7b7a0bb DBZ-1533 Documentation update 2019-12-10 10:07:55 +01:00
Jiri Pechanec
1805d1d73b DBZ-1533 Added documentation 2019-12-10 10:07:55 +01:00
Jiri Pechanec
1e556066a6 DBZ-1533 Jackson not in package 2019-12-10 10:07:55 +01:00
Jiri Pechanec
7e4ea91a10 DBZ-1533 Allow keeping envelope 2019-12-10 10:07:55 +01:00
Jiri Pechanec
8a64ce71d2 DBZ-1533 JSON payload serde 2019-12-10 10:07:55 +01:00
Chris Cranford
5e680a1d05 DBZ-1636 Add MySQL ENUM test propagating source type schema parameters 2019-12-10 09:24:34 +01:00