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

Fix Firestore backend keys #46406

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Fix Firestore backend keys #46406

merged 1 commit into from
Sep 9, 2024

Conversation

rosstimothy
Copy link
Contributor

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

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

@rosstimothy rosstimothy marked this pull request as ready for review September 9, 2024 20:59
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 added this pull request to the merge queue Sep 9, 2024
Merged via the queue into master with commit 71a4efc Sep 9, 2024
39 checks passed
@rosstimothy rosstimothy deleted the tross/firestore_keys branch September 9, 2024 23:35
@public-teleport-github-review-bot

@rosstimothy See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Failed
branch/v16 Create PR

rosstimothy added 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
rosstimothy added 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
rosstimothy added 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
rosstimothy added 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
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
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
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
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.

Firestore issue with Teleport 16.2.1
3 participants