sashapolo commented on code in PR #5187:
URL: https://github.com/apache/ignite-3/pull/5187#discussion_r1950430156
##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/PartitionReplicaLifecycleManager.java:
##########
@@ -526,24 +537,45 @@ private CompletableFuture<?>
createZonePartitionReplicationNode(
rebalanceRetryDelayConfiguration
);
+ var safeTimeTracker = new
SafeTimeValuesTracker(HybridTimestamp.MIN_VALUE);
+ var storageIndexTracker = new PendingComparableValuesTracker<Long,
Void>(0L);
+
Supplier<CompletableFuture<Boolean>> startReplicaSupplier = () -> {
var eventParams = new
LocalPartitionReplicaEventParameters(zonePartitionId, revision);
+ TxStatePartitionStorage txStatePartitionStorage =
zoneResourcesManager.getOrCreatePartitionTxStateStorage(
+ zonePartitionId.zoneId(),
+ partitionCount,
+ zonePartitionId.partitionId()
+ );
+
+ var raftGroupListener = new ZonePartitionRaftListener(
+ txStatePartitionStorage,
+ txManager,
+ safeTimeTracker,
+ storageIndexTracker,
+ zonePartitionId
+ );
Review Comment:
```suggestion
);
```
--
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]