Details
-
Bug
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
-
None
Description
In method close() the ActorSystemProviderImpl waits 10 seconds for the ActorSystem to terminate.
try { Await.result(actorSystem.terminate(), FiniteDuration.create(10, TimeUnit.SECONDS)); } catch (final Exception e) { LOG.warn("Error awaiting actor termination", e); }
If the timeout is reached TimeoutException is thrown. However it is immediately caught and only logged. The caller has no idea something went wrong.
This exception should be propagated.
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 87482,2 | Propagate TimeoutException when ActorSystem fails to terminate | master | controller | Status: MERGED | +2 | +1 |
| 87934,2 | Expose more fine-grained shutdown methods | master | controller | Status: MERGED | +2 | +1 |
| 87953,1 | Propagate TimeoutException when ActorSystem fails to terminate | stable/sodium | controller | Status: MERGED | +2 | +1 |
| 87954,2 | Propagate TimeoutException when ActorSystem fails to terminate | stable/magnesium | controller | Status: MERGED | +2 | +1 |
| 87955,1 | Expose more fine-grained shutdown methods | stable/magnesium | controller | Status: MERGED | +2 | +1 |
| 87956,1 | Expose more fine-grained shutdown methods | stable/sodium | controller | Status: MERGED | +2 | +1 |