~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-glx StatusResponse omits downgradeInfo and never populates errors[] Lined Up

status: open P3 bug etcd-changelog-sweep
bd update tarantool-etcd-glx --claim bd close tarantool-etcd-glx
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-07-17T13:21:58Z
Updated2026-07-17T13:21:58Z
Description
etcd always emits DowngradeInfo{enabled:false} (v3rpc/maintenance.go:275) and appends 'etcdserver: no leader' to errors[] when leaderless (:289-291).

app/etcd/maintenance.lua:85-98 has no downgradeInfo key at all, and returns errors = {} unconditionally (:95) EVEN THOUGH the handler already detects leader_id == 0 at :60-63 — the information is right there, just not surfaced.

Impact: clientv3 sees resp.DowngradeInfo == nil against us and non-nil against etcd. Other fields are present; dbSize -> memtx arena is an already-documented divergence (docs/TODO.md:384-385). Roughly two lines in the return table.
Acceptance criteria
Status returns downgradeInfo{enabled:false} and errors[] carrying 'etcdserver: no leader' when leaderless; conformance asserts both against real etcd.

Depends on

No outgoing dependencies.

Depended on by

Nothing depends on this issue.

No comments.

  • Eugene Blikh created the issue · 2026-07-17T16:21:57Z
  • Eugene Blikh added label etcd-changelog-sweep · 2026-07-17T16:21:57Z
Stored rows — what this pane was built from, as read
issues 1 row
id tarantool-etcd-glx
content_hash 7859c85fe71ff79ffe5d03cc01e7888ae5b971fd739db74ee248bc34c30fbf94
title StatusResponse omits downgradeInfo and never populates errors[]
description etcd always emits DowngradeInfo{enabled:false} (v3rpc/maintenance.go:275) and appends 'etcdserver: no leader' to errors[] when leaderless (:289-291). app/etcd/maintenance.lua:85-98 has no downgradeInfo key at all, and returns errors = {} unconditionally (:95) EVEN THOUGH the handler already detects leader_id == 0 at :60-63 — the information is right there, just not surfaced. Impact: clientv3 sees resp.DowngradeInfo == nil against us and non-nil against etcd. Other fields are present; dbSize -> memtx arena is an already-documented divergence (docs/TODO.md:384-385). Roughly two lines in the return table.
design
acceptance_criteria Status returns downgradeInfo{enabled:false} and errors[] carrying 'etcdserver: no leader' when leaderless; conformance asserts both against real etcd.
notes
status open
priority 3
issue_type bug
assignee NULL
estimated_minutes NULL
created_at 2026-07-17T13:21:58Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-07-17T13:21:58Z
closed_at NULL
closed_by_session
external_ref NULL
spec_id
compaction_level 0
compacted_at NULL
compacted_at_commit NULL
original_size NULL
sender
ephemeral 0
wisp_type
pinned 0
is_template 0
mol_type
work_type
source_system
metadata <binary>
source_repo
close_reason
event_kind
actor
target
payload
await_type
await_id
timeout_ns 0
waiters
hook_bead
role_bead
agent_state
last_activity NULL
role_type
rig
due_at NULL
defer_until NULL
no_history 0
started_at NULL
is_blocked 0
labels 1 row
issue_id tarantool-etcd-glx
label etcd-changelog-sweep
events 2 rows
id 019f703d-ab2b-76e1-a18a-4f5a3d6ea912
issue_id tarantool-etcd-glx
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-07-17T16:21:57Z
id 019f703d-ab2c-7347-9187-b31d8f4ad943
issue_id tarantool-etcd-glx
event_type label_added
actor Eugene Blikh
old_value NULL
new_value NULL
comment Added label: etcd-changelog-sweep
created_at 2026-07-17T16:21:57Z