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

[v14] Fix Firestore backend keys #46435

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

rosstimothy
Copy link
Contributor

Backport #46406 to branch/v14

changelog: Fixed an issue that prevented the Firestore backend from reading existing data.

@rosstimothy rosstimothy changed the title [v14] Fix Firestore backend keys (#46406) [v14] Fix Firestore backend keys Sep 10, 2024
The firestorebk.record field inadvertently was changed from a []byte
to a backend.Key. This prevents any existing data which already
existed in firestore from being retrieved. This reverts the record
key back to []byte and adds a conversion mechanism to allow _all_
data which may have been persisted in either format to be retrieved.

Fixes #46386
@rosstimothy rosstimothy marked this pull request as ready for review September 10, 2024 14:43
@rosstimothy rosstimothy added this pull request to the merge queue Sep 10, 2024
Merged via the queue into branch/v14 with commit 2eec212 Sep 10, 2024
30 checks passed
@rosstimothy rosstimothy deleted the tross/backport-46406/v14 branch September 10, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants