Skip to content

Commit 1350d57

Browse files
authored
[Common] Temporary first-order fix to CCDB caching mistake
1 parent cd44818 commit 1350d57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Common/Tools/timestampModule.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ class TimestampModule
9696
int64_t sorTimestamp = runDuration.first; // timestamp of the SOR/SOX/STF in ms
9797
int64_t eorTimestamp = runDuration.second; // timestamp of the EOR/EOX/ETF in ms
9898

99+
// clear cache to prevent interference with orbit reset queries from other code
100+
// FIXME this should not have been a problem, to be investigated
101+
ccdb->clearCache(timestampOpts.orbit_reset_path.value.data());
102+
99103
const bool isUnanchoredRun3MC = runNumber >= 300000 && runNumber < 500000;
100104
if (timestampOpts.isRun2MC.value == 1 || isUnanchoredRun3MC) {
101105
// isRun2MC: bc/orbit distributions are not simulated in Run2 MC. All bcs are set to 0.

0 commit comments

Comments
 (0)