Project

General

Profile

Idea #20393

Redesign the use of sequence IDs so that counter_inc() actually increments something

Added by Kurt Biery about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/23/2018
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Duration:

Description

The current design overloads the sequence ID that is returned from FragmentGenerator getNext() calls when in pull mode.

This feature is confusing to both experts and FragmentGenerator developers.

Here is a quote from a developer on protoDUNE:

also, it seems there is bug with ev_counter() & ev_counter_inc() from CommandableFragmentGenerator. I called _inc() for every fragment received from RCE, and set the seqID with ev_counter(). However, the counter sometimes doesn't advance at all.
I have noticed this issue a while ago, but the counter used to skip once a while. Now it seems stuck at the same number at some point



Also available in: Atom PDF