SammyVimes commented on code in PR #1869:
URL: https://github.com/apache/ignite-3/pull/1869#discussion_r1161702945
##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/impl/MetaStorageServiceImpl.java:
##########
@@ -258,6 +275,21 @@ public Publisher<Entry> prefix(ByteArray prefix, long
revUpperBound) {
return new CursorPublisher(context, createPrefixCommand);
}
+ /**
+ * Sends idle safe time sync message. Should be called only on the leader
node.
+ *
+ * @param safeTime New safe time.
+ * @return Future that will be completed when message is sent.
+ */
+ public CompletableFuture<Void> syncTime(HybridTimestamp safeTime) {
+ // TODO: https://issues.apache.org/jira/browse/IGNITE-19199 Only
propagate safe time when ms is idle
Review Comment:
Yes
--
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]