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

[v15] Fix Firestore backend keys #46436

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

rosstimothy
Copy link
Contributor

Backport #46406 to branch/v15

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

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
github-merge-queue bot pushed a commit that referenced this pull request 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
Merged via the queue into branch/v15 with commit 5e2cd11 Sep 10, 2024
36 checks passed
@rosstimothy rosstimothy deleted the tross/backport-46406/v15 branch September 10, 2024 16:26
@camscale camscale mentioned this pull request Sep 18, 2024
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