| 1241 | } |
| 1242 | |
| 1243 | void CSRNodeGroup::finalizeCheckpoint(const UniqLock& lock) { |
| 1244 | // Clean up versions and in mem chunked groups. |
| 1245 | if (persistentChunkGroup) { |
| 1246 | persistentChunkGroup->resetNumRowsFromChunks(); |
| 1247 | persistentChunkGroup->resetVersionAndUpdateInfo(); |
| 1248 | } |
| 1249 | chunkedGroups.clear(lock); |
| 1250 | // Set `numRows` back to 0 is to reflect that the in mem part of the node group is empty. |
| 1251 | numRows = 0; |
| 1252 | csrIndex.reset(); |
| 1253 | } |
| 1254 | |
| 1255 | } // namespace storage |
| 1256 | } // namespace lbug |
nothing calls this directly
no test coverage detected