diff --git a/CCDB/src/CcdbApi.cxx b/CCDB/src/CcdbApi.cxx index f436172de42ff..df05d393100d6 100644 --- a/CCDB/src/CcdbApi.cxx +++ b/CCDB/src/CcdbApi.cxx @@ -1461,7 +1461,7 @@ std::map CcdbApi::retrieveHeaders(std::string const& p if (!mSnapshotCachePath.empty()) { // protect this sensitive section by a multi-process named semaphore - auto semaphore_barrier = std::make_unique(mSnapshotCachePath, path); + auto semaphore_barrier = std::make_unique(mSnapshotCachePath + std::string("_headers"), path); std::string logfile = mSnapshotCachePath + "/log"; std::fstream out(logfile, ios_base::out | ios_base::app);