sashapolo commented on a change in pull request #174:
URL: https://github.com/apache/ignite-3/pull/174#discussion_r659667158



##########
File path: 
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/MetaStorageManager.java
##########
@@ -504,20 +493,12 @@ public synchronized void deployWatches() {
     }
 
     /**
-     * @return Applied revision for {@link VaultManager#putAll(Map, ByteArray, 
long)} operation.
-     * @throws IgniteInternalCheckedException If couldn't get applied revision 
from vault.
+     * @return Applied revision for {@link VaultManager#putAll} operation.
      */
-    private long appliedRevision() throws IgniteInternalCheckedException {
-        byte[] appliedRevision;
+    private long appliedRevision() {
+        byte[] appliedRevision = vaultMgr.get(APPLIED_REV).join().value();

Review comment:
       it used to throw `IgniteInternalCheckedException` which was **always** 
wrapped into an `IgniteInternalException` which would also not be expected




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