Skip to content
New issue

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

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

Already on GitHub? # to your account

[Backport release-2.24] Fix serialization issue with schema evolution for query v3. (#5154) #5157

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Jul 5, 2024

Backport 9c6411f from #5154.


TYPE: BUG
DESC: Fix serialization issue with schema evolution for query v3.

Query v3 requires fragment metadata serialization/deserialization inside
the array object. However fragment metadata capnp model wasn't including
the name of the array schema that each fragment was written with , and
in case of schema evolution this was leading to serializing the wrong
schema (always the latest) and making the REST server read the wrong
data from disk.

This PR adds the missing array schema name field and adapts the
ser/deser to pick the schema based on that name.
[sc-48707]

---
TYPE: BUG
DESC: Fix serialization issue with schema evolution for query v3.
@KiterLuc KiterLuc requested a review from ypatia July 5, 2024 13:44
@KiterLuc KiterLuc closed this Jul 5, 2024
@KiterLuc KiterLuc reopened this Jul 5, 2024
@KiterLuc KiterLuc merged commit 98a6e19 into release-2.24 Jul 5, 2024
64 of 90 checks passed
@KiterLuc KiterLuc deleted the backport-5154-to-release-2.24 branch July 5, 2024 14:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants