Bugfix for the Event Service
All threads resolved!
All threads resolved!
Compare changes
Files
4- Vakhtang Tsulaia authored
Bugfix in the mechanism of handling failed MP workers in the Event Service. This patch covers the case when a worker fails to transition from the event processing state into the finalization state after receiving "No more events" message from the range scatterer. The idea here is that instead of releasing a fixed number of workers (nprocs), the scatterer will keep releasing the workers until it gets a signal that all of them have finished.
@@ -47,6 +47,7 @@ EvtRangeProcessor::EvtRangeProcessor(const std::string& type
@@ -120,6 +121,7 @@ int EvtRangeProcessor::makePool(int, int nprocs, const std::string& topdir)
@@ -236,6 +238,15 @@ StatusCode EvtRangeProcessor::wait_once(pid_t& pid)