Vladsz83 commented on code in PR #10938:
URL: https://github.com/apache/ignite/pull/10938#discussion_r1331952055
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxStateImpl.java:
##########
@@ -222,11 +222,7 @@ public class IgniteTxStateImpl extends
IgniteTxLocalStateAdapter {
this.recovery = recovery;
- if (mvccEnabled != null && mvccEnabled != cacheCtx.mvccEnabled())
- throw new IgniteCheckedException("Failed to enlist new cache to
existing transaction " +
- "(caches with different mvcc settings can't be enlisted in one
transaction).");
-
- mvccEnabled = cacheCtx.mvccEnabled();
+ mvccEnabled = false;
Review Comment:
I think we can remove IgniteTxStateImpl#mvccEnabled. WDYT?
--
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]