Recover from stale mutexes with force unlocking and retry

This commit is contained in:
Patrick Niklaus
2016-10-12 21:26:59 +02:00
committed by Patrick Niklaus
parent caa7c994a0
commit 81c5cba0e5
6 changed files with 145 additions and 28 deletions
@@ -150,7 +150,7 @@ class SharedDataFacade final : public BaseDataFacade
if (!boost::filesystem::exists(file_index_path))
{
util::SimpleLogger().Write(logDEBUG) << "Leaf file name " << file_index_path.string();
throw util::exception("Could not load leaf index file. "
throw util::exception("Could not load " + file_index_path.string() +
"Is any data loaded into shared memory?");
}