rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

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

Open happy-v587 opened this issue 1 year ago • 2 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

happy-v587 avatar Mar 22 '24 11:03 happy-v587

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

ywave620 avatar Apr 29 '24 09:04 ywave620

the secondary instance requires you to actively call refresh

MalikHou avatar Jun 05 '24 09:06 MalikHou