Skip to content

Commit 1b2ca34

Browse files
committed
(osheroff#22) sync with Upstream
Merge conflicts have been resolved. Refactoring and latch related changes have been added. Authentication on greeting packet related code have been retained the same.
2 parents b4aaed2 + dd710a5 commit 1b2ca34

File tree

2 files changed

+239
-194
lines changed

2 files changed

+239
-194
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@
2424
- Fixes for JSON data in mysql 8.0.16+ https://github.com/shyiko/mysql-binlog-connector-java/pull/288
2525
- more fixes for the bizarre azure platform https://github.com/shyiko/mysql-binlog-connector-java/pull/275
2626

27+
## [0.21.0](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.20.1...0.21.0) - 2020-06-08
28+
29+
### Fixed
30+
- Potential deadlock when keepAlive is on ([#321](https://github.com/shyiko/mysql-binlog-connector-java/issues/321)).
31+
32+
### Changed
33+
- `BinaryLogClient.LifecycleListener::onConnect()` order relative to keepAlive thread `start()`.
34+
Calling `disconnect()` inside `onConnect()` is now guaranteed to terminate keepAlive thread ([#213](https://github.com/shyiko/mysql-binlog-connector-java/pull/213),
35+
[260](https://github.com/shyiko/mysql-binlog-connector-java/pull/260)).
36+
A side effect of this change is that throwing RuntimeException inside `onConnect()` will no longer prevent keepAlive thread from starting.
37+
2738
## [0.20.1](https://github.com/shyiko/mysql-binlog-connector-java/compare/0.20.0...0.20.1) - 2019-05-12
2839

2940
### Added

0 commit comments

Comments
 (0)