Skip to content

feat(metadb): add protobuf envelope storage with compression and operational tooling#14

Merged
wolfeidau merged 1 commit into
mainfrom
feat_protobuf_envelope
Feb 1, 2026
Merged

feat(metadb): add protobuf envelope storage with compression and operational tooling#14
wolfeidau merged 1 commit into
mainfrom
feat_protobuf_envelope

Conversation

@wolfeidau
Copy link
Copy Markdown
Member

  • Define MetadataEnvelope protobuf with content type, compression, integrity, TTL, and blob refs
  • Add zstd compression for payloads > 2KB with automatic decompression and digest verification
  • Implement envelope-aware BoltDB APIs (PutEnvelope, GetEnvelope, DeleteEnvelope, UpdateEnvelope)
  • Add EnvelopeIndex wrapper with JSON/raw byte convenience methods and negative caching
  • Create EnvelopeReaper for batch expiry deletion with configurable interval and max duration
  • Add operational tooling: VerifyEnvelopeRefcounts, RebuildEnvelopeRefcounts, EnvelopeStats, InspectEnvelope
  • Support protocol|kind|key storage format for multi-kind protocols (e.g., goproxy: mod, info, list)

…ational tooling

- Define MetadataEnvelope protobuf with content type, compression, integrity, TTL, and blob refs
- Add zstd compression for payloads > 2KB with automatic decompression and digest verification
- Implement envelope-aware BoltDB APIs (PutEnvelope, GetEnvelope, DeleteEnvelope, UpdateEnvelope)
- Add EnvelopeIndex wrapper with JSON/raw byte convenience methods and negative caching
- Create EnvelopeReaper for batch expiry deletion with configurable interval and max duration
- Add operational tooling: VerifyEnvelopeRefcounts, RebuildEnvelopeRefcounts, EnvelopeStats, InspectEnvelope
- Support protocol|kind|key storage format for multi-kind protocols (e.g., goproxy: mod, info, list)
@wolfeidau wolfeidau force-pushed the feat_protobuf_envelope branch from 1512934 to 64e9180 Compare February 1, 2026 09:58
@wolfeidau wolfeidau merged commit 5d8ec45 into main Feb 1, 2026
1 check passed
@wolfeidau wolfeidau deleted the feat_protobuf_envelope branch February 1, 2026 09:58
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