Vladsz83 commented on code in PR #10938:
URL: https://github.com/apache/ignite/pull/10938#discussion_r1331956292


##########
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java:
##########
@@ -1413,57 +1410,9 @@ private Iterable<List<?>> executeSelect0(
      * @return Query results cursor.
      */
     private Iterable<List<?>> lockSelectedRows(Iterable<List<?>> cur, 
GridCacheContext cctx, int pageSize, long timeout) {
-        assert cctx != null && cctx.mvccEnabled();

Review Comment:
   Do we need UnsupportedOperationException here? Otherwise, the behaviour 
variates depending on '-ea' JVM process option.



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