JAkutenshi commented on code in PR #4090:
URL: https://github.com/apache/ignite-3/pull/4090#discussion_r1705498553


##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaManager.java:
##########
@@ -762,16 +762,13 @@ public CompletableFuture<Replica> startReplica(
 
     /**
      * Creates and start new replica.
-     * TODO: must be deleted or be private after 
https://issues.apache.org/jira/browse/IGNITE-22373
      *
      * @param replicaGrpId Replication group id.
      * @param storageIndexTracker Storage index tracker.
      * @param newReplicaListenerFut Future that returns ready ReplicaListener 
for replica creation.
      * @return Future that promises ready new replica when done.
      */
-    @VisibleForTesting
-    @Deprecated
-    public CompletableFuture<Replica> startReplica(
+    private CompletableFuture<Replica> startReplica(

Review Comment:
   Yes, it will be removed an the current state of 22373's patch [reflects 
it](https://github.com/apache/ignite-3/pull/4144/files#diff-69e9a603ac4198f678f9d8168888bfa70292521abcc8a22373e3114062e4fc2cL734-L820).



##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaManager.java:
##########
@@ -762,16 +762,13 @@ public CompletableFuture<Replica> startReplica(
 
     /**
      * Creates and start new replica.
-     * TODO: must be deleted or be private after 
https://issues.apache.org/jira/browse/IGNITE-22373
      *
      * @param replicaGrpId Replication group id.
      * @param storageIndexTracker Storage index tracker.
      * @param newReplicaListenerFut Future that returns ready ReplicaListener 
for replica creation.
      * @return Future that promises ready new replica when done.
      */
-    @VisibleForTesting
-    @Deprecated
-    public CompletableFuture<Replica> startReplica(
+    private CompletableFuture<Replica> startReplica(

Review Comment:
   Yes, it will be removed and the current state of 22373's patch [reflects 
it](https://github.com/apache/ignite-3/pull/4144/files#diff-69e9a603ac4198f678f9d8168888bfa70292521abcc8a22373e3114062e4fc2cL734-L820).



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