-
Notifications
You must be signed in to change notification settings - Fork 5.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
[dashboard agent] Catch agent port conflict #23024
Changes from all commits
fa51a76
15c286b
d2f6229
1c7ecad
b490483
dc9126d
32ce0e2
2d2539e
abb8c49
c3f2f53
355d5b2
6dfcec3
33bfb72
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -603,7 +603,8 @@ async def _perform_iteration(self, publisher): | |
await asyncio.sleep(reporter_consts.REPORTER_UPDATE_INTERVAL_MS / 1000) | ||
|
||
async def run(self, server): | ||
reporter_pb2_grpc.add_ReporterServiceServicer_to_server(self, server) | ||
if server: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any way to just not run this function instead of adding this logic? Seems a bit ugly There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't find better way. The |
||
reporter_pb2_grpc.add_ReporterServiceServicer_to_server(self, server) | ||
|
||
gcs_addr = self._dashboard_agent.gcs_address | ||
assert gcs_addr is not None | ||
|
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.
Can you add TODO here to remove this in the future? (and do better port resolution)