Skip to content

Conversation

@zentol
Copy link
Contributor

@zentol zentol commented Sep 30, 2022

No description provided.

@zentol zentol requested a review from XComp September 30, 2022 11:18
@flinkbot
Copy link
Collaborator

flinkbot commented Sep 30, 2022

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Copy link
Contributor

@XComp XComp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

CompletableFuture<Void> terminationFuture = rpcEndpoint.getTerminationFuture();

rpcService.stopService();
rpcService.closeAsync();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit out-of-scope, but I'm wondering whether we should also assert the completion of the CompletableFuture that is returned by closeAsync here? ...just to be sure that the service has actually stopped properly after the completion of the terminationFuture succeeded. WDYT? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT that's covered by AkkaRpcServiceTest#testAkkaRpcServiceShutDownWithRpcEndpoints

@zentol zentol merged commit e9f3ec9 into apache:master Oct 5, 2022
@zentol zentol deleted the 29487 branch October 5, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants