This commit is contained in:
2026-02-23 11:02:29 +00:00
parent 1c3acf51d2
commit 6011535509
7 changed files with 209 additions and 127 deletions

View File

@@ -535,13 +535,13 @@ func (s *Database) appendMeasureAfterOverflow(extended txlog.AppendedMeasureWith
metric.LastPageNo = rec.DataPageNo
if rec.IsDataPageReused {
s.dataFreeList.DeletePages([]uint32{
s.dataFreeList.DeleteReservedPages([]uint32{
rec.DataPageNo,
})
}
if len(rec.ReusedIndexPages) > 0 {
s.indexFreeList.DeletePages(rec.ReusedIndexPages)
s.indexFreeList.DeleteReservedPages(rec.ReusedIndexPages)
}
if !extended.HoldLock {