Skip to content

[MCH] allow sending full HBframes in MCH custom raw page reader#4286

Merged
aphecetche merged 2 commits intoAliceO2Group:devfrom
AliceMCH:mch-improved-cru-page-reader
Sep 16, 2020
Merged

[MCH] allow sending full HBframes in MCH custom raw page reader#4286
aphecetche merged 2 commits intoAliceO2Group:devfrom
AliceMCH:mch-improved-cru-page-reader

Conversation

@aferrero2707
Copy link
Copy Markdown
Collaborator

This commit adds an option to the MCH CRU page reader that allows to buffer the pages belonging to the same orbit and send them in one single DPL message.
The default behavior is to send each CRU page in a separate DPL message.

This commit adds an option to the MCH CRU page reader that allows to buffer the pages belonging to the same orbit and send them in one single DPL message.
The default behavior is to send each CRU page in a separate DPL message.
aphecetche
aphecetche previously approved these changes Sep 8, 2020
Copy link
Copy Markdown
Collaborator

@aphecetche aphecetche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want to note that the run function is getting a bit long and not trivial to read (the printouts does not help, for instance). Might consider some refactoring at some point...

@aferrero2707
Copy link
Copy Markdown
Collaborator Author

@aphecetche

Might consider some refactoring at some point...

It is true that the code is not very "linear", but I expect this custom page reader to disappear in the near future. It is currently used mainly to process data that might have issues with the HBframe ordering/formatting, and hence might screw up the STFbuilder. Hence I would propose to leave it as it is for the moment, and do some further work on it in case we will decide to keep it around longer...

@aferrero2707
Copy link
Copy Markdown
Collaborator Author

@aphecetche I had to force a rebuild because some jobs failed for reasons unrelated to this PR... could you review it again?

Thanks!

@aphecetche aphecetche merged commit 55142b8 into AliceO2Group:dev Sep 16, 2020
@aferrero2707 aferrero2707 deleted the mch-improved-cru-page-reader branch October 9, 2020 07:45
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