facebook / rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.

Home Page:http://rocksdb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When we use secondary mode, the wal or sst file may not found.

happy-v587 opened this issue · comments

When we use secondary mode, the wal or sst file may not found.

Is it possible to add wal or sst to delay deletion?

Expected behavior

catchup success

Actual behavior

catchup fail,file not found

Steps to reproduce the behavior

I think you should call TryCatchupWithPrimary() in an enough frequency to for proper data synchronization. WAL is selected for deletion in primary regardless of the secondary