J-Bakuli commented on code in PR #11559: URL: https://github.com/apache/ignite/pull/11559#discussion_r1815238734
########## modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java: ########## @@ -1059,6 +1059,10 @@ public List<GridCacheClearAllRunnable<K, V>> splitClearLocally(boolean srv, bool /** {@inheritDoc} */ @Override public void clear() throws IgniteCheckedException { + if (ctx.transactional() && ctx.grid().transactions().tx() != null) Review Comment: as we have discussed with @shishkovilja, GridCacheMvccManager#pendingExplicit contains the mapping of Thread ID to value thus it leads to unexpected behaviour of forbidding an operation. That is why for some cases it could be useful to check with `ctx.grid().transactions().tx() != null` instead. -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org