[Feature]: Low-rate, self-triggering TCs are reported Delayed/Timing-out by definition, even when data is complete
まだ誰も着手していません。
評価
調査の方向性
Examine DefaultRequestHandlerModel::get_fragment_pieces() where the buffer timestamp comparison causes false Delayed/Timing-out classifications for self-triggering TCs. Override the completeness check for TC/TA objects to determine if the found fragments already cover the requested time window instead of requiring a newer buffer entry. The fix is complete when these TCs no longer show kIncomplete/kRequestWindowAfterBuffer status during data-taking runs.
索引モデルが issue の本文から書いたものです。
説明
Description
Some pictures to help with explanation:
Current state of trigger buffers for a common data-taking mode (using low rate random trigger):
Unpacking the data:
Description:
For a low-rate, self-triggering TC (e.g. Random, CTB), the dataflow request to read back its own TC-buffer entry is, by default, built from that same object's own time range. DefaultRequestHandlerModel::get_fragment_pieces() only reports kFound if the buffer's newest entry is timestamped strictly after the requested window's end. For an object reading back itself, both sides of that comparison come from the same object — so the comparison is unwinnable by construction. Every such request is classified Delayed, then Timing-out once retries exhaust (def-tc-handler-2), throughout the run.
Looking at the data, TC fragments and objects are actually present and complete — n_inputs==0 is expected for these TC types (no TPG->TAG chain) — despite being tagged kIncomplete/kRequestWindowAfterBuffer. This isn't specific to Random TCs: Hardware_Signal fragments show the identical pattern, for the same structural reason.
Potential impact radius
???
Reason for change
Dashboards/alerting built on these counters are currently unusable for these sources — they show permanent failure regardless of actual system health, so real problems in these sources can't be distinguished from this expected-by-construction behavior.
Suggested implementations
- Override the request-handler's completeness check for TC(/TA) (the base classes are virtual and already overridden for TPs) to be object-aware: "does what we found already cover the requested window" instead of "is there something newer in the buffer." Fixes the single-source, no-merging case; doesn't generalize to multi-TC-source/merged-decision configs.
- Per-source watermarking: each source publishes its own "processed up to T" marker independently. Avoids the single-point-of-failure/cross-source-delay problem that broke the earlier in-stream heartbeat/zipper attempt in trigger, since there's no shared ordering/merge point.
- Other options (using time sync, override the readout request 'to take all that is available without retries' for this case, ...)
Testing suggestions
No response
Anything else?
No response
- 主要言語
- C++
- スター
- 0
- フォーク
- 8
- 平均マージ
- 3時間 50分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DUNE-DAQ/trigger のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
DUNE-DAQ/trigger の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NVIDIA-Omniverse/usd-brep#23 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
qbittorrent/qBittorrent#25121 ·
メンテナーはふだん 2 日以内に返信
-
SVT-AV1: Unnecessary size padding対応中かも @pszemus が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
strukturag/libheif#1945 ·
メンテナーはふだん 1 日以内に返信
-
v9.6.0: CMake incorrectly enforces presence of libevdev対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
mltframework/shotcut#1943 ·
メンテナーはふだん 1 日以内に返信