Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
7.6.0, 7.6.2, 7.6.1
-
None
Description
Magma will invoke a callback in KV every time it hardlinks some seqno index files to be backed up.This callback should be of the form:
void (*cb)(KVStoreID kv_id, Magma::Snapshot& snapshot, std::function<void(std::string&)> writer_fn)
|
and when called it should serialise into json the failover table for the vBucket and the max CAS (both read from the local index in the snapshot) and call write_fn with it.
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-62496 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
215587,5 | MB-62496: Add onContinuousBackupCallback to MagmaKVStore | master | kv_engine | Status: NEW | 0 | +1 |
216098,6 | MB-62496: Add flatbuffer schema for backup metadata | master | kv_engine | Status: NEW | 0 | +1 |