Thank you for quick response! Best, tison.
Kaijie Chen <[email protected]> 于2023年3月19日周日 00:09写道: > No. Index of committed log increases monotonically.Uncommitted log may > have same index, and one of them will be committed, others will be > overwritten.Kaijie ---- On Sun, 19 Mar 2023 00:03:10 +0800 > [email protected] wrote ----IIUC different terms can have the same > index. I'm not quite familiar with > the underneath promise here. > > The API in issue is org.apache.ratis.client.api.AsyncApi#watch > > CompletableFuture<RaftClientReply> watch(long index, ReplicationLevel > replication); > > Best, > tison. >
