| 1169 | } |
| 1170 | |
| 1171 | void GenericClusterImpl::GetConflicts(const TxGraphImpl& graph, std::vector<Cluster*>& out) const noexcept |
| 1172 | { |
| 1173 | for (auto i : m_linearization) { |
| 1174 | auto& entry = graph.m_entries[m_mapping[i]]; |
| 1175 | // For every transaction Entry in this Cluster, if it also exists in a lower-level Cluster, |
| 1176 | // then that Cluster conflicts. |
| 1177 | if (entry.m_locator[0].IsPresent()) { |
| 1178 | out.push_back(entry.m_locator[0].cluster); |
| 1179 | } |
| 1180 | } |
| 1181 | } |
| 1182 | |
| 1183 | void SingletonClusterImpl::GetConflicts(const TxGraphImpl& graph, std::vector<Cluster*>& out) const noexcept |
| 1184 | { |