From 5f7c5616914c8c1ebb78ce186162472f2bede2e1 Mon Sep 17 00:00:00 2001 From: "patrick.fry" Date: Sun, 5 Jan 2025 10:38:08 -0500 Subject: [PATCH] Enh 37186707 - [37162410->14.1.2.0.1] RWBM.flush() should not call storeAll() if the entry set is empty (14.1.2.0 cl 112563 --> ce/14.1.2.0) [git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v14.1.2.0/": change = 113191] --- .../main/java/com/tangosol/net/cache/ReadWriteBackingMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prj/coherence-core/src/main/java/com/tangosol/net/cache/ReadWriteBackingMap.java b/prj/coherence-core/src/main/java/com/tangosol/net/cache/ReadWriteBackingMap.java index 3fb80e3c9c10..ce054f9020b0 100644 --- a/prj/coherence-core/src/main/java/com/tangosol/net/cache/ReadWriteBackingMap.java +++ b/prj/coherence-core/src/main/java/com/tangosol/net/cache/ReadWriteBackingMap.java @@ -3522,7 +3522,7 @@ protected void flush(WriteQueue queue, StoreWrapper store) } } - if (fBatch) + if (fBatch && !setBatch.isEmpty()) { try {