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: Reserve removed field numbers #2722

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

michi-covalent
Copy link
Contributor

@michi-covalent michi-covalent commented Jul 23, 2024

There are some gaps in EventType and GetEventsResponse field numbers because some fields got removed from these events. Mark these field numbers as reserved to avoid accidentally re-using them.

Move process_lsm field number from 13 to 28 since the field number 13 has already been used in the past. It's still safe to change the field number for process_lsm since we haven't released the process_lsm APIs 1.

Suggested-by: Lorenz Bauer [email protected]

Footnotes

  1. https://github.com/cilium/tetragon/pull/2566

@michi-covalent michi-covalent added the release-note/misc This PR makes changes that have no direct user impact. label Jul 23, 2024
Copy link

netlify bot commented Jul 23, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 3c4aa71
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66a031af5165a900087bf84d
😎 Deploy Preview https://deploy-preview-2722--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@michi-covalent michi-covalent force-pushed the pr/michi/proto-struggle branch from 3c4aa71 to 54dd87d Compare July 23, 2024 22:43
There are some gaps in EventType and GetEventsResponse field numbers
because some fields got removed from these events. Mark these field
numbers as reserved to avoid accidentally re-using them.

Move process_lsm field number from 13 to 28 since the field number 13
has already been used in the past. It's still safe to change the field
number for process_lsm since we haven't released the process_lsm APIs
[^1].

[^1]: #2566

Suggested-by: Lorenz Bauer <[email protected]>
Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent michi-covalent force-pushed the pr/michi/proto-struggle branch from 54dd87d to b208532 Compare July 23, 2024 22:45
@michi-covalent michi-covalent marked this pull request as ready for review July 23, 2024 23:35
@michi-covalent michi-covalent requested a review from a team as a code owner July 23, 2024 23:35
@michi-covalent michi-covalent requested a review from tixxdz July 23, 2024 23:35
@michi-covalent michi-covalent merged commit 96ba401 into main Jul 24, 2024
45 checks passed
@michi-covalent michi-covalent deleted the pr/michi/proto-struggle branch July 24, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants