anton-vinogradov commented on code in PR #10938:
URL: https://github.com/apache/ignite/pull/10938#discussion_r1332028814


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheDistributedQueryManager.java:
##########
@@ -548,7 +545,6 @@ private CacheQueryFuture<?> 
queryDistributed(GridCacheQueryBean qry, final Colle
     @Override public GridCloseableIterator scanQueryDistributed(final 
GridCacheQueryAdapter qry,
         Collection<ClusterNode> nodes) throws IgniteCheckedException {
         assert qry.type() == GridCacheQueryType.SCAN : qry;
-        assert qry.mvccSnapshot() != null || !cctx.mvccEnabled();

Review Comment:
   It's a possible case.
   Removal is also the option, since the goal is the removal :)



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to