sk0x50 commented on code in PR #5659:
URL: https://github.com/apache/ignite-3/pull/5659#discussion_r2048808692
##########
modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/PartitionReplicaLifecycleManager.java:
##########
@@ -1703,4 +1703,9 @@ public HybridTimestamp
currentSafeTimeForZonePartition(int zoneId, int partId) {
return
requireNonNull(zoneResourcesManager.getZonePartitionResources(new
ZonePartitionId(zoneId, partId))).raftListener()
.currentSafeTime();
}
+
+ @TestOnly
+ public CompletableFuture<ZonePartitionReplicaListener>
zonePartitionResourcesReplicaFuture(ZonePartitionId zonePartitionId) {
+ return
zoneResourcesManager.getZonePartitionResources(zonePartitionId).replicaListenerFuture();
Review Comment:
Ok. I will do that. My goal was to preserve package-private access to
`ZonePartitionResources` class.
--
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]