-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
util/log: rework eventpb so that log does not depend on it #85643
util/log: rework eventpb so that log does not depend on it #85643
Conversation
52c98bc
to
dd9d84b
Compare
dd9d84b
to
7eae1a3
Compare
d63ce42
to
c69df3e
Compare
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.
Reviewed 66 of 66 files at r1, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @ajwerner and @msbutler)
pkg/util/log/eventpb/events.go
line 82 at r1 (raw file):
var _ EventWithCommonSchemaChangePayload = (*FinishSchemaChange)(nil) var _ EventWithCommonSchemaChangePayload = (*ReverseSchemaChange)(nil) var _ EventWithCommonSchemaChangePayload = (*FinishSchemaChangeRollback)(nil)
Where are these interface assertions moved to?
c69df3e
to
523de4c
Compare
Thanks for the review!
Removed by accident. Added them back. |
523de4c
to
ade283c
Compare
This commit reworks some code generation and dependencies such that eventpb now depends on logpb and log no longer needs to depend on eventpb. This is important so that we can import protocol buffers into eventpb from other protobuf packages like descpb and hlc which themselves import util/log. Realistically it's bad that those packages import log, but this was easier to break in a sense than was that, and this is also a sane depedendency to not have. Release note: None
ade283c
to
847fddd
Compare
bors r=knz |
Build succeeded: |
This commit reworks some code generation and dependencies such that eventpb
now depends on logpb and log no longer needs to depend on eventpb. This is
important so that we can import protocol buffers into eventpb from other
protobuf packages like descpb and hlc which themselves import util/log.
Realistically it's bad that those packages import log, but this was easier
to break in a sense than was that, and this is also a sane depedendency to
not have.
Release note: None