zstan commented on a change in pull request #6330: IGNITE-11592 NPE in case of 
continuing tx and cache stop operation
URL: https://github.com/apache/ignite/pull/6330#discussion_r285615008
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTopologyFutureAdapter.java
 ##########
 @@ -88,6 +88,10 @@ protected final CacheGroupValidation 
validateCacheGroup(CacheGroupContext grp, C
             return new CacheInvalidStateException(
                 "Failed to perform cache operation (cluster is not activated): 
" + cctx.name());
 
+        if (cctx.cache() == null)
+            return new CacheInvalidStateException(
 
 Review comment:
   is it important to know here cache stopped or restarting state ? or your 
message is: for restarting cache it would be proper to wait for restarting in 
this point ?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to