art-daq / artdaq

Other
0 stars 3 forks source link

Add destination parameter to DSM::sendFragment #135

Closed eflumerf closed 2 years ago

eflumerf commented 2 years ago

This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/22531 (FNAL account required) Originally created by @eflumerf on 2019-05-08 02:17:30


DataSenderManager should accept an int destination parameter to sendFragment, which would be used instead of other routing methods (either routing tables or internal RoundRobin) unless set to -1. It should print an error message and discard Fragments if the destination given does not exist in its destination list.

eflumerf commented 2 years ago

Comment by @eflumerf on 2019-05-30 17:20:14


Implementation on artdaq:feature/22531_DataSenderManager_RankParameterToSendFragment

eflumerf commented 2 years ago

Comment by @bieryAtFnal on 2019-05-30 18:25:34


There should be separate Constants to indicate that no Rank information is available when passing a rank into sendFragment and to indicate that the status of the execution of sendFragment failed because insufficient Rank/destination information was available.

eflumerf commented 2 years ago

Comment by @eflumerf on 2019-05-30 19:49:38


I have made the suggested update. The returned destination from DSM::sendFragment is only read in BoardReaderCore, which adds it to a TRACE message.