Mark meta buffer contents as dirty when not logging

This commit is contained in:
Andrew Kane committed 2023-12-20 16:20:15 -05:00
1 parent 43e0b3d9d4
commit ec41dfa1d7
1 file changed
+3 -1
+3 -1
View File
@@ -379,7 +379,9 @@ HnswUpdateMetaPage(Relation index, int updateEntry, HnswElement entryPoint, Bloc
HnswUpdateMetaPageInfo(page, updateEntry, entryPoint, insertPage);
if (!building)
if (building)
MarkBufferDirty(buf);
else
GenericXLogFinish(state);
UnlockReleaseBuffer(buf);
}