You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional detailed report on the BasicCCDBManager cache (#12430)
* Add to the headers the ccdb fileSize entry
* Optional detailed report on BasicCCDBManager cache
* Add gettet for the total fetched size
---------
Co-authored-by: shahoian <ruben.shahoyan@cern.ch>
(cherry picked from commit 3301b3f)
// this means the object exist but I am not serving
930
939
// it since it's already in your possession
@@ -1765,6 +1774,9 @@ void CcdbApi::loadFileToMemory(o2::pmr::vector<char>& dest, const std::string& p
1765
1774
if ((isSnapshotMode() || mPreferSnapshotCache) && localHeaders->find("ETag") == localHeaders->end()) { // generate dummy ETag to profit from the caching
1766
1775
(*localHeaders)["ETag"] = path;
1767
1776
}
1777
+
if (localHeaders->find("fileSize") == localHeaders->end()) {
0 commit comments