oracdc v2.15.6
oracdc v2.15.6 is now available.
What's New
-
Bug fix: Fixed an
ArrayIndexOutOfBoundsException: Index -1 out of boundsin the RedoMiner redo log parser that could crash and hang the connector. The cause was the evaluation order of thehasNext()loop condition, which read a record length before checking that the block offset was valid (#168). Thanks to @regme for the report and the fix. -
Faster key detection: A single data dictionary query now detects a table's primary key or, when there is none, the unique index on
NOT NULLcolumns with the fewest columns — replacing several round trips per table (#163). Partitioned unique indexes are accepted when all of their partitions are usable. -
Maverick Synergy is no longer bundled: The Maverick Synergy SSH libraries (LGPL-3.0) are now a
provideddependency and are not shipped in the standalone jar or the Docker image. If you usea2.ssh.provider=maverick, download the jars and add them to the JVMCLASSPATH— see Reading via SSH. The defaultsshjprovider andminaare unaffected. -
Grant scripts:
redo_miner_fixed_tables.sqlandredo_miner_fixed_tables_cdb.sqlnow grantSELECTonV$ARCHIVE_DEST, which is required by thea2.archive.log.dest.idparameter introduced in v2.15.5. -
Internal improvements: Transaction bookkeeping for JMX metrics has been simplified, and
LimitedSizeQueuewas rewritten as a thread-safe bounded deque (#166). Exposed JMX attributes are unchanged. -
Contributing: Pull requests now require accepting the Contributor License Agreement (individual or corporate), checked automatically by a CLA bot. CONTRIBUTING.md was reworked and a pull request template added (#164).