-
Notifications
You must be signed in to change notification settings - Fork 49
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
Invalid value for column collection_id in table bsos: Expected INT64. #1055
Comments
I was able to reproduce this locally. Still new to Protobuf and Spanner, but here's what I think is happening. This could be resolved by going back to converting the |
Part of the problem is that there are a lot of systems that are trying to be "helpful". There's rust, which does strong typing. There's protobuf, which also does strong typing, but differently. There's Javascript, which is one of the transport layers, which is not strongly typed, and quite less helpful,... At this point, using declared type and string formatting is probably the safest thing. |
In the PR I opened, I reverted to converting integers to strings before converting to protobuf values for expediency. I think making the switch to the static protobuf values will require more investigative work (and more substantial changes), so I figured it would be best to get a quick fix into master first. That said, if we think it's worth making the switch over to the static types now, I'm happy to do it 👍 |
Per sentry:
https://sentry.prod.mozaws.net/operations/syncstorage-dev/issues/11102490/?environment=release
A database error occurred: RpcFailure: 9-FAILED_PRECONDITION Invalid value for column collection_id in table bsos: Expected INT64.
This began 9 days ago, so it's very likely related to the #1046 refactor.
The text was updated successfully, but these errors were encountered: