Commit Graph

7056 Commits

Author SHA1 Message Date
Chris Cranford
0c05128439 DBZ-5287 Upgrade MongoDB driver to 4.6.1 2022-06-23 07:39:31 +02:00
Anisha Mohanty
27d17fd77e DBZ-5297 Upgrade azure-messaging-eventhubs to 5.12.1 version 2022-06-22 12:04:00 -04:00
Vojtech Juranek
e15f148deb DBZ-5070 Don't reset lsn when lastCommitLsn is null
Currently we update first `lsn` and then update `lastCommitLsn` in
`PostgresOffsetContext` constructor. However, when `lastCommitLsn`
is for whatever reason `null`, previously updated `lsn` is reset to
`null` as `updateLastCommit()` updates also `lsn`. This can have
unwanted consequences like streaming again records which were already
streamed. To prevent this, update `lsn` in `updateLastCommit()` only
when `lastCommitLsn` is not `null`.
2022-06-22 13:55:17 +02:00
Jiri Pechanec
5e1ae24e92 DBZ-5272 Notify all threads in case of mutliple writers 2022-06-21 07:08:39 +02:00
Jiri Pechanec
e5935d3540 DBZ-5268 Fix contributor alias 2022-06-20 14:11:36 +02:00
rahulkhanna
3eda41e128 DBZ-5268-redis-store-does-not-work-with-gcp-managed-redis 2022-06-20 14:11:36 +02:00
Vojtech Juranek
5f1d420fb5 DBZ-5273 Support using variables in KILL command 2022-06-20 13:13:35 +02:00
Jiri Pechanec
17da915bd1 DBZ-5031 Add contributor 2022-06-20 12:00:05 +02:00
Jiri Pechanec
4fc4c8c374 DBZ-5031 Stop connector on failure to find resume LSN 2022-06-20 12:00:05 +02:00
Oskar Polak
3e288b8385 DBZ-5031 Additional logging when offset flushing is not allowed 2022-06-20 12:00:05 +02:00
Jiri Pechanec
38726a8451 DBZ-5260 Fix imports 2022-06-20 09:22:24 +02:00
harveyyue
a608569217 DBZ-5271 Support set role statement for mysql8 2022-06-20 09:04:15 +02:00
Jiri Pechanec
0924256a8a DBZ-5260 Add contributor 2022-06-20 08:56:57 +02:00
Tim Patterson
c0323305ac DBZ-5260 Filter out unavailable replicaset members 2022-06-20 08:56:57 +02:00
Jiri Pechanec
38cd6907ae DBZ-3942 Load correct last commit LSN from offsets 2022-06-17 14:49:44 +02:00
Jiri Pechanec
e0efd68852 DBZ-5031 Add contributor 2022-06-17 12:39:56 +02:00
Jiri Pechanec
04c474bac7 DBZ-5031 Enable LSN flushing only after processed message 2022-06-17 12:39:56 +02:00
Jiri Pechanec
5721dd7ace DBZ-5031 Emit warning if not exact LSN is found 2022-06-17 12:39:56 +02:00
Jun Zhao
29fbdc03bf DBZ-5031 Stop skipping message if last received lsn is higher or equal to the startStreamingLsn in WalPositionLocation 2022-06-17 12:39:56 +02:00
Jiri Pechanec
44107961e5 DBZ-4367 Align test with new schema changes behaviour 2022-06-17 08:53:47 +02:00
Jiri Pechanec
86abed2f9b DBZ-4834 Fix test 2022-06-16 14:52:47 +02:00
Chris Cranford
263ba5aad6 DBZ-5256 Add internal.log.mining.transaction.snapshot.boundary.mode option
This internal option is meant to replace the old `log.mining.query.logs.for.snapshot.offset`.
This now enum-based setting provides much more flexibility by being able to completely
disable the in-progress transaction check (now the default), only grab transactions that are
in-progress from V$TRANSACTION, or finally be able to grab all in-progress transactions that
are both from V$TRANSACTION and by scanning the logs.
2022-06-16 12:44:45 +02:00
Chris Cranford
3fb5bf1339 DBZ-4451 Introduce SchemaChangeEvent factory methods 2022-06-16 09:19:41 +02:00
Chris Cranford
b6549670c8 DBZ-4451 Allow test to be extended by connectors 2022-06-16 09:19:41 +02:00
Chris Cranford
863abcd081 DBZ-4451 Store previous table id in alter schema change events
When a table is renamed with the ALTER TABLE statement, the schema
history record not only will reference the current table's unique id
in the "id" metadata, but will also refer to the old table name in
the "previousId" metadata field.
2022-06-16 09:19:41 +02:00
Chris Cranford
20bb2adea5 DBZ-4834 Fix incremental snapshot of table added to include list 2022-06-16 08:39:16 +02:00
Chris Cranford
5983703974 DBZ-5259 Upgrade to Quarkus 2.10.0.Final 2022-06-16 08:37:06 +02:00
Chris Cranford
44159c95be DBZ-5225 Add EVENT_SCN_KEY key 2022-06-16 08:27:32 +02:00
Bob Roldan
18688077bf DBZ-5225 Align source.scn with the event's scn 2022-06-16 08:27:32 +02:00
Chris Cranford
4d30e6be47 DBZ-5257 Source info table order deterministic for rename schema changes 2022-06-16 08:19:38 +02:00
Chris Cranford
14a3b46ee5 DBZ-5258 Fix test assertions using static database names 2022-06-15 18:05:56 -04:00
Anisha Mohanty
cdd3e4a482 DBZ-5069 Use 'version.maven' property to provide maven version 2022-06-15 14:42:54 +02:00
Anisha Mohanty
0c9b091bf5 DBZ-5069 Update maven version to 3.8.4 2022-06-15 14:42:54 +02:00
Anisha Mohanty
777c91c4bd DBZ-5069 Upgarde maven-core & maven-plugin-api to 3.8.4 2022-06-15 14:42:54 +02:00
Chris Cranford
46bef9c3ae DBZ-4890 BigDecimal scale match Field when column uses negative scale 2022-06-15 12:27:56 +02:00
harveyyue
f6a04e2db8 DBZ-5236 Cannot convert field type tinyint(1) unsigned to boolean 2022-06-13 14:42:20 +02:00
Bob Roldan
5767951893 DBZ-5233 Use tag regions in shared fragment to specify MBean formats 2022-06-13 14:37:54 +02:00
Bob Roldan
d7a3dfbb14 DBZ-5233 Use fragments to specify MBean names vs. ifeval conditionals 2022-06-13 14:37:54 +02:00
Jiri Pechanec
db52977626 DBZ-5241 More specific pattern 2022-06-13 14:23:12 +02:00
Chris Cranford
93af38c189 DBZ-5241 Parse character set introducers on default values 2022-06-13 14:23:12 +02:00
Chris Cranford
1d7f53f9b7 DBZ-5237 Allow LOB storage cause to use quoted string identifiers 2022-06-13 13:30:42 +02:00
Chris Cranford
dd87650120 DBZ-5230 Extend syntax support for ALTER TABLE TRUNCATE PARTITION 2022-06-13 13:10:23 +02:00
Mark Bereznitsky
a53a6bb4a8 DBZ-5207 use the core mvnw in all the incubating plugins builds 2022-06-13 10:58:24 +02:00
Mark Bereznitsky
6c3ce8e63d DBZ-5207 add the rest of the mvnw commands 2022-06-13 10:58:24 +02:00
Mark Bereznitsky
cd0f66e31a DBZ-5207 change workflows to use the Maven wrapper instead of hardcoding the version 2022-06-13 10:58:24 +02:00
Vojtech Juranek
25eba9749d DBZ-5198 Add support for SQL server specific table delimiters
Add suppoprt for `TableId` delimiters and provide implementation for
SQL server. SQL server allows to use reserved words in table names or
names with spaces, but they have to wrapped by `[]` characters, e.g.
`[dbname].[table name]`.

Debezium can handle spaces e.g. in table include list, but fails when
parsing snapshot select, therefore the parsing with predicates is used
only for parsing spanshot select for now. If useful, it can be used
later on on other places as well.
2022-06-13 10:57:15 +02:00
Vojtech Juranek
796e17b2c6 DBZ-5198 Move predicates for parsing TableId into dedicate class
Moving the predicates into parsing context decouples the predicates from
the private `TableIdTokenizer` class. Moving the predicates into
separate class would allow us to provide database specific
implementations.
2022-06-13 10:57:15 +02:00
Jiri Pechanec
efedf7d321 DBZ-5069 Change required Maven docs 2022-06-13 09:15:51 +02:00
Anisha Mohanty
7727871c1d DBZ-5069 Use maven 3.8.4 version with enforcer plugin 2022-06-13 08:42:29 +02:00
Chris Cranford
e142203a86 DBZ-5226 Improve test wait-time performance 2022-06-09 15:15:22 -04:00