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


##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/MvPartitionStorage.java:
##########
@@ -30,6 +31,21 @@
  * <p>Each MvPartitionStorage instance represents exactly one partition.
  */
 public interface MvPartitionStorage extends AutoCloseable {
+    /**
+     * Last known replicator index. {@code 0} if index is unknown.
+     */
+    long appliedIndex();
+
+    /**
+     * Sets the last known replicator index.
+     */
+    void appliedIndex(long appliedIndex) throws StorageException;
+
+    /**
+     * {@link #appliedIndex()} value consistent with the data, already 
persisted on the storage.
+     */
+    long persistedIndex();

Review Comment:
   That's too much in my opinion



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