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

[datastore] Serialization of Entity no longer stable #8508

Closed
stickfigure opened this issue Oct 3, 2022 · 2 comments
Closed

[datastore] Serialization of Entity no longer stable #8508

stickfigure opened this issue Oct 3, 2022 · 2 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@stickfigure
Copy link

Entity has had stable serialization for a very long time. Sometime in recent history it broke:

java.io.InvalidClassException: com.google.protobuf.ByteString; local class incompatible: stream classdesc serialVersionUID = -5687838473930111344, local class serialVersionUID = 2497003577682127865

I notice that ByteString doesn't specify a serialversionuid.

Objectify serializes Entity into memcache, so breaking serialization causes headaches.

@stickfigure stickfigure added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Oct 3, 2022
@stickfigure
Copy link
Author

Relevant: protocolbuffers/protobuf#10716

@diegomarquezp
Copy link
Contributor

Closing as ByteString serialization was fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants