Commit Graph

1694 Commits

Author SHA1 Message Date
Grzegorz Kołakowski
85732f5ccb DBZ-1115 Specify schema name as well while taking schema locks 2019-02-01 06:27:33 +01:00
Gunnar Morling
e9c2f5ee99 DBZ-1116 Log message about missing LSN at WARN level 2019-02-01 06:24:49 +01:00
jchipmunk
acbc94e8b0 DBZ-1112 rename prepareQuery() to prepareQueryWithBlockingConsumer()
Reason:
reference to prepareQuery is ambiguous
[ERROR] both method prepareQuery(java.lang.String,io.debezium.jdbc.JdbcConnection.StatementPreparer,io.debezium.jdbc.JdbcConnection.BlockingResultSetConsumer) in io.debezium.jdbc.JdbcConnection and method prepareQuery(java.lang.String,io.debezium.jdbc.JdbcConnection.StatementPreparer,io.debezium.jdbc.JdbcConnection.ResultSetConsumer) in io.debezium.jdbc.JdbcConnection match
2019-01-30 09:36:09 +01:00
jchipmunk
ff4e38cc46 DBZ-1112 Strings.join() doesn't apply conversation for first element
Replace:
- Integer.parseInt() to Integer.valueOf()
- Short.parseShort() and new Short() to Short.valueOf()
- Long.parseLong() to Long.valueOf()
2019-01-30 09:36:09 +01:00
Gunnar Morling
41b7fbe78e Adding note on testing Postgres connector with external DB 2019-01-30 09:25:12 +01:00
Gunnar Morling
dd01d26d16 DBZ-1113 Pulling up test to MySqlDdlParserTest;
* Adding Joy Gao to COPYRIGHT.txt
* Typo fix
2019-01-30 09:22:05 +01:00
Joy Gao
030cf9ac14 DBZ-1113 allow adding multiple partitions in a single statement 2019-01-30 09:22:05 +01:00
Gunnar Morling
cc0df61665 DBZ-1111 Allowing to use drop-slot-on-close with PG 10 or newer 2019-01-29 14:44:10 +01:00
Gunnar Morling
2a80931d03 DBZ-962 Avoiding Short constructor 2019-01-29 10:28:48 +01:00
Gunnar Morling
e84c6e2238 DBZ-962 Avoiding dependency to JAXB 2019-01-29 10:28:48 +01:00
Jiri Pechanec
d7da674fd7 [release] Missed schema change name from migration notes 2019-01-28 18:04:38 +01:00
Jiri Pechanec
e8f7c616c3 [jenkins-jobs] SQL Server promoted to main repo 2019-01-28 14:59:23 +01:00
Jenkins user
c5b7d21d3e [maven-release-plugin] prepare for next development iteration 2019-01-28 11:07:04 +00:00
Jenkins user
f1ae79ff73 [maven-release-plugin] prepare release v0.9.0.CR1 2019-01-28 11:07:04 +00:00
Jiri Pechanec
1c7c317157 [release] Changelog for 0.9.0.CR1 2019-01-28 11:38:47 +01:00
Jiri Pechanec
32f9543979 DBZ-1103 Make pause before interrupt configurable 2019-01-28 11:07:34 +01:00
Gunnar Morling
ccff79e07d DBZ-1105 Removing TableImpl#columnNames field 2019-01-28 10:23:56 +01:00
Gunnar Morling
2dc80b3cc4 DBZ-947 Adding Grzegorz Kołakowski to COPYRIGHT.txt 2019-01-28 09:32:57 +01:00
Gunnar Morling
a27c29765a DBZ-947 Formatting 2019-01-28 09:32:57 +01:00
Grzegorz Kołakowski
64c45c7490 DBZ-947 Reset initial transaction isolation level at snapshot end 2019-01-28 09:32:57 +01:00
Grzegorz Kołakowski
aa8fb2b478 DBZ-947 Log when schema locks are released 2019-01-28 09:32:57 +01:00
Grzegorz Kołakowski
c5578c055b DBZ-947 Revert default isolation level after initial load 2019-01-28 09:32:57 +01:00
Grzegorz Kołakowski
430d828e86 DBZ-947 Add read_uncommitted snapshot.isolation.mode
During this mode neither table nor row-level locks are taken.
Therefore, other transactions are not affected at all.
However, this mode does not guarantee snapshot consistency.
2019-01-28 09:32:57 +01:00
Grzegorz Kołakowski
0835a8efba DBZ-947 Rename snapshot.locking.mode to snapshot.isolation.mode 2019-01-28 09:32:57 +01:00
Grzegorz Kołakowski
b132f2b704 DBZ-947 Fix semantics of snapshot locking modes
Exclusive mode: this mode takes exclusive locks on all monitored tables
during initial load (as documented).

None mode has been renamed to repeatable read since this name better
reflects its characteristics. None suggests that no locks are acquired.
No table locks are acquired indeed, however, repeatable read takes
shared row locks until the end of the transaction, which effectively
prevents other transactions from updating tables.
Table locks are hold only during schema snapshot.
2019-01-28 09:32:57 +01:00
Jiri Pechanec
3bd97d3bd7 DBZ-1103 Wait for completion before interrupt 2019-01-25 21:27:06 +01:00
Jiri Pechanec
80334ea14a DBZ-1101 Increase wait times for shutdown 2019-01-25 21:27:06 +01:00
Jiri Pechanec
52c2cf07dd DBZ-1101 Wait for snapshot when necessary 2019-01-25 21:27:06 +01:00
Gunnar Morling
9dc2c525c9 DBZ-1083 Passing "include-unchanged-toast" option only for wal2json 2019-01-25 11:04:43 +01:00
Gunnar Morling
c9c84afc9d DBZ-1099 Don't enque further records after request to stop 2019-01-25 10:19:19 +01:00
Gunnar Morling
95a13b5dd7 DBZ-1062 Fix MySQL trustStore password setting 2019-01-24 17:38:42 +01:00
Gunnar Morling
9c8a8d191c DBZ-993 Improved logging output 2019-01-24 11:26:02 +01:00
Moira Tagle
01c779fb62 DBZ-175 Setting completed GTIDs in the final binlog reader context in setupUnifiedReader() 2019-01-24 10:43:44 +01:00
Moira Tagle
0e10c4af48 DBZ-175 Modifying BinlogReaderMetrics to take in the BinlogReader name 2019-01-24 10:43:44 +01:00
Gunnar Morling
884f2f40ea DBZ-175 Adding toString() for readers 2019-01-24 10:43:44 +01:00
Gunnar Morling
206cd06c24 DBZ-175 Using passed filters instead of rebuilding them in MySqlSchema 2019-01-24 10:43:44 +01:00
Gunnar Morling
ed4787bc8a DBZ-175 Misc. clean-up;
* Removing unused code (constructor, method and return value)
* Making ParallelSnapshotReader logger static
* Making RecordMakers#restartOffset final; avoiding unchecked cast
2019-01-24 10:43:44 +01:00
Gunnar Morling
965b789dab DBZ-175 Misc. adjustments;
* Dedicated functional interface for halting predicates
* Using semantic temporal types
* Typo fixes
* Exposing SnapshotNewTables through connector config
* Static loggers
* Adding Moira to COPYRIGHT.txt
2019-01-24 10:43:44 +01:00
Moira Tagle
a6d791cd8c DBZ-175 Initial implementation for support to whitelist/blacklist changes;
* The filter config is stored in offsets now, allowing to detect changes
to the config after a connector restart
* In that case, roughly the following steps are done:
- set up a binlog reader for the "old" tables
- set up a snapshot reader for the "new" tables
- if the snapshot is done, set up a binlog reader for the new tables
- if both binlog readers are in proximity of the logs head, stop them
and set up a single binlog reader for all tables
* That behavior is disabled by default for the purposes of testing and
can be enabled via new connector option "snapshot.new.tables"
* To facilitate connector restarts while whitelist/blacklist changes are
processed, separate restart offsets are added to the offsets
2019-01-24 10:43:44 +01:00
Gunnar Morling
276e053f65 DBZ-1090 Some clean-up 2019-01-24 10:11:35 +01:00
Jiri Pechanec
b05daaf2c1 DBZ-1090 Print error details for test database failure 2019-01-24 10:11:35 +01:00
Jiri Pechanec
9b90f10331 DBZ-1090 Change position consists of commit LSN and change LSN 2019-01-24 10:11:35 +01:00
Jiri Pechanec
3a2f93eef8 DBZ-1084 Adding SQL Server to Travis build 2019-01-24 07:44:09 +01:00
Gunnar Morling
b6e36306f6 DBZ-1084 Adding SQL Server to aggregator 2019-01-24 05:46:49 +01:00
Gunnar Morling
d445193b5a DBZ-1067 Moving SourceRecordAssert to core 2019-01-24 05:46:49 +01:00
Grzegorz Kołakowski
9b66e9a2a3 DBZ-1067 Add column blacklisting in SQL Server connector 2019-01-24 05:46:49 +01:00
Jiri Pechanec
2d198a8674 DBZ-1089 Database is no longer part of schema name 2019-01-24 05:46:49 +01:00
Gunnar Morling
1451349ae2 DBZ-1051 Obtaining database name eagerly;
Also fixing some typos and adding issue reference to test.
2019-01-24 05:46:49 +01:00
Jiri Pechanec
805cf9e4bf DBZ-1051 Handle object and db name letter case 2019-01-24 05:46:49 +01:00
Grzegorz Kołakowski
ac9cf8780f DBZ-1078 Cache sys.fn_cdc_map_lsn_to_time() results 2019-01-24 05:46:49 +01:00