Skip to content

DPL: Storing actual message size in the DataRef#7558

Merged
matthiasrichter merged 1 commit into
AliceO2Group:devfrom
matthiasrichter:dev-dpl-message-processing
Nov 19, 2021
Merged

DPL: Storing actual message size in the DataRef#7558
matthiasrichter merged 1 commit into
AliceO2Group:devfrom
matthiasrichter:dev-dpl-message-processing

Conversation

@matthiasrichter

@matthiasrichter matthiasrichter commented Nov 8, 2021

Copy link
Copy Markdown
Collaborator

When multiple payloads per header will be supported, the payload
size in the DataHeader can only store one value and we need the
actual payload message size. DataRefUtils::getPayloadSize should
always be used.

Most of the user code has already been updated in #7034.

Part of #7110

@matthiasrichter matthiasrichter requested a review from a team as a code owner November 8, 2021 21:45
@matthiasrichter

Copy link
Copy Markdown
Collaborator Author

@ktf the PR concerning the message consumption is merged, right? So there should not be a new conflict.

Comment thread Framework/Core/include/Framework/DataRefUtils.h Outdated
Comment thread Framework/Core/include/Framework/InputRecord.h Outdated
Comment thread Framework/Core/src/DataRelayer.cxx Outdated
@matthiasrichter matthiasrichter force-pushed the dev-dpl-message-processing branch from c9cd838 to d13802d Compare November 18, 2021 13:08
When multiple payloads per header will be supported, the payload
size in the DataHeader can only store one value and we need the
actual payload message size. DataRefUtils::getPayloadSize should
always be used.
@matthiasrichter matthiasrichter force-pushed the dev-dpl-message-processing branch from d13802d to 052a5c9 Compare November 18, 2021 13:16
@matthiasrichter

Copy link
Copy Markdown
Collaborator Author

All requested changes addressed.

@matthiasrichter matthiasrichter merged commit 94ef6f6 into AliceO2Group:dev Nov 19, 2021
@matthiasrichter matthiasrichter deleted the dev-dpl-message-processing branch November 24, 2021 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants