This is an automated email from the ASF dual-hosted git repository. av pushed a commit to branch ignite-20177 in repository https://gitbox.apache.org/repos/asf/ignite.git
commit e08035e9bc6cd9aa24d9e6fa2ed610ea41fb2306 Author: Anton Vinogradov <[email protected]> AuthorDate: Tue Aug 8 15:19:10 2023 +0300 WIP --- .../processors/cache/distributed/GridCacheTxRecoveryFuture.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryFuture.java index 6e5906c1951..f984620cd8c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryFuture.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryFuture.java @@ -206,7 +206,7 @@ public class GridCacheTxRecoveryFuture extends GridCacheCompoundIdentityFuture<B boolean prepared; try { - prepared = fut == null ? true : fut.get(); + prepared = fut == null || fut.get(); } catch (IgniteCheckedException e) { U.error(log, "Check prepared transaction future failed: " + e, e); @@ -549,7 +549,7 @@ public class GridCacheTxRecoveryFuture extends GridCacheCompoundIdentityFuture<B private final IgniteUuid futId = IgniteUuid.randomUuid(); /** Node ID. */ - private UUID nodeId; + private final UUID nodeId; /** * @param nodeId Node ID.
