ascherbakoff commented on code in PR #4821: URL: https://github.com/apache/ignite-3/pull/4821#discussion_r1891307190
########## modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaManager.java: ########## @@ -1131,7 +1131,6 @@ private void sendSafeTimeSyncIfReplicaReady(CompletableFuture<Replica> replicaFu ReplicaSafeTimeSyncRequest req = REPLICA_MESSAGES_FACTORY.replicaSafeTimeSyncRequest() .groupId(toReplicationGroupIdMessage(replica.groupId())) - .proposedSafeTime(proposedSafeTime) Review Comment: 🆗 ########## modules/table/src/integrationTest/java/org/apache/ignite/distributed/ItTxObservableTimePropagationTest.java: ########## @@ -17,34 +17,49 @@ package org.apache.ignite.distributed; +import static java.util.stream.Collectors.toList; import static org.apache.ignite.distributed.ItTxTestCluster.NODE_PORT_BASE; import static org.apache.ignite.internal.tx.impl.ResourceVacuumManager.RESOURCE_VACUUM_INTERVAL_MILLISECONDS_PROPERTY; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; -import java.util.Collection; +import java.util.List; import org.apache.ignite.internal.TestHybridClock; import org.apache.ignite.internal.hlc.HybridClock; import org.apache.ignite.internal.hlc.HybridTimestamp; +import org.apache.ignite.internal.logger.IgniteLogger; +import org.apache.ignite.internal.logger.Loggers; +import org.apache.ignite.internal.raft.Loza; +import org.apache.ignite.internal.raft.server.impl.JraftServerImpl; +import org.apache.ignite.internal.replicator.TablePartitionId; import org.apache.ignite.internal.table.TxInfrastructureTest; +import org.apache.ignite.internal.table.distributed.raft.PartitionListener; +import org.apache.ignite.internal.testframework.IgniteTestUtils; import org.apache.ignite.internal.testframework.SystemPropertiesExtension; import org.apache.ignite.internal.testframework.WithSystemProperty; import org.apache.ignite.internal.tx.TxStateMeta; -import org.apache.ignite.internal.tx.impl.TxManagerImpl; +import org.apache.ignite.internal.util.PendingComparableValuesTracker; import org.apache.ignite.network.ClusterNode; +import org.apache.ignite.raft.jraft.RaftGroupService; +import org.apache.ignite.raft.jraft.Status; +import org.apache.ignite.raft.jraft.core.NodeImpl; import org.apache.ignite.table.RecordView; import org.apache.ignite.table.Tuple; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; import org.junit.jupiter.api.extension.ExtendWith; /** - * Tests if commit timestamp is propagated to observable time correctly. + * Tests if commit timestamp and safe timestamp are monotonically grow on leader change. Review Comment: 🆗 -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org