Skip to content
Snippets Groups Projects
Commit ca155f94 authored by Jørgen Lind's avatar Jørgen Lind
Browse files

Fix so there is no inconsistency when flushing metadatapages

parent 489ef4ba
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ void MetadataManager::UploadDirtyPages(VolumeDataAccessManagerImpl *accessManage
for(MetadataPageList::iterator it = m_dirtyPageList.begin(), next; it != m_dirtyPageList.end(); it = next)
{
auto page = *it;
auto &page = *it;
assert(page.IsDirty());
// We need to keep a separate 'next' iterator since we're moving the current element to another list if the write is successful
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment