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


##########
modules/storage-api/src/testFixtures/java/org/apache/ignite/internal/storage/impl/TestMvPartitionStorage.java:
##########
@@ -378,19 +381,59 @@ private static ReadResult walkVersionChain(VersionChain 
chainHead, HybridTimesta
 
     @Override
     public Cursor<ReadResult> scanVersions(RowId rowId) throws 
StorageException {
-        checkClosed();
+        checkStorageClosedOrInProcessFullRebalance();
+
+        return new Cursor<>() {

Review Comment:
   It would, method would become much smaller. And, generally speaking, smaller 
methods are better.



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