You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by il...@apache.org on 2021/03/09 16:19:26 UTC
[ignite] branch master updated: IGNITE-12508 Add missing cache
remove to ClusterCachesInfo - Fixes #8845.
This is an automated email from the ASF dual-hosted git repository.
ilyak 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 6560a8c IGNITE-12508 Add missing cache remove to ClusterCachesInfo - Fixes #8845.
6560a8c is described below
commit 6560a8c5d836556536ec79ef94f6147a2e9a23b5
Author: Atri Sharma <at...@gmail.com>
AuthorDate: Tue Mar 9 19:18:40 2021 +0300
IGNITE-12508 Add missing cache remove to ClusterCachesInfo - Fixes #8845.
Signed-off-by: Ilya Kasnacheev <il...@gmail.com>
---
.../org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
index 7cb72ef..ffe51c8 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
@@ -233,6 +233,8 @@ public class ClusterCachesInfo {
if (!locCaches.contains(e.getKey())) {
cachesIter.remove();
+ registeredCachesById.remove(e.getValue());
+
ctx.discovery().removeCacheFilter(e.getKey());
}
}