Observe the running etcd version in EtcdMember status and key version-dependent logic off it
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Go
- Estrellas
- 154
- Forks
- 31
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cozystack/etcd-operator
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cozystack/etcd-operator#385 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
cozystack/etcd-operator#383 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
cozystack/etcd-operator#381 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
cozystack/etcd-operator#374 · 1 comentario ·
-
Adoption deletes the legacy cluster-state ConfigMap but leaves Pods referencing it, and neither self-heal path detects the resultPosiblemente ocupada @androndo la tomó hace 46 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
cozystack/etcd-operator#373 ·
Todos los issues de cozystack/etcd-operator
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Correct local module testing instructions for Go sample contributorsPosiblemente ocupada @slievrly la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8Posiblemente ocupada @pacwestnobody la tomó hoy. Abiertogo good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Podiom/Podiom#427 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -racePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
factory:subtask
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
Los mantenedores suelen responder en 1 día