Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surt detection fix for MultiWACZ #123

Merged
merged 1 commit into from
Jun 14, 2023
Merged

Surt detection fix for MultiWACZ #123

merged 1 commit into from
Jun 14, 2023

Conversation

ikreymer
Copy link
Member

The MultiWACZ implementation in 2.16.0 resulted in a regression with SURT detection.
To make this work more smoothly, reversing the logic, as most WACZ files use SURT-based indexes, use that by default.
Add a 'nonSurt' flag to WACZFile, that, if set, will be using non-surt mode for that WACZ.

fixes issue in webrecorder/replayweb.page#174

- reverse logic: use 'nonSurt' to indicate that not using surt mode
- previously, wacz files defaulted to non-surt, but should be opposite, given most wacz files use surt ordering!
- save 'nonSurt' as property of wacz file, default to false
- waczfiles w/o 'nonSurt' are assumed to have surt-ordered index

fixes issue in webrecorder/replayweb.page#174
@ikreymer ikreymer merged commit 983c6d4 into main Jun 14, 2023
2 checks passed
@ikreymer ikreymer deleted the fix-surt-detect branch June 29, 2023 18: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.

None yet

1 participant