sashapolo commented on code in PR #5134:
URL: https://github.com/apache/ignite-3/pull/5134#discussion_r1938927949


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -1191,7 +1192,8 @@ private CompletableFuture<List<BinaryRow>> 
processReadOnlyMultiEntryAction(
     private CompletableFuture<Void> processReplicaSafeTimeSyncRequest(Boolean 
isPrimary) {
         requireNonNull(isPrimary);
 
-        if (!isPrimary) {
+        // Disable safe-time sync if the Colocation feature is enabled, 
safe-time is managed on a different level there.
+        if (!isPrimary || PartitionReplicaLifecycleManager.ENABLED) {

Review Comment:
   I'm not sure, how will this ticket fix this particular thing? This `if` is 
for disabling safe time sync on table-partition level.



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