Searched refs:commitNode (Results 1 – 3 of 3) sorted by relevance
126 for (auto &commitNode : commitTree) { in GetCommitTree() local127 if (commitNode == nullptr) { in GetCommitTree()133 commitNode->GetCommitId(), // commitId in GetCommitTree()136 commitNode->GetTimestamp(), // timestamp in GetCommitTree()139 commitNode->GetDeviceInfo() // deviceInfo in GetCommitTree()142 commitStorage_->ReleaseCommit(commitNode); in GetCommitTree()143 commitNode = nullptr; in GetCommitTree()161 if (commitNode == nullptr) { in GetCommitData()168 version = commitNode->GetCommitVersion(); in GetCommitData()169 commitStorage_->ReleaseCommit(commitNode); in GetCommitData()[all …]
276 MultiVerCommitNode commitNode; in GetAllCommitsInTree() local278 commitNode.commitId = currentCommitIter->first; in GetAllCommitsInTree()279 commitNode.deviceInfo = currentCommitIter->second->GetDeviceInfo(); in GetAllCommitsInTree()280 commitNode.isLocal = (currentCommitIter->second->GetLocalFlag() ? in GetAllCommitsInTree()282 commitNode.leftParent = currentCommitIter->second->GetLeftParentId(); in GetAllCommitsInTree()283 commitNode.rightParent = currentCommitIter->second->GetRightParentId(); in GetAllCommitsInTree()284 commitNode.timestamp = currentCommitIter->second->GetTimestamp(); in GetAllCommitsInTree()285 commitNode.version = currentCommitIter->second->GetCommitVersion(); in GetAllCommitsInTree()286 commits.push_back(commitNode); in GetAllCommitsInTree()
595 MultiVerCommitNode commitNode = item.second; in GetCommitTree() local596 errCode = storagePtr_->TransferSyncCommitDevInfo(commitNode, localDevice, true); in GetCommitTree()600 newCommitMap.insert(std::make_pair(commitNode.deviceInfo, commitNode)); in GetCommitTree()