This commit is contained in:
KevinPham-TruffleSecurity
2026-09-11 17:33:47 -07:00
parent 0e0cd45800
commit fab3531466
+1 -1
View File
@@ -647,7 +647,7 @@ func (s *Source) pageChunker(
ctx = context.WithValues(ctx, "bucket", metadata.bucket, "page_number", metadata.pageNumber)
for objIdx, obj := range metadata.page.Contents {
octx := context.WithValues(ctx, "key", *obj.Key, "size", *obj.Size)
// break, not return: the pool must drain before returning so an in-flight
// the pool must drain before returning so an in flight
// worker cannot move the checkpoint after the caller rewinds resume state.
if common.IsDone(octx) {
break