Skip to content

Skip empty CIDs in repair cycle#171

Merged
raymondjacobson merged 1 commit intomainfrom
fix/skip-empty-cid-repair
Mar 30, 2026
Merged

Skip empty CIDs in repair cycle#171
raymondjacobson merged 1 commit intomainfrom
fix/skip-empty-cid-repair

Conversation

@raymondjacobson
Copy link
Copy Markdown
Contributor

@raymondjacobson raymondjacobson commented Mar 30, 2026

See lots of logs like this, will investigate later, but for now a good check to have b/c the next calls will necessarily fail

{
  "cid": "",
  "cleanup": true,
  "error": "blob (code=Unknown): operation error S3: HeadObject, serialization failed: serialization failed: input member Key must not be empty",
  "errorVerbose": "blob (code=Unknown):\n    gocloud.dev/blob.(*Bucket).Attributes\n        /go/pkg/mod/gocloud.dev@v0.40.0/blob/blob.go:919\n  - operation error S3: HeadObject, serialization failed: serialization failed: input member Key must not be empty",
  "level": "error",
  "msg": "exist check failed",
  "node": "https://audius-discovery-3.altego.net",
  "service": "mediorum",
  "task": "repair"
}

Empty CID records in the database cause S3 HeadObject to fail with
"input member Key must not be empty", spamming errors across all peers
during every repair cycle. Guard at the top of repairCid to skip them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@raymondjacobson raymondjacobson merged commit ef78d9c into main Mar 30, 2026
5 checks passed
@raymondjacobson raymondjacobson deleted the fix/skip-empty-cid-repair branch March 30, 2026 23:20
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.

1 participant