vldpyatkov commented on a change in pull request #608:
URL: https://github.com/apache/ignite-3/pull/608#discussion_r800561920



##########
File path: 
modules/runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java
##########
@@ -346,6 +394,17 @@ public void start(@Nullable String cfg) {
         }
     }
 
+    /**
+     * Checks the node up to date by metadata.
+     *
+     * @param metastorageRevision Metastorage revision.
+     * @param appliedRevision Last applied node revision.
+     * @return True when the applied revision is greater enough to node 
recovery complete, false otherwise.
+     */
+    private boolean isMetadataUpToDate(long metastorageRevision, long 
appliedRevision) {
+        return metastorageRevision - 100 < appliedRevision;

Review comment:
       We have no this practice in Ignite 3.
   We may use a configuration (but now we also have no something like this) to 
it.
   I think TODO is needed here, but nothing more required...




-- 
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