René's URL Explorer Experiment


Title: vortex.zstd: dictionary-compressed segments not decodable (pure-Java backend lacks dict support) · Issue #104 · dfa1/vortex-java · GitHub

Open Graph Title: vortex.zstd: dictionary-compressed segments not decodable (pure-Java backend lacks dict support) · Issue #104 · dfa1/vortex-java

X Title: vortex.zstd: dictionary-compressed segments not decodable (pure-Java backend lacks dict support) · Issue #104 · dfa1/vortex-java

Description: Summary vortex.zstd segments compressed with a trained dictionary cannot be decoded. ZstdEncodingDecoder fails fast when dictionary_size != 0: io.github.dfa1.vortex.core.VortexException: vortex.zstd: dictionary-compressed Zstd segments a...

Open Graph Description: Summary vortex.zstd segments compressed with a trained dictionary cannot be decoded. ZstdEncodingDecoder fails fast when dictionary_size != 0: io.github.dfa1.vortex.core.VortexException: vortex.zst...

X Description: Summary vortex.zstd segments compressed with a trained dictionary cannot be decoded. ZstdEncodingDecoder fails fast when dictionary_size != 0: io.github.dfa1.vortex.core.VortexException: vortex.zst...

Opengraph URL: https://github.com/dfa1/vortex-java/issues/104

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"vortex.zstd: dictionary-compressed segments not decodable (pure-Java backend lacks dict support)","articleBody":"## Summary\n\n`vortex.zstd` segments compressed **with a trained dictionary** cannot be decoded. `ZstdEncodingDecoder` fails fast when `dictionary_size != 0`:\n\n```\nio.github.dfa1.vortex.core.VortexException:\n  vortex.zstd: dictionary-compressed Zstd segments are not supported (pure-Java decoder)\n```\n\nThis is hit by the upstream compatibility fixture `zstd.vortex` (v0.75.0).\n\n## Why\n\nThe decode backend (`io.airlift:aircompressor-v3`) has **no Zstd dictionary support**:\n- `ZstdFrameDecompressor` exposes no API to preload a dictionary's entropy tables or seed the back-reference window; `reset()` only clears state.\n- Rust uses `zstd::bulk::Decompressor::with_dictionary(dict)` (native libzstd).\n\nThe published `zstd.vortex` fixture genuinely requires it:\n- dict buffer begins with `0xEC30A437` → **trained** dictionary (preset Huffman + 3 FSE tables + content), Dictionary_ID `0x22a28c3d`.\n- frames carry the Dictionary_ID flag referencing that same ID — preset entropy tables **and** window seeding are mandatory.\n\nBuffer layout (per Rust `encodings/zstd/src/array.rs`): `buffer[0]` = dictionary, `buffer[1..]` = frames.\n\n## Options considered\n\n1. **Pure-Java dict decoder from scratch** on `MemorySegment` (~1500–2500 LOC: dict parse, Huffman incl. Treeless, 3 FSE tables incl. Repeat mode, sequence execution with window-prefix matches). Verifiable against one fixture only — high correctness risk.\n2. **Vendor/extend aircompressor's frame decompressor** — rejected: its core uses `sun.misc.Unsafe` (~67 refs), violating the project's no-Unsafe / FFM-only rule.\n3. **zstd-jni (native)** — rejected: violates the no-JNI rule.\n\n## Current state\n\nFail-fast guard retained; covered by `VortexHttpReaderIT#scan_zstdVortex_rejectsDictionaryCompression`, which asserts the clear error. `zstd.vortex` is excluded from the encoding smoke test. Re-enable once a pure-Java dictionary path exists (or aircompressor ships dict support).\n\n## References\n\n- Rust decode: `encodings/zstd/src/array.rs` (`decompress`, line ~888: `Decompressor::with_dictionary`)\n- Buffer layout: same file, `deserialize` line ~204","author":{"url":"https://github.com/dfa1","@type":"Person","name":"dfa1"},"datePublished":"2026-06-20T19:26:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/104/vortex-java/issues/104"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:36747a72-88ba-d179-b7ed-7032d690dea5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE21C:13B1D:21B6264:2FA35BF:6A4CD9EC
html-safe-noncedb1fb3ccb82a72b5a53119ebeb8a1778072b52fb02730ae527ff5b632f59b3bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjFDOjEzQjFEOjIxQjYyNjQ6MkZBMzVCRjo2QTRDRDlFQyIsInZpc2l0b3JfaWQiOiI1Mjg4NTAzMjE0NTc1NzcwMDkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac23b4916ce2b89b012a09c14c1e9289668114b0f7ad25bbdce5bb98414940fa23
hovercard-subject-tagissue:4708107266
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dfa1/vortex-java/104/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cff8ff2589c43f3833e5c0232c9d91583fa64d3739375b416683c985b50a6479/dfa1/vortex-java/issues/104
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cff8ff2589c43f3833e5c0232c9d91583fa64d3739375b416683c985b50a6479/dfa1/vortex-java/issues/104
og:image:altSummary vortex.zstd segments compressed with a trained dictionary cannot be decoded. ZstdEncodingDecoder fails fast when dictionary_size != 0: io.github.dfa1.vortex.core.VortexException: vortex.zst...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedfa1
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-preview
go-importgithub.com/dfa1/vortex-java git https://github.com/dfa1/vortex-java.git
octolytics-dimension-user_id5798698
octolytics-dimension-user_logindfa1
octolytics-dimension-repository_id1249412947
octolytics-dimension-repository_nwodfa1/vortex-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1249412947
octolytics-dimension-repository_network_root_nwodfa1/vortex-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3eeb74f55ccd8a31bdaec6839577c592bbf7844c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/dfa1/vortex-java/issues/104#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdfa1%2Fvortex-java%2Fissues%2F104
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdfa1%2Fvortex-java%2Fissues%2F104
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=dfa1%2Fvortex-java
Reloadhttps://github.com/dfa1/vortex-java/issues/104
Reloadhttps://github.com/dfa1/vortex-java/issues/104
Reloadhttps://github.com/dfa1/vortex-java/issues/104
dfa1 https://github.com/dfa1
vortex-javahttps://github.com/dfa1/vortex-java
Notifications https://github.com/login?return_to=%2Fdfa1%2Fvortex-java
Fork 1 https://github.com/login?return_to=%2Fdfa1%2Fvortex-java
Star 3 https://github.com/login?return_to=%2Fdfa1%2Fvortex-java
Code https://github.com/dfa1/vortex-java
Issues 3 https://github.com/dfa1/vortex-java/issues
Pull requests 3 https://github.com/dfa1/vortex-java/pulls
Discussions https://github.com/dfa1/vortex-java/discussions
Actions https://github.com/dfa1/vortex-java/actions
Projects https://github.com/dfa1/vortex-java/projects
Security and quality 0 https://github.com/dfa1/vortex-java/security
Insights https://github.com/dfa1/vortex-java/pulse
Code https://github.com/dfa1/vortex-java
Issues https://github.com/dfa1/vortex-java/issues
Pull requests https://github.com/dfa1/vortex-java/pulls
Discussions https://github.com/dfa1/vortex-java/discussions
Actions https://github.com/dfa1/vortex-java/actions
Projects https://github.com/dfa1/vortex-java/projects
Security and quality https://github.com/dfa1/vortex-java/security
Insights https://github.com/dfa1/vortex-java/pulse
#171https://github.com/dfa1/vortex-java/pull/171
vortex.zstd: dictionary-compressed segments not decodable (pure-Java backend lacks dict support)https://github.com/dfa1/vortex-java/issues/104#top
#171https://github.com/dfa1/vortex-java/pull/171
https://github.com/dfa1
dfa1https://github.com/dfa1
on Jun 20, 2026https://github.com/dfa1/vortex-java/issues/104#issue-4708107266
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.