Commit Graph

6896 Commits

Author SHA1 Message Date
jcechace
ffe2bcf911 DBZ-5095 Artifact server management and Fabric8 builder cleanup 2022-05-09 15:32:24 +02:00
Vojtech Juranek
fd6be945b5 DBZ-5099 Allow zero-length dates
When date is zero and binary protocol use comperssion, date has zero
length [1]:

    type to store a DATE, DATETIME and TIMESTAMP fields in the binary protocol.

    to save space the packet can be compressed:
    if year, month, day, hour, minutes, seconds and micro_seconds are all 0, length is 0 and no other field is sent

Allow zero-lenght date and return null if column is optional, epoch date
otherwise (this conforms to MySqlDefaultValueConverter.convertToLocalDate()).

[1] https://dev.mysql.com/doc/internals/en/binary-protocol-value.html#packet-ProtocolBinary::MYSQL_TYPE_TIME
2022-05-09 13:57:04 +02:00
Jiri Pechanec
076c5d6083 DBZ-5014 Add contributor alias 2022-05-09 09:00:14 +02:00
Jiri Pechanec
cc90b1cfeb DBZ-5014 Fix delete tests 2022-05-09 08:53:59 +02:00
Cesar Martinez
61a77c2467 DBZ-5014 Remove unused import 2022-05-09 08:53:59 +02:00
Cesar Martinez
c0ac30593c DBZ-5014 Uncomment validations 2022-05-09 08:53:59 +02:00
Cesar Martinez
72e51e02c7 DBZ-5014 Remove invalid line 2022-05-09 08:53:59 +02:00
Cesar Martinez
6994c1db56 DBZ-5014 Test case for delete register with infinity date 2022-05-09 08:53:59 +02:00
Cesar Martinez
840979a454 DBZ-5014 Add AbstractRecordsProducerTest.tableIdFromDeleteStmt(String) 2022-05-09 08:53:59 +02:00
Cesar Martinez
46f6db2d50 DBZ-5014 Add infinity date constants (Date & LocalDate 2022-05-09 08:53:59 +02:00
Cesar Martinez
24173cc548 DBZ-5014 Parse infinity date on delete 2022-05-09 08:53:59 +02:00
Cesar Martinez
b1f7fa1a47 DBZ-5014 Add test case for (+/-)infinity date 2022-05-09 08:53:59 +02:00
Cesar Martinez
63f2d04c6e DBZ-5014 Author name 2022-05-09 08:53:59 +02:00
Chris Cranford
65017dc2d6 DBZ-5100 Do not default database.server.id 2022-05-09 08:52:24 +02:00
AlexMiroshnikov
bf6a4b4873 DBZ-5077 Support DROP FOREIGN KEY IF EXISTS grammar 2022-05-09 08:41:31 +02:00
Jiri Pechanec
2b8b8cd35d DBZ-5040 Add contributor 2022-05-09 08:37:10 +02:00
Jiri Pechanec
35811a7be4 DBZ-5040 Fix typo about decimal.handling in SQL Server 2022-05-09 08:37:10 +02:00
AlexMiroshnikov
25624baa14 DBZ-5040 Fix typo about decimal.handling
decimal.handling VS decimal.handing - "l" was missing
2022-05-09 08:37:10 +02:00
Jiri Pechanec
6e092d39f2 DBZ-5074 No separate connection for pgoutput decoder 2022-05-06 16:36:28 +02:00
Jiri Pechanec
88dab4d8d3 DBZ-5074 Track connections by name; close heartbeat connection by default 2022-05-06 16:36:28 +02:00
Sagar Rao
e4b1486353 DBZ-4346 Adding validation to SQL Server connector to fail when a user not having access to CDC table is used with modes other than INITIAL_ONLY mode
Removing unwanted commits
2022-05-06 10:00:09 -04:00
Mark Allanson
0edb86d861 DBZ-5097: Add tests to cover PostgresErrorHandler behaviour
The error handler had no unit tests at all, so I thought it might be a good idea
to add some tests to verify the behaviour given there's a bunch of different
ways to determine if something is retryable.
2022-05-06 09:55:06 -04:00
Mark Allanson
f54ff93ca0 DBZ-5097: Add Mark Allanson to COPYRIGHT.txt and Aliases.txt 2022-05-06 09:55:06 -04:00
Mark Allanson
dd815f5226 DBZ-5097: Add two new retryable postgresql error messages
These two error messages can occur when running inside docker and the
postgres container is either killed (sigtermed) or brought down
using `docker stop`.

In both cases these are retryable as the postgres server can be
restarted shortly thereafter.
2022-05-06 09:55:06 -04:00
Vojtech Juranek
dfd8afab7b DBZ-4939 Fall back to JDBC driver if we fail to read timestamp or date
MySQL protocol can change during connection and as a result our custom
field reader may fail. In such case fall back to JDBC to read the value.
This is workaround until proper solution, which will require bigger
refactoring, is implemented, see DBZ-5084 for more details.
2022-05-06 07:55:58 +02:00
Jiri Pechanec
06fcf697f8 DBZ-5087 Add contributor 2022-05-06 07:52:00 +02:00
Mark Bereznitsky
ae00729aa2 DBZ-5087 Added a decorator for result sets that can cancel the parent statements 2022-05-06 07:52:00 +02:00
Anisha Mohanty
709f4ff09a DBZ-5060 Upgrade postgres driver to version 42.3.5 2022-05-05 14:04:06 +02:00
harveyyue
cffd1598ec DBZ-5092 Introduce a new extension api for query debezium version 2022-05-05 13:29:20 +02:00
Martin Medek
68af2ce985 DBZ-5082 wrapped components param to quites, loading as single string in script and added newline to eof 2022-05-05 06:17:00 -04:00
Martin Medek
23835d8f6a DBZ-5082 added github checkout step so that the script exists on slave machine, renamed job so it shows in system tests tab in jenkins 2022-05-05 06:17:00 -04:00
Martin Medek
e70842b6c6 DBZ-5082 added new script to verify maven artifact integrity and a simple jenkins job to run this script 2022-05-05 06:17:00 -04:00
Martin Medek
8fe2c08a8f DBZ-4956 fixing bug, where last build is renamed instead of last completed 2022-05-05 06:01:40 -04:00
Martin Medek
35353b0ed9 DBZ-4956 fixed bugs in label setting and unified error handling on trigger jobs 2022-05-05 06:01:40 -04:00
Martin Medek
0c0c6a4347 DBZ-4956 fixed mentions from review - bug, where incorrect build number was set to child builds, changed build naming logic. Added STRZ_ prefix to strmzi related parameters 2022-05-05 06:01:40 -04:00
Martin Medek
a86c09c3f2 DBZ-4956 renamed the job so that it's shown in system test tab in jenkins 2022-05-05 06:01:40 -04:00
Martin Medek
b4de453580 DBZ-4956 added a job, that triggers all downstream preparation jobs, collects artifacts from them and modified downstream preparation jobs to archive zips with its names on them, so the trigger job doesn't have duplicities in collected artifact 2022-05-05 06:01:40 -04:00
Sergei Morozov
194934b74a DBZ-5075: Clean up Javadocs 2022-05-03 13:46:23 +02:00
Sergei Morozov
f6546e4d87 DBZ-5075: Remove unused legacy MySQL code 2022-05-03 13:46:23 +02:00
Sergei Morozov
1e8181e5c4 DBZ-5075: Fix typo in a private property name 2022-05-03 13:46:23 +02:00
harveyyue
d03e555144 DBZ-5072 Update the two properties to topic-routing doc 2022-05-03 13:44:58 +02:00
harveyyue
25205b233c DBZ-5072 Config the cache size property for ByLogicalTableRouter caches 2022-05-03 13:44:58 +02:00
Chris Cranford
0ebd75e362 DBZ-5076 Fix typo: archive_log_target to archive_lag_target 2022-05-02 08:32:01 -04:00
harveyyue
7fbc53df9d DBZ-5078 Rename "Mysql" to "MySql" in related MysqlFieldReader interface 2022-05-02 07:21:47 +02:00
Debezium Builder
c32561b3cd [release] Development version for testing module deps 2022-04-28 14:00:14 +00:00
Debezium Builder
901825810a [maven-release-plugin] prepare for next development iteration 2022-04-28 13:51:13 +00:00
Debezium Builder
05dcb45647 [maven-release-plugin] prepare release v2.0.0.Alpha1 2022-04-28 13:51:12 +00:00
Debezium Builder
0248613590 [release] Stable 2.0.0.Alpha1 for testing module deps 2022-04-28 13:48:32 +00:00
Jiri Pechanec
3df6a92965 [release] Changelog for 2.0.0.Alpha1 2022-04-28 15:31:32 +02:00
Jiri Pechanec
1dc96be9b0 DBZ-4450 Generic description of Pub/Sub Lite 2022-04-28 14:43:09 +02:00