Skip to content

Commit 8708fe6

Browse files
committed
Back out "DPL: don't print INVALID runNumber error when running with ALICE_O2_FST=1 (AliceO2Group#14591)"
Original commit changeset: 89bef8a
1 parent d84a22c commit 8708fe6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Framework/Core/src/ExternalFairMQDeviceProxy.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "Framework/AlgorithmSpec.h"
1414
#include "Framework/DataProcessingHeader.h"
1515
#include "Framework/DataSpecUtils.h"
16-
#include "Framework/DataTakingContext.h"
17-
#include "Framework/DefaultsHelpers.h"
1816
#include "Framework/DeviceSpec.h"
1917
#include "Framework/ExternalFairMQDeviceProxy.h"
2018
#include "Framework/InitContext.h"
@@ -536,7 +534,7 @@ InjectorFunction dplModelAdaptor(std::vector<OutputSpec> const& filterSpecs, DPL
536534
timingInfo.runNumber = dh->runNumber;
537535
timingInfo.tfCounter = dh->tfCounter;
538536
LOG(debug) << msgidx << ": " << DataSpecUtils::describe(OutputSpec{dh->dataOrigin, dh->dataDescription, dh->subSpecification}) << " part " << dh->splitPayloadIndex << " of " << dh->splitPayloadParts << " payload " << parts.At(msgidx + 1)->GetSize();
539-
if (DefaultsHelpers::deploymentMode() != DeploymentMode::FST && (dh->runNumber == 0 || (dh->tfCounter == 0 && dh->dataDescription.as<std::string>() != "EOS") || (fmqRunNumber > 0 && fmqRunNumber != dh->runNumber))) {
537+
if (dh->runNumber == 0 || (dh->tfCounter == 0 && dh->dataDescription.as<std::string>() != "EOS") || (fmqRunNumber > 0 && fmqRunNumber != dh->runNumber)) {
540538
LOG(error) << "INVALID runNumber / tfCounter: runNumber " << dh->runNumber
541539
<< ", tfCounter " << dh->tfCounter << ", FMQ runNumber " << fmqRunNumber
542540
<< " for msgidx " << msgidx << ": " << DataSpecUtils::describe(OutputSpec{dh->dataOrigin, dh->dataDescription, dh->subSpecification}) << " part " << dh->splitPayloadIndex << " of " << dh->splitPayloadParts << " payload " << parts.At(msgidx + 1)->GetSize();

0 commit comments

Comments
 (0)