Commit Graph

964 Commits

Author SHA1 Message Date
Chris Cranford
3182af55da DBZ-3773 Treat empty TIME blob value as null 2021-08-13 06:08:15 +02:00
Chris Cranford
e74b1c4999 DBZ-3838 Suggested changes 2021-08-11 23:57:09 +02:00
Chris Cranford
060420b0bc DBZ-3838 Do not reset trx isolation when using minimal_percona 2021-08-11 23:57:09 +02:00
Chris Cranford
c15cf81e18 DBZ-3839 Correctly skip tests with minor/patch not specified 2021-08-11 07:35:57 +02:00
Sergei Morozov
a40ad7132d DBZ-2975: Remove partition from offset context 2021-08-11 07:34:37 +02:00
Sergei Morozov
77e2ac8a12 DBZ-2975: Introduce io.debezium.pipeline.spi.Offsets 2021-08-11 07:34:37 +02:00
Sergei Morozov
c7ac5fca52 DBZ-2975: Move Partition to io.debezium.pipeline.spi 2021-08-11 07:34:37 +02:00
pkgonan
5e0ffa28d2 DBZ-3765 Allow dot in database.server.name 2021-08-08 16:25:15 -04:00
Kate
c6e530cc27 DBZ-3577 Skip read-only test when gtid mode is off 2021-07-29 07:10:46 +02:00
Kate
6a30ad3811 DBZ-3577 Fix race condition in shouldFailOnSchemaInconsistency test 2021-07-29 07:10:46 +02:00
Kate
9b66ab374a DBZ-3577 Support read-only MySQL incremental snapshots 2021-07-29 07:10:46 +02:00
Chris Cranford
add76ae008 DBZ-3717 Fix formatting 2021-07-22 14:12:38 -04:00
Chris Cranford
c3684539c3 DBZ-3717 Add test case 2021-07-22 14:12:38 -04:00
Chris Cranford
ed31ea9ffb DBZ-3668 Adjust ServiceLoader for SPI change 2021-07-03 16:31:52 +07:00
Gunnar Morling
b84c3c870d DBZ-3668 Extracting SPI package 2021-07-03 16:31:52 +07:00
Chris Cranford
7f7e23b110 DBZ-3668 Add ServiceLoader hook CloudEvents converter 2021-07-03 16:31:52 +07:00
Sergei Morozov
db105baeba DBZ-2975: Add partition awareness to source task components
Co-authored-by: Mike Kamornikov <mikekamornikov@gmail.com>
2021-07-03 10:56:34 +02:00
Jiri Pechanec
472b82abb7 DBZ-3622 Decouple database and schema history record writes 2021-06-29 10:36:41 +02:00
Jiri Pechanec
443c0ce089 DBZ-3622 Fix non-captured database storing; make the code more robust 2021-06-29 10:36:41 +02:00
camile.sing
b05ac5549e DBZ-3638 Modify Mysql SourceInfo to be public 2021-06-17 16:16:05 +02:00
Sergei Morozov
b36e8247a3 DBZ-3615: Keep database connection closed during schema recovery 2021-06-15 11:27:44 +02:00
Gunnar Morling
1ce65fa628 DBZ-2975 Avoiding raw types in some places;
Also parameterizing offset loader contract, so to avoid casts later on.
2021-06-09 16:02:33 +02:00
Sergei Morozov
657a6d2542 DBZ-2975: Extract offset context from object states to method signatures 2021-06-09 16:02:33 +02:00
Sergei Morozov
213d9ffdcc DBZ-3562: Revert test changes from DBZ-3427 2021-05-27 11:03:30 +02:00
Sergei Morozov
3b72e5149c DBZ-3486: Replace @see with @link where a URL is referenced 2021-05-25 07:19:43 +02:00
Jiri Pechanec
4929397022 DBZ-3500 Per-connector table name quoting 2021-05-20 08:06:37 +02:00
Jiri Pechanec
a626dc149f DBZ-3500 Provide common test for incremental snapshot testing 2021-05-20 08:06:37 +02:00
Jiri Pechanec
5486cf3cf9 DBZ-3399 Add asserts for DDLs 2021-05-18 10:26:10 +02:00
Jiri Pechanec
0dc25a6846 DBZ-3399 Store full RENAME TABLE in history 2021-05-18 10:26:10 +02:00
Jiri Pechanec
367746fcc9 DBZ-3485 Emit quoted DROP TABLE 2021-05-18 10:26:10 +02:00
Jiri Pechanec
4df0d93b4d DBZ-2300 Make too many connections retriable 2021-05-13 08:07:38 -04:00
John Martin
cef0997428 DBZ-3508 return empty ConfigDef for ReadToInsertEvent.config 2021-05-11 05:59:33 +02:00
Jiri Pechanec
b4327ab13a DBZ-3499 Moved test statements to examples 2021-05-06 06:14:24 +02:00
Tommy Karlsson
f9028926f8 DBZ-3499 Add support for parsing of GRANT statements with newer MySQL privileges 2021-05-06 06:14:24 +02:00
Jiri Pechanec
5c722341e2 DBZ-3473 Extract incremental snapshot contract 2021-05-06 05:37:36 +02:00
Jiri Pechanec
39d21806eb DBZ-3473 Metrics enabled 2021-05-06 05:37:36 +02:00
Jiri Pechanec
3d940ca14a DBZ-3473 Support for cursor-based fetching 2021-05-06 05:37:36 +02:00
Jiri Pechanec
c53785dde7 DBZ-3473 Incremental Snapshot support for MySQL 2021-05-06 05:37:36 +02:00
Jiri Pechanec
7415dc91de DBZ-3497 Rename the variable 2021-05-05 13:17:28 +02:00
Anisha Mohanty
5156ea0d16 DBZ-3497 Handle MySQL DATE default value parser to accept timestamp 2021-05-05 13:17:28 +02:00
Anisha Mohanty
a6b54c7000 DBZ-3427 Validate the server name field 2021-04-28 13:18:52 +02:00
Gunnar Morling
0250c64013 DBZ-3161 Formatting 2021-04-26 13:07:23 +02:00
Gunnar Morling
b225092f1a DBZ-3161 Using fallback option in legacy code path 2021-04-26 13:07:23 +02:00
Anisha Mohanty
11fb079582 DBZ-3161 Add database.history.store.only.captured.tables.ddl option & CapturedTables metrics to documentation 2021-04-26 13:07:23 +02:00
Anisha Mohanty
f0f8d5d180 DBZ-3161 Refactor/Rename all references of MonitoredTables to CapturedTables 2021-04-26 13:07:23 +02:00
Gunnar Morling
ec5746a7fe DBZ-3233 Propagating socket exceptions 2021-04-21 12:36:47 +02:00
Gunnar Morling
42a7b74725 DBZ-3403 Misc. improvements 2021-04-14 11:14:07 +02:00
Hossein Torabi
ba048cf47d DBZ-3403 Semi Optimisation on MongoDB and MySQL connector for skipped.operations 2021-04-14 11:14:07 +02:00
yangsanity
a2b4c263d3 DBZ-3238 Snapshot fails when reading TIME, DATE, DATETIME fields in mysql from ResultSet 2021-04-08 12:05:29 +02:00
Chris Egerton
67f044ff87 DBZ-3371: Adjust scale of fallback BigDecimal values to match column schema 2021-04-06 10:35:23 +02:00
Jiri Pechanec
f50c3e8222 DBZ-3361 Prefer DDL over logical schema for MySQL 2021-03-30 11:35:12 +02:00
JLDLaughlin
06b0475f17 DBZ-2911 Add additional LSN information to all sources
Adds a new "sequence" field to all sources via the AbstractSourceInfo
class. Specifically, this field is required to deduplicate records
from PostgreSQL sources in O(1) time. The sequence field is a stringified
list of metadata. For PostgreSQL sources, this will include the last
committed LSN and the current LSN. For other sources, this will be NULL
until implemented. A new integration test was added for PostgreSQL.
2021-03-26 09:19:17 +01:00
Gunnar Morling
178140ae9c DBZ-3218 Removing superfluous method parameter 2021-03-19 15:04:20 +01:00
Anisha Mohanty
c761d92b2a DBZ-3218 Add separate method for logging warnings 2021-03-19 15:04:20 +01:00
Jiri Pechanec
495be2659b DBZ-2511 Dedicated logger for schema name adjuster 2021-03-18 14:42:34 +01:00
Jiri Pechanec
11e4880018 DBZ-3309 Revert to MySQL specific default snapshot fetch size 2021-03-18 11:08:26 +01:00
Gunnar Morling
647076ea69 DBZ-2957 Misc. fixes;
* Simplifying reg exp
* Adding leniency towards whitespace
* Reporting *all* problems including correct count
* Fixing incorrect actual/expected order
2021-03-17 14:04:16 +01:00
Anisha Mohanty
2e5a5ce001 DBZ-2957 Handle message.key.columns regex validation time complexity 2021-03-17 14:04:16 +01:00
Jiri Pechanec
f5475cf7c5 DBZ-3304 Fix intermittent test failure 2021-03-17 11:43:01 +01:00
Gunnar Morling
911b5e9a3b DBZ-3271 Unifying filter handling across relational connectors 2021-03-17 09:54:25 +01:00
ani-sha
c39192e9f2 DBZ-3067 Add OR REPLACE condition for create index 2021-02-23 08:54:28 +01:00
Fahim Farook
194258d87b
DBZ-3164 Log database connection validation failures consistently 2021-02-22 14:52:22 +01:00
Gunnar Morling
e024fc60ab DBZ-3095 Propagating socket exceptions 2021-02-19 10:30:41 +01:00
Gunnar Morling
edcc3a041f DBZ-3147 Renaming test connection class 2021-02-19 09:16:31 +01:00
Nitin Agarwal
62f51e8b29 DBZ-3114: addressing review comments 2021-02-18 12:41:34 +01:00
Jiri Pechanec
737d2353a6 DBZ-3114 Test more resilient for repeted runs and testsuite execution 2021-02-18 12:41:34 +01:00
Jiri Pechanec
decb4ec3da DBZ-3114 Tests only for new implementation 2021-02-18 12:41:34 +01:00
Nitin Agarwal
fd1ceeb02e DBZ-3114 Transaction metadata feature in MySQL connector 2021-02-18 12:41:34 +01:00
ani-sha
b6c61ac810 DBZ-2788 Replace MySQL connector option with SMT for mitigating wrong op flag 2021-02-18 12:35:03 +01:00
Gunnar Morling
184d1a2399 DBZ-3056 Misc. clean-up 2021-02-16 12:45:09 +01:00
Yilong Chang
a0b3704832 DBZ-3056 Validate all fields in subclasses. 2021-02-16 12:34:06 +01:00
Yilong Chang
76c7e0d426 DBZ-3056 Extract basic valdiation in parent class. 2021-02-16 12:34:06 +01:00
Gunnar Morling
cb2b2fc07a DBZ-3099 Doc fix 2021-02-16 10:11:23 +01:00
Jiri Pechanec
1c9f7a1c1c DBZ-3099 Document non-volatile fields accessed by a single thread 2021-02-16 10:02:17 +01:00
Jiri Pechanec
745bb6c11d DBZ-3099 Address review comments; extract history comparator for testability 2021-02-16 10:02:17 +01:00
Jiri Pechanec
cb1476ce18 DBZ-3099 Address review comments 2021-02-16 10:02:17 +01:00
Gunnar Morling
5ca1d9fc4f DBZ-3099 Preferring explicit functional interface over Function 2021-02-16 10:02:17 +01:00
Jiri Pechanec
2af13af300 DBZ-3099 Streaming source test for new impl only 2021-02-16 10:02:17 +01:00
Jiri Pechanec
c53082f94f DBZ-3099 Fix typos 2021-02-16 10:02:17 +01:00
Jiri Pechanec
b0f906df35 DBZ-3099 Race condition in waiting for metrics 2021-02-16 10:02:17 +01:00
Jiri Pechanec
21b15facb2 DBZ-3099 Snapshot buffering to handle config corner cases 2021-02-16 10:02:17 +01:00
Jiri Pechanec
7394ecfd62 DBZ-3099 Make streaming MBean name configurable in tests 2021-02-16 10:02:17 +01:00
Jiri Pechanec
048530aeb8 DBZ-3099 Make metrics tests running with legacy 2021-02-16 10:02:17 +01:00
Jiri Pechanec
ea247b710d DBZ-3099 Rewritten reader tests to connector 2021-02-16 10:02:17 +01:00
Jiri Pechanec
6a9ca7d544 DBZ-3099 Fix schema recovery; Add table level locking 2021-02-16 10:02:17 +01:00
Jiri Pechanec
08e4988c72 DBZ-3093 Unify snapshot and streaming parsing 2021-02-16 10:02:17 +01:00
Jiri Pechanec
7bfbd5c7c5 DBZ-3093 Dispatch schema change events always 2021-02-16 10:02:17 +01:00
Jiri Pechanec
6607310f13 DBZ-3093 Separate parsing and change applying phase in MySQL schema 2021-02-16 10:02:17 +01:00
Jiri Pechanec
5bf5e18d81 DBZ-3086 Legacy source info make for legacy tests 2021-02-16 10:02:16 +01:00
Jiri Pechanec
f01af4bec8 DBZ-3086 Source info formatting for legacy implementation 2021-02-16 10:02:16 +01:00
Jiri Pechanec
14a628ed60 DBZ-3086 Mark moved method as deprecated 2021-02-16 10:02:16 +01:00
Jiri Pechanec
a43bae7638 DBZ-3086 Separate offset and source info 2021-02-16 10:02:16 +01:00
Jiri Pechanec
e9ed4a0a2a DBZ-3086 Remove parallel snapshot reader offsets 2021-02-16 10:02:16 +01:00
Jiri Pechanec
488464419e DBZ-3086 Separate legacy and new SourceInfo 2021-02-16 10:02:16 +01:00
Jiri Pechanec
1d86d7068f DBZ-3077 Unified record creation 2021-02-16 10:02:16 +01:00
ani-sha
5f8a22a5df DBZ-2858 Make field descriptions consistent for time values 2021-02-16 09:55:35 +01:00
Jiri Pechanec
f63d08fc28 DBZ-3023 Handle default charsets for table 2021-02-05 05:44:14 +01:00
Jiri Pechanec
ed7a1c2486 DBZ-3047 Run the test after legacy package 2021-02-05 05:44:06 +01:00
Jiri Pechanec
c9fd39d04c DBZ-1865 Support for when_needed snapshot 2021-02-04 09:07:55 +01:00
Jiri Pechanec
f57343dc3b DBZ-1865 Use OptionaLong; add comments 2021-02-04 09:07:55 +01:00