-
Notifications
You must be signed in to change notification settings - Fork 2k
[ENH]: GCv2: add grace period for transitioning soft deleted collections -> hard deleted #4719
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,14 +175,18 @@ message GetCollectionResponse { | |
| Collection collection = 1; | ||
| } | ||
|
|
||
| message CollectionIdsFilter { | ||
| repeated string ids = 1; | ||
| } | ||
|
|
||
| message GetCollectionsRequest { | ||
| optional string id = 1; | ||
| optional string name = 2; | ||
| string tenant = 4; | ||
| string database = 5; | ||
| optional int32 limit = 6; | ||
| optional int32 offset = 7; | ||
| repeated string ids = 8; | ||
| optional CollectionIdsFilter ids_filter = 8; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this wrapper type is unfortunately needed because otherwise we can't distinguish the case when no IDs filter is provided and when an empty IDs filter (
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But is it backwards and forwards compatible? For e.g. if old sysdb receives the new type, it will error out trying to deserialize this field (vice-versa)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. discussed offline--yes, it's ok as long as the change that introduced |
||
| optional bool include_soft_deleted = 9; | ||
| } | ||
|
|
||
|
|
||
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.
small bug: this method should not return all collections if
ids: []