AMashenkov commented on a change in pull request #8554:
URL: https://github.com/apache/ignite/pull/8554#discussion_r540002458
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageImpl.java
##########
@@ -1070,6 +1125,31 @@ else if (!isClient && ver.id() > 0) {
return fut;
}
+ /** */
+ private GridFutureAdapter<Boolean> validateBeforeWrite(String key) throws
IgniteCheckedException {
+ boolean supported;
+
+ try {
+ supported = isSupported(ctx);
Review comment:
Is it really necessary to validate all the nodes on every operation?
Do we allow old nodes to connect to new grid? If no, then may be we can
cache 'supported' flag and skip this check if once found all the nodes support
the feature?
----------------------------------------------------------------
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]