tkalkirill commented on code in PR #1952:
URL: https://github.com/apache/ignite-3/pull/1952#discussion_r1173471244
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/PartitionListener.java:
##########
@@ -88,25 +89,31 @@ public class PartitionListener implements RaftGroupListener
{
/** Storage index tracker. */
private final PendingComparableValuesTracker<Long> storageIndexTracker;
+ /** Low watermark supplier, will return {@code null} if no low watermark
has been assigned yet. */
+ private final Supplier<HybridTimestamp> lowWatermarkSupplier;
+
/**
* The constructor.
*
* @param partitionDataStorage The storage.
* @param safeTime Safe time tracker.
* @param storageIndexTracker Storage index tracker.
+ * @param lowWatermarkSupplier Low watermark supplier, will return {@code
null} if no low watermark has been assigned yet.
*/
public PartitionListener(
PartitionDataStorage partitionDataStorage,
StorageUpdateHandler storageUpdateHandler,
TxStateStorage txStateStorage,
PendingComparableValuesTracker<HybridTimestamp> safeTime,
- PendingComparableValuesTracker<Long> storageIndexTracker
+ PendingComparableValuesTracker<Long> storageIndexTracker,
+ Supplier<HybridTimestamp> lowWatermarkSupplier
Review Comment:
Try to 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]