[BUG] - `TracerConsistencyWarnings`: duplicate namespace `ChainDB.PerasVoteDbEvent.AddVote` / `GarbageCollected`
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- haskell
調査の方向性
Build cardano-node at revision 8ff994d2fc5ae4d44a6c7240ad7ac854c2ab2cd4 on the koslambrou/prepare-11.2 branch and reproduce the startup warning on a Conway testnet with protocol version 11 and ExperimentalProtocolsEnabled enabled. Trace the registration paths for ChainDB.PerasVoteDbEvent.AddVote and GarbageCollected, including their era gating and TraceOptions handling. Done means each namespace is registered once and startup emits no TracerConsistencyWarnings when Peras is off.
索引モデルが issue の本文から書いたものです。
説明
Internal/External
Internal
Area
Other Any other topic (Delegation, Ranking, ...).
Summary
On the koslambrou/prepare-11.2 integration branch, cardano-node logs a Reflection.TracerConsistencyWarnings trace on every start. It reports two duplicate namespaces in the ChainDB.PerasVoteDbEvent tracer:
{"at":"2026-10-01T15:42:20.442630005Z","ns":"Reflection.TracerConsistencyWarnings","data":{"errors":"["System namespace error: Duplicate namespace ChainDB.PerasVoteDbEvent.AddVote","System namespace error: Duplicate namespace ChainDB.PerasVoteDbEvent.GarbageCollected"]","kind":"TracerConsistencyWarnings"},"sev":"Warning","thread":"5","host":"c27f27bfdd8b"}
So the namespaces ChainDB.PerasVoteDbEvent.AddVote and ChainDB.PerasVoteDbEvent.GarbageCollected are each registered more than once. As a result, they can't be configured unambiguously through TraceOptions.
This may be related to Peras integration. Peras is being integrated for 11.2, but all Peras features should be off in the Conway and Dijkstra eras. The Peras vote DB tracers being registered, and registered twice, on a Conway network could be another symptom of Peras wiring that isn't properly gated.
Steps to reproduce
- Build cardano-node from
koslambrou/prepare-11.2. - Start a local testnet, Conway era, protocol version 11,
ExperimentalProtocolsEnabled: true. - Look at the node's stdout right after startup.
The warning appears on every node and on every start or restart. The node configuration has no TraceOptions entries for any Peras namespace, so it doesn't depend on user configuration.
Expected behavior
- Every trace namespace is registered once, and startup emits no
TracerConsistencyWarnings. - With Peras off in Conway and Dijkstra, Peras-specific tracers shouldn't cause warnings on a Conway network.
System info (please complete the following information):
- OS Name: Ubuntu
- Branch
koslambrou/prepare-11.2, git rev8ff994d2fc5ae4d44a6c7240ad7ac854c2ab2cd4. The node still reports its version ascardano-node 11.1.1. - cardano-cli 11.2.3.1
- linux-x86_64, ghc-9.6.7
- 主要言語
- Haskell
- スター
- 3.2k
- フォーク
- 763
- 平均マージ
- 3日 7時間
- マージ済み PR(30日)
- 20
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/cardano-node のほかの issue
-
Stale
難易度 1/5 1〜3時間 初心者へのやさしさ 75/100
IntersectMBO/cardano-node#6597 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
IntersectMBO/cardano-node#6522 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
-
Dijkstra PV12 needs triage type: regression
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
IntersectMBO/cardano-node#6748 ·
メンテナーはふだん 2 日以内に返信
-
[cardano-testnet] Enhancements for status command対応中かも @palas が 3 日前に担当しました。 オープン
IntersectMBO/cardano-node#6747 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
[cardano-testnet] Modify `renderStatusReportHumanReadable` to return `Doc Ann` instead.対応中かも @palas が 3 日前に担当しました。 オープン
IntersectMBO/cardano-node#6746 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
IntersectMBO/cardano-node の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alunduil/collection-json.hs#436 ·
メンテナーはふだん 1 日以内に返信
-
newcomers
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
JacquesCarette/Drasil#5597 ·
メンテナーはふだん 4 日以内に返信
-
`unsafeReleaseAll` throws `ResourceRegistryUsedFromUntrackedThread` when called from an untracked thread対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信