Skip to content

Proto changes for partial cache#24229

Merged
andreiko merged 1 commit intomasterfrom
andrey/partial-cache-proto
Apr 10, 2023
Merged

Proto changes for partial cache#24229
andreiko merged 1 commit intomasterfrom
andrey/partial-cache-proto

Conversation

@andreiko
Copy link
Copy Markdown
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.

@github-actions github-actions Bot requested a review from atburke April 6, 2023 18:45
@andreiko andreiko force-pushed the andrey/partial-cache-proto branch from 10a32aa to 80d68c3 Compare April 6, 2023 18:47
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
Comment thread api/proto/teleport/legacy/types/types.proto Outdated
@andreiko
Copy link
Copy Markdown
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 force-pushed the andrey/partial-cache-proto branch from 0996c32 to 24f1096 Compare April 6, 2023 20:46
@andreiko andreiko force-pushed the andrey/partial-cache-proto branch from 24f1096 to 989c353 Compare April 10, 2023 17:26
@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
Copy link
Copy Markdown

@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