enh(sync): add mndSnapshotRead mndSnapshotApply

This commit is contained in:
Minghao Li 2022-05-24 15:38:52 +08:00
parent aa85781560
commit 8fa1096c5b
1 changed files with 2 additions and 2 deletions

View File

@ -53,12 +53,12 @@ void* mndSnapshotRead(struct SSyncFSM* pFsm, const SSnapshot* snapshot, void* it
/*
SMnode *pMnode = pFsm->data;
SSdbIter *pIter;
if (iter == NULL) {
if (iter == NULL) {
pIter = sdbIterInit(pMnode->sdb)
} else {
pIter = iter;
}
pIter = sdbIterRead(pIter);
pIter = sdbIterRead(pIter, ppBuf, len);
return pIter;
*/