-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Bind processId to construct CodeGenerator #15848
Conversation
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.
LGTM
a4ebcb0
to
031c3c4
Compare
@@ -1,4 +1,6 @@ | |||
/** Copyright 2010-2012 Twitter, Inc.*/ | |||
/** |
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.
This header looks unusual to me. Is it compatible with Apache 2.0?
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.
Since the origin code is copy from twitter, so need to announce it.
12ec6fb
to
22920e9
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.
b441149
to
5092d32
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #15848 +/- ##
=========================================
Coverage 39.59% 39.59%
+ Complexity 5017 5011 -6
=========================================
Files 1347 1347
Lines 45646 45646
Branches 4892 4892
=========================================
+ Hits 18073 18074 +1
+ Misses 25649 25648 -1
Partials 1924 1924 ☔ View full report in Codecov by Sentry. |
5092d32
to
f2eacef
Compare
f2eacef
to
62a7665
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.
LGTM
Purpose of the pull request
Right now the CodeGenerateUtils will not bind port, this means if we have multiple process which have the same host name, then these process will generate duplicate code.
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md