Home
last modified time | relevance | path

Searched refs:commitsTable (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store_commit_storage.cpp251 std::map<CommitID, IKvDBCommit *> commitsTable; in GetAllCommitsInTree() local
253 int errCode = GetAllCommits(commitsTable, headerId); in GetAllCommitsInTree()
254 if (errCode != E_OK || commitsTable.empty()) { // error or no commit. in GetAllCommitsInTree()
261 auto currentCommitIter = commitsTable.find(commitStack.top()); in GetAllCommitsInTree()
262 if (currentCommitIter == commitsTable.end()) { in GetAllCommitsInTree()
275 AddParentsToStack(currentCommitIter->second, commitsTable, commitStack); in GetAllCommitsInTree()
295 ReleaseUnusedCommits(commitsTable); in GetAllCommitsInTree()