Xinyu Tan created IOTDB-5345:
--------------------------------
Summary: Use the logical clock to identify the snapshot version of
IoTConsensus
Key: IOTDB-5345
URL: https://issues.apache.org/jira/browse/IOTDB-5345
Project: Apache IoTDB
Issue Type: Improvement
Reporter: Xinyu Tan
Assignee: huxiangpeng
Attachments: image-2023-01-03-23-45-07-397.png
The current IoTConsensus uses physical clocks to identify different snapshot
versions.
In some operation scenarios, the physical clock of the machine may be rolled
back. This may cause IoTConsensus to label the latest snapshot as the old
snapshot version. Therefore, we need to use logical timestamps to mark
different snapshot versions. For example, use a self-maintaining increment
index.
In addition, this work needs to ensure forward compatibility with 1.0.0
!image-2023-01-03-23-45-07-397.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)