Skip to content

Commit

Permalink
Fix dummy block error
Browse files Browse the repository at this point in the history
  • Loading branch information
aminst committed Feb 27, 2024
1 parent 112a9ef commit 84546f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,11 @@ func (s *StorageHandler) BatchGetBlockOffset(bucketIDs []int, storageID int, blo
BlockFound: "dummy1",
}
} else {
log.Error().Msgf("Did not find valid dummy block in bucket %d", bucketID)
return nil, err
blockoffsetStatuses[bucketID] = BlockOffsetStatus{
Offset: 0,
IsReal: false,
BlockFound: "dummy1",
}
}
}
}
Expand Down

0 comments on commit 84546f3

Please sign in to comment.