Skip to content

Commit

Permalink
Merge pull request #1284 from canalplus/fix/bufferedStart-imprecize-s…
Browse files Browse the repository at this point in the history
…egmentInventory

Add forgotten bufferedStart setting in SegmentInventory
  • Loading branch information
peaBerberian authored Sep 26, 2023
2 parents a9a3759 + 63bea93 commit 808f663
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/segment_buffers/inventory/segment_inventory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,7 @@ function guessBufferedStartFromRangeStart(
} else if (rangeStart < firstSegmentInRange.start) {
log.debug("SI: range start too far from expected start",
bufferType, rangeStart, firstSegmentInRange.start);
firstSegmentInRange.bufferedStart = firstSegmentInRange.start;
} else {
log.debug("SI: Segment appears immediately garbage collected at the start",
bufferType, firstSegmentInRange.bufferedStart, rangeStart);
Expand Down

0 comments on commit 808f663

Please sign in to comment.