Skip to content

Commit

Permalink
Account for empty chunks in archive.getManyCompressed
Browse files Browse the repository at this point in the history
  • Loading branch information
macneale4 committed Feb 14, 2025
1 parent 77a4e59 commit b086492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/store/nbs/archive_chunk_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (acs archiveChunkSource) getManyCompressed(ctx context.Context, eg *errgrou
if err != nil {
return true, gcBehavior_Continue, err
}
if toChk == nil {
if toChk == nil || toChk.IsEmpty() {
foundAll = false
} else {
if keeper != nil && keeper(h) {
Expand Down

0 comments on commit b086492

Please sign in to comment.