bitflicker64 commented on issue #2939: URL: https://github.com/apache/incubator-hugegraph/issues/2939#issuecomment-3772056295
@Dosu `submit()` itself isn’t the core problem here: `runAndDone()` already catches `Throwable`, logs/stores the exception, and (when entered) counts down the latch. The real issue is **before `runAndDone()` runs: if `ContextCallable.call()` throws during context init, `runAndDone()` is never entered → `latch.countDown()` never happens → `await()` can hang forever, and the exception stays hidden in the `Future` since no `get()` is called. I’ll fix this by wrapping the `ContextCallable` execution so `latch.countDown()` always happens , and remove the countdown from `runAndDone()` to avoid double-counting. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
