Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@yuchen-db
Copy link
Collaborator

see investigation doc

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

@yuchen-db yuchen-db requested a review from jnyi November 27, 2025 00:11
Copy link
Collaborator

@jnyi jnyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might add some unit tests

// Validate chunk files exist in bucket before downloading.
// This catches corrupted blocks where meta.json references chunk files
// that were never uploaded or were deleted.
if err := block.ValidateBlockChunkFilesExist(ctx, cg.logger, cg.bkt, meta); err != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this introduces additional overheads, how about handling error passive when the reference block isn't found instead of panicing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.