hazelcast / hazelcast/hazelcast-cpp-client

[TRACKING ISSUE] Shutdown executor in finally

Open
#775 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
91
Forks
54
Avg merge
1d 12m
Merged PRs (30d)
5

Description

The tracking issue for the Java side PR.

**Shutdown executor in finally**

See https://github.com/hazelcast/hazelcast/pull/16878 for details.

---

closes https://github.com/hazelcast/hazelcast/issues/16397

In logs, we can see that sometimes `awaitTermination` doesn't finish threads properly in the given time window, to close executor for those cases, this PR adds shutdownNow in the finally block. This will help to pinpoint the real failure, if there is any, for the future failures.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.