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


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/mvcc/MvccUtils.java:
##########
@@ -588,32 +585,9 @@ private static boolean isVisible(GridCacheContext cctx, 
long link,
      */
     private static <R> R invoke(GridCacheContext cctx, long link, 
MvccClosure<R> clo, MvccSnapshot snapshot)
         throws IgniteCheckedException {
-        assert 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