SammyVimes commented on code in PR #1619:
URL: https://github.com/apache/ignite-3/pull/1619#discussion_r1095596357


##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/MvPartitionStorage.java:
##########
@@ -225,8 +225,9 @@ public interface MvPartitionStorage extends 
ManuallyCloseable {
      * @param lowWatermark A time threshold for the row. Rows younger then the 
watermark value will not be removed.
      * @return A pair of table row and row id, where a timestamp of the row is 
less than or equal to {@code lowWatermark}.
      *      {@code null} if there's no such value.
+     * @throws StorageException If failed to poll element for vacuum.
      */
-    default @Nullable TableRowAndRowId pollForVacuum(HybridTimestamp 
lowWatermark) {
+    default @Nullable TableRowAndRowId pollForVacuum(HybridTimestamp 
lowWatermark) throws StorageException {

Review Comment:
   Every other method of MvPartitionStorage explicitly states that it throws 
StorageException, so this looks consistent



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