Skip to content

Decode raw Rust V2 histograms#59

Draft
Mirochill wants to merge 1 commit into
HdrHistogram:masterfrom
Mirochill:fix-29-raw-v2-deflate-decode
Draft

Decode raw Rust V2 histograms#59
Mirochill wants to merge 1 commit into
HdrHistogram:masterfrom
Mirochill:fix-29-raw-v2-deflate-decode

Conversation

@Mirochill
Copy link
Copy Markdown

@Mirochill Mirochill commented May 25, 2026

Summary:

  • Detect a V2+Deflate external header when decoding raw bytes with b64_wrap=False and strip it before zlib decompression.
  • Decode uncompressed V2 payloads without attempting zlib decompression, including the base64-wrapped form from the issue.
  • Add regressions using the Rust V2DeflateSerializer and V2Serializer samples from error while decoding serialized histogram produced by rust version #29.

Addresses #29.

Validation:

  • git diff --check
  • git diff --cached --check
  • git diff --check HEAD~1..HEAD
  • Not run locally.

@Mirochill Mirochill force-pushed the fix-29-raw-v2-deflate-decode branch from 9b5cb86 to 233ac8e Compare May 25, 2026 19:30
@Mirochill Mirochill changed the title Decode raw V2 deflate histograms with headers Decode raw Rust V2 histograms May 25, 2026
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