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

core-clp: Fix ArchiveMetadata deserialization by deserializing previously missed field. #488

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

LinZhihao-723
Copy link
Member

Description

In the current CLP archive implementation, we serialize the archive metadata into a file in the compressed archive. When decompressing the archive, we deserialize the metadata. However, the deserialization constructor has a bug to miss the read of m_creation_idx. This PR fixes this bug.

Validation performed

Validated on the private repo to ensure the fix works.

Copy link
Member

@kirkrodrigues kirkrodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the PR title, how about:

core-clp: Fix ArchiveMetadata deserialization by deserializing previously missed field.

@LinZhihao-723 LinZhihao-723 changed the title core-clp: Fix archive metadata deserialization when constructing from a compressed archive. core-clp: Fix ArchiveMetadata deserialization by deserializing previously missed field. Jul 19, 2024
@LinZhihao-723 LinZhihao-723 merged commit c62b758 into y-scope:main Jul 19, 2024
12 checks passed
jackluo923 pushed a commit to jackluo923/clp that referenced this pull request Dec 4, 2024
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.

2 participants