-
In the parseKVFromLocalStorage function of the kvrocks2redis tool: Data written between Step 1 (ParseFullDB()) and Step 2 (GetLatestSequenceNumber()) might be lost during synchronization. After Step 1 completes parsing the full database, new writes may occur before Step 2 captures the latest sequence number. These intermediate writes would not be included in the sync process, leading to potential data loss. Is this a known limitation of the current implementation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@twoholes Kvrocks2Redis uses the RocksDB Secondary Instance mechanism to read the data, so it shouldn't have any updated data before we call the |
Beta Was this translation helpful? Give feedback.
@twoholes Kvrocks2Redis uses the RocksDB Secondary Instance mechanism to read the data, so it shouldn't have any updated data before we call the
TryCatchUpWithPrimary
to update.