tkalkirill commented on code in PR #1305:
URL: https://github.com/apache/ignite-3/pull/1305#discussion_r1012754106


##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/engine/MvTableStorage.java:
##########
@@ -164,43 +166,47 @@ default IndexStorage getOrCreateIndex(int partitionId, 
UUID indexId) {
     void destroy() throws StorageException;
 
     /**
-     * Prepares the partition storage for rebalancing: makes a backup of the 
current partition storage and creates a new storage.
+     * Prepares partition and index storages for rebalancing: makes backup of 
the partition storage and its index storages (hash and sorted)
+     * then creates new storages.
      *
-     * <p>This method must be called before every full rebalance of the 
partition storage, so that in case of errors or cancellation of the
-     * full rebalance, we can restore the partition storage from the backup.
+     * <p>This method must be called before every full rebalance, so that in 
case of errors or cancellation of the full rebalance, we can
+     * restore the partition storage and its index storages from the backup.
      *
      * <p>Full rebalance will be completed when one of the methods is called:
      * <ol>
      *     <li>{@link #abortRebalanceMvPartition(int)} - in case of a full 
rebalance cancellation or failure, so that we can
-     *     restore the partition storage from a backup;</li>
+     *     restore thepartition storage and its index storages from a 
backup;</li>

Review Comment:
   Fix it



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