Skip to content

[v15] Fix Firestore backend keys#46436

Merged
rosstimothy merged 1 commit intobranch/v15from
tross/backport-46406/v15
Sep 10, 2024
Merged

[v15] Fix Firestore backend keys#46436
rosstimothy merged 1 commit intobranch/v15from
tross/backport-46406/v15

Conversation

@rosstimothy
Copy link
Copy Markdown
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 force-pushed the tross/backport-46406/v15 branch from 364c61c to 6888d3b Compare September 10, 2024 14:27
@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
@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