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

Proto changes for partial cache #24229

Merged
merged 1 commit into from
Apr 10, 2023
Merged

Proto changes for partial cache #24229

merged 1 commit into from
Apr 10, 2023

Conversation

andreiko
Copy link
Contributor

@andreiko andreiko commented Apr 6, 2023

Related issue: #21586
Related RFD: 0114 - Partial cache healthiness

Changes summary

  • New Resource variant WatchStatusV1 which is going to be attached to OpInit events.
  • New Watch field AllowPartialSuccess which is going to enable partial success mode for WatchEvents().
  • Moved WatchKind from auth service proto to types because it's used by WatchStatusV1. As a result, two existing WatchKind structs in go code were consolidated in one;

Note: moving the message from one proto to another and importing it from the former doesn't cause compatibility issues in either direction.

@andreiko
Copy link
Contributor Author

andreiko commented Apr 6, 2023

All checks are passing now. Although it seems that there is some existing flaky race detection going on in the tests.

@andreiko andreiko added this pull request to the merge queue Apr 10, 2023
Merged via the queue into master with commit 62bfd21 Apr 10, 2023
@andreiko andreiko deleted the andrey/partial-cache-proto branch April 10, 2023 17:58
@public-teleport-github-review-bot

@andreiko See the table below for backport results.

Branch Result
branch/v10 Failed
branch/v11 Failed
branch/v12 Failed

andreiko added a commit that referenced this pull request Apr 10, 2023
andreiko added a commit that referenced this pull request Apr 25, 2023
espadolini added a commit that referenced this pull request May 23, 2023
espadolini added a commit that referenced this pull request May 23, 2023
espadolini added a commit that referenced this pull request May 24, 2023
espadolini added a commit that referenced this pull request May 25, 2023
espadolini added a commit that referenced this pull request May 25, 2023
espadolini added a commit that referenced this pull request May 26, 2023
espadolini added a commit that referenced this pull request May 26, 2023
espadolini added a commit that referenced this pull request May 26, 2023
* Use WIRE_JSON in buf breaking

* Fix minor breaks in events.proto

* Partial backport of #24229
espadolini added a commit that referenced this pull request May 26, 2023
* Use WIRE_JSON in buf breaking

* Remove "backwards" reservations from proto

* Fix minor breaks

* Partial backport of #24229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants