-
Notifications
You must be signed in to change notification settings - Fork 38
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
control: set the highest priority for control service. #2645
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2645 +/- ##
==========================================
- Coverage 30.62% 30.61% -0.01%
==========================================
Files 406 406
Lines 30070 30070
==========================================
- Hits 9208 9206 -2
- Misses 20085 20086 +1
- Partials 777 778 +1 ☔ View full report in Codecov by Sentry. |
63c35c4
to
d962250
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.
IR?
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.
The commit starts with "conrtol".
d962250
to
b9c1a5b
Compare
b9c1a5b
to
e9c7422
Compare
Needs to be rebased. |
e9c7422
to
a595390
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.
commit header ends with a period. It is unclear from the text that priority has been maxed for both SN and IR
CHANGELOG.md
Outdated
@@ -26,6 +26,7 @@ Changelog for NeoFS Node | |||
- IR uses internal LOCODE DB from Go package (#2610) | |||
- Contract group for the committee is no longer registered/used in the Sidechain auto-deployment (#2642) | |||
- The priority of metrics service is increased (#2428) | |||
- The priority of running control service is increased (#2585) |
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.
if set the highest priority
, then maximized
pkg/innerring/innerring.go
Outdated
grpcControlSrv := grpc.NewServer() | ||
control.RegisterControlServiceServer(grpcControlSrv, controlSvc) | ||
|
||
lis, err := net.Listen("tcp", controlSvcEndpoint) |
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.
err
is lost
btw best to start listening immediately after parsing the keys in order to respond to an error as early as possible, and only if everything is ok - init gRPC server
Control ports should be initialised and start served first of all. The priority of running control service is maximized for both SN and IR. Closes: #2585. Signed-off-by: Ekaterina Pavlova <[email protected]>
a595390
to
5815476
Compare
Closes: #2585.