Observe the running etcd version in EtcdMember status and key version-dependent logic off it
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by tracing how the operator currently reads spec.version for restore compatibility, target version, and drift detection; the issue does not name files or tests. Determine where the member can obtain the running etcd version from its endpoint and report it in EtcdMember status, then identify the version dependent logic that must use that observed value. Done means the running version is reported and those decisions use it.
索引モデルが issue の本文から書いたものです。
説明
Background
Spun out of the review on #337 (per reviewer request — future work, not folded into that PR).
Today spec.version is treated as the source of truth for the running etcd version: it is injected as ETCD_VERSION, drives the restore version-compat pre-flight, the latched target, and drift detection. The member never reports what version it is actually running.
Problem
Because nothing observes the real running version, intent (spec.version) and reality can silently diverge — there is no signal to detect or reconcile a mismatch. This was the blocking reason a per-cluster image tag override (spec.image.tag) was dropped from #337: a tag resolving to a different minor than spec.version is internally contradictory and unvalidated.
Proposal
- The member determines, at runtime, the etcd version it is actually running and writes it to its
status(e.g.EtcdMember.status.version, read from the etcd endpoint //version). - The operator's version-dependent logic keys off that observed value, not the spec field.
Why it matters
This is the principled fix for the spec-vs-reality conflict. With an observed version in status, a per-cluster image/version override (deferred in #337) could be reconsidered safely, and version drift/upgrade handling becomes detectable rather than assumed.
Refs: #337
- 主要言語
- Go
- スター
- 154
- フォーク
- 31
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cozystack/etcd-operator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
cozystack/etcd-operator#385 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cozystack/etcd-operator#383 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
cozystack/etcd-operator#381 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
cozystack/etcd-operator#374 · コメント 1 件 ·
-
Adoption deletes the legacy cluster-state ConfigMap but leaves Pods referencing it, and neither self-heal path detects the result対応中かも @androndo が 46 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
cozystack/etcd-operator#373 ·
cozystack/etcd-operator の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Correct local module testing instructions for Go sample contributors対応中かも @slievrly が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8対応中かも @pacwestnobody が今日担当しました。 オープンgo good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Podiom/Podiom#427 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -race対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 1 日以内に返信