Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
At the moment, MvPartitionStorage and TxStateStorage are used for a partition raft group, while only MvPartitionStorage#persistedIndex of MvPartitionStorage#lastAppliedIndex is used, which is not correct.
On recovery, we need to use a minimum of MvPartitionStorage#lastAppliedIndex and TxStateStorage#lastAppliedIndex so as not to lose data for one of the storage.
When taking a snapshot for a full rebalance, we should use the maximum of MvPartitionStorage#lastAppliedIndex and TxStateStorage#lastAppliedIndex so that we can load up-to-date data from the leader.
Etc.
Attachments
Attachments
Issue Links
- duplicates
-
IGNITE-17302 Raft listener multi-storage support
- Resolved
- links to