mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
fix: bound conservative chunk birth by captured image frontier
This commit is contained in:
1 parent
fa32ab5b32
commit
29b3d2a30d
1 file changed
+1
-1
@@ -10,7 +10,7 @@ func (l *chunkLayerImpl) captureBirths(candidates map[uint64]bool, frontier uint
|
||||
for idx := range candidates {
|
||||
birth := frontier
|
||||
if l.usesOwnedMapV3() {
|
||||
birth = l.s.v3.mapEntries[idx].LSN
|
||||
birth = min(l.s.v3.mapEntries[idx].LSN, frontier)
|
||||
}
|
||||
out[idx] = birth
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user