-
Notifications
You must be signed in to change notification settings - Fork 334
Drop the managed Column from team_conv Table in Galley
#2127
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
Conversation
managed Column from team_conv Table in Galleymanaged Column from team_conv Table in Galley
- This is a breaking API change. In FromJSON instances, this key was already ignored during parsing, but now it is removed from ToJSON instances as well. The change is reflected only in version 2 of the client API, and version 1 stays intact.
57332e1 to
58281d8
Compare
…anaged-conv-schema
|
I'm not sure how the version bounds meant for servant routes ended up in API types, but I would recommend not doing that. As discussed, I don't think we need separate types for older versions, because this feature never actually worked and was never used. We only need to support the interface in V1, not the functionality. So I would only have the types for v2, and just make the JSON instances backward compatible. No messing around with versions should be necessary. |
…anaged-conv-schema
- This puts them back to their old instances as we never output these types, and it doesn't really matter that we keep the "managed" key in JSON instances as it is ignored when parsing anyway.
…anaged-conv-schema
I've reverted the changes to the However, Can you take a look again? |
…hema' into mdimjasevic/drop-managed-conv-schema
I still don't think this is necessary. Just output a |
Thanks for this comment and a thorough explanation in a call. I think I've addressed all of your feedback and it should be fine now. Can you take a look? |
pcapriotti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
(Do not merge before Sept 2022 and/or before most deployments are on chart version >= 4.1.0. In case this is merged and deployed before 4.1.0 was deployed first, a transient period of the time it takes to roll out a deployment (in the order of minutes usually) of 'HTTP status 500 internal server errors' on client API calls to conversations can happen.)
This PR is a follow-up to PR #2125 that was merged on Feb 14, 2022.
The PR also removes the
managedkey from JSON instances in client API version 2. This makes it a client API breaking change so versioning is used; version 1 is kept intact.Checklist
develop. Make sure to updateschemaVersionin Galley and renameservices/galley/schema/src/V60_DropManagedConversations.hsaccordingly.make git-add-cassandra-schemato update the cassandra schema documentation.changelog.d.