This commit is contained in:
chrislu 2022-01-15 15:06:36 -08:00
parent ab61386d29
commit cbffbd9025

View file

@ -84,7 +84,7 @@ func (pw *PageWriter) ReadDirtyDataAt(data []byte, offset int64) (maxStop int64)
maxStop = max(maxStop, m2) maxStop = max(maxStop, m2)
offset += readSize offset += readSize
data = dataSlice[readSize:] dataSlice = dataSlice[readSize:]
} }
page_writer.CheckByteZero(fmt.Sprintf("page writer read [%d,%d)", offset, offset+int64(len(data))), data, 0, maxStop-offset) page_writer.CheckByteZero(fmt.Sprintf("page writer read [%d,%d)", offset, offset+int64(len(data))), data, 0, maxStop-offset)