ibessonov commented on code in PR #1490:
URL: https://github.com/apache/ignite-3/pull/1490#discussion_r1082584043


##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/impl/MetaStorageManagerImpl.java:
##########
@@ -842,11 +753,9 @@ public boolean hasNext() {
             }
 
             try {
-                try {
-                    return innerIterFut.thenApply(Iterator::hasNext).get();
-                } catch (InterruptedException | ExecutionException e) {
-                    throw new MetaStorageException(CURSOR_EXECUTION_ERR, e);
-                }
+                return innerCursorFut.thenApply(Iterator::hasNext).get();
+            } catch (InterruptedException | ExecutionException e) {
+                throw new MetaStorageException(CURSOR_EXECUTION_ERR, e);

Review Comment:
   Other similar catches in this class, that handle interrupted exceptions



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

Reply via email to