You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/09/08 14:36:56 UTC
[GitHub] [ignite] ascherbakoff commented on a change in pull request #8186: IGNITE-13358
ascherbakoff commented on a change in pull request #8186:
URL: https://github.com/apache/ignite/pull/8186#discussion_r484971207
##########
File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/PartitionsEvictManager.java
##########
@@ -111,13 +103,10 @@
* @param grp Group context.
*/
public void onCacheGroupStopped(CacheGroupContext grp) {
- GroupEvictionContext grpEvictionCtx = evictionGroupsMap.remove(grp.groupId());
+ GroupEvictionContext grpEvictionCtx =
+ evictionGroupsMap.computeIfAbsent(grp.groupId(), p -> new GroupEvictionContext(grp));
Review comment:
I'll create a separate ticket to resolve this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org