You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2019/09/23 13:05:11 UTC

[ignite] branch master updated: IGNITE-12199 Flush WAL records on backups for transactional caches

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

agura pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d89b9a  IGNITE-12199 Flush WAL records on backups for transactional caches
4d89b9a is described below

commit 4d89b9aea48008aa9ae6da03465ce0cb3fa6dc03
Author: Andrey Gura <ag...@apache.org>
AuthorDate: Thu Sep 19 14:05:15 2019 +0300

    IGNITE-12199 Flush WAL records on backups for transactional caches
---
 .../processors/cache/distributed/GridDistributedTxRemoteAdapter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxRemoteAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxRemoteAdapter.java
index 6936e816..7149bc1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxRemoteAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxRemoteAdapter.java
@@ -814,7 +814,7 @@ public abstract class GridDistributedTxRemoteAdapter extends IgniteTxAdapter
                                 .map(tuple -> tuple.get1().partitionCounter(tuple.get2().updateCounter()))
                                 .collect(Collectors.toList());
 
-                            cctx.wal().log(new DataRecord(entriesWithCounters));
+                            ptr = cctx.wal().log(new DataRecord(entriesWithCounters));
                         }
 
                         if (ptr != null && !cctx.tm().logTxRecords())