diff --git a/bindings/java/src/main/com/apple/foundationdb/FDBDatabase.java b/bindings/java/src/main/com/apple/foundationdb/FDBDatabase.java index 6fb9591b4e..038aacb2e6 100644 --- a/bindings/java/src/main/com/apple/foundationdb/FDBDatabase.java +++ b/bindings/java/src/main/com/apple/foundationdb/FDBDatabase.java @@ -45,7 +45,7 @@ class FDBDatabase extends NativeObjectWrapper implements Database, OptionConsume @Override public T run(Function retryable, Executor e) { - Transaction t = this.createTransaction(); + Transaction t = this.createTransaction(e); try { while (true) { try { @@ -63,7 +63,7 @@ class FDBDatabase extends NativeObjectWrapper implements Database, OptionConsume @Override public T read(Function retryable, Executor e) { - return this.run(retryable); + return this.run(retryable, e); } @Override diff --git a/documentation/sphinx/source/old-release-notes/release-notes-520.rst b/documentation/sphinx/source/old-release-notes/release-notes-520.rst index fffa7d083b..20eb049ae0 100644 --- a/documentation/sphinx/source/old-release-notes/release-notes-520.rst +++ b/documentation/sphinx/source/old-release-notes/release-notes-520.rst @@ -2,6 +2,27 @@ Release Notes ############# +5.2.8 +===== + +Bindings +-------- + +* Java: ``FDBDatabase::run`` and ``FDBDatabase::read`` now use the ``Executor`` provided for executing asynchronous callbacks instead of the default one for the database. `(Issue #640) `_ + +5.2.7 +===== + +Bindings +-------- + +* The go bindings now caches database connections on a per-cluster basis. `(Issue #607) `_ + +Fixes +----- + +* Sometimes the multi-version client would not reconnect to the cluster after the database was upgraded. `(PR #637) `_ + 5.2.6 =====