volume: large_volume version has bug when using in memory index

fix https://github.com/chrislusf/seaweedfs/issues/2162
This commit is contained in:
Chris Lu
2021-06-28 15:48:07 -07:00
parent a2979aa051
commit fc8dd58aea
3 changed files with 34 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ func (cs *CompactSection) setOverflowEntry(skey SectionalNeedleId, offset Offset
cs.overflowExtra[i] = cs.overflowExtra[i-1]
}
cs.overflow[insertCandidate] = needleValue
cs.overflowExtra[insertCandidate] = needleValueExtra
}
}