diff --git a/Common/Utils/include/CommonUtils/NameConf.h b/Common/Utils/include/CommonUtils/NameConf.h index 5f0f13b72f17e..9facdc4c2e91f 100644 --- a/Common/Utils/include/CommonUtils/NameConf.h +++ b/Common/Utils/include/CommonUtils/NameConf.h @@ -67,6 +67,7 @@ class NameConf : public o2::conf::ConfigurableParamHelper static constexpr std::string_view CCDBMETA = "ccdb_meta"; // hardcoded static constexpr std::string_view CCDBQUERY = "ccdb_query"; // hardcoded static constexpr std::string_view CCDBRunTag = "runNumber"; + static constexpr std::string_view CCDBDefaultEntry = "default"; // Filename to store geometry file static std::string getGeomFileName(const std::string_view prefix = ""); diff --git a/Framework/Core/src/CCDBHelpers.cxx b/Framework/Core/src/CCDBHelpers.cxx index 32fcda8af825e..26f247d9aba73 100644 --- a/Framework/Core/src/CCDBHelpers.cxx +++ b/Framework/Core/src/CCDBHelpers.cxx @@ -211,6 +211,10 @@ auto populateCacheWith(std::shared_ptr const& helper, // FIXME: I should send a dummy message. continue; } + // printing in case we find a default entry + if (headers.find("default") != headers.end()) { + LOGP(detail, "******** Default entry used for {} ********", path); + } if (etag.empty()) { helper->mapURL2UUID[path] = headers["ETag"]; // update uuid auto cacheId = allocator.adoptContainer(output, std::move(v), true, header::gSerializationMethodCCDB);