This is an automated email from the ASF dual-hosted git repository.

apkhmv pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new fa122e1efc IGNITE-20684 Use proper sync method (#2715)
fa122e1efc is described below

commit fa122e1efc4508d2e7bf658b26b034fd02a2f821
Author: Vadim Pakhnushev <8614891+valep...@users.noreply.github.com>
AuthorDate: Mon Oct 23 19:31:40 2023 +0300

    IGNITE-20684 Use proper sync method (#2715)
---
 .../apache/ignite/internal/client/table/ClientKeyValueBinaryView.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientKeyValueBinaryView.java
 
b/modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientKeyValueBinaryView.java
index b12ae27f91..9c32d5b565 100644
--- 
a/modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientKeyValueBinaryView.java
+++ 
b/modules/client/src/main/java/org/apache/ignite/internal/client/table/ClientKeyValueBinaryView.java
@@ -128,7 +128,7 @@ public class ClientKeyValueBinaryView implements 
KeyValueView<Tuple, Tuple> {
     /** {@inheritDoc} */
     @Override
     public Tuple getOrDefault(@Nullable Transaction tx, Tuple key, Tuple 
defaultValue) {
-        return getOrDefaultAsync(tx, key, defaultValue).join();
+        return sync(getOrDefaultAsync(tx, key, defaultValue));
     }
 
     /** {@inheritDoc} */

Reply via email to