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

No support for multiple projects in Firestore storage #213

Closed
nielm opened this issue Feb 22, 2024 · 0 comments · Fixed by #215, #239 or #266
Closed

No support for multiple projects in Firestore storage #213

nielm opened this issue Feb 22, 2024 · 0 comments · Fixed by #215, #239 or #266
Assignees
Labels
bug Something isn't working javascript Pull requests that update Javascript code

Comments

@nielm
Copy link
Collaborator

nielm commented Feb 22, 2024

The docId for the state in the Firestore database only contains spanner instance ID:

this.firestore.collection('spannerAutoscaler').doc(this.instanceId);

Whereas the rowID for the state in the Spanner contains both project and instanceID:

projects/${this.projectId}/instances/${this.instanceId}

This effectively means that Firestore storage cannot support scaling Spanner instances in different projects with the same name...

@nielm nielm self-assigned this Feb 22, 2024
@nielm nielm added bug Something isn't working javascript Pull requests that update Javascript code labels Feb 22, 2024
This was referenced Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment