zstan commented on a change in pull request #7853:
URL: https://github.com/apache/ignite/pull/7853#discussion_r435292960
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
##########
@@ -4759,6 +4763,8 @@ private boolean clearLocally0(K key, boolean readers) {
ctx.checkSecurity(SecurityPermission.CACHE_REMOVE);
+ ctx.shared().cache().checkReadOnlyState("clear", ctx.config());
Review comment:
I suppose no neet to check mvcc and security permissions in already
readonly cluster ? may be we need to move it upper ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]