Skip to content

Conversation

@valepakh
Copy link
Contributor

Comment on lines 150 to 156
if (holders != null) {
for (ClientChannelHolder hld : holders) {
hld.close();
}
}
connMgr.stop();
shutdownAndAwaitTermination(streamerFlushExecutor, 10, TimeUnit.SECONDS);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not the same as the old closeAllManually call - we should wrap every close() in a try-catch so that everything is closed even if there was an exception.

We should also do this for holders.

@Pochatkin Pochatkin merged commit 081c884 into apache:main Aug 13, 2024
@valepakh valepakh deleted the IGNITE-22981 branch August 13, 2024 20:00
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