~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-zkg Learner: conformance — join real etcd cluster, assert log replication Lined Up

status: open P2 task milestone:m5-clustering
bd update tarantool-etcd-zkg --claim bd close tarantool-etcd-zkg
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-05-20T06:45:18Z
Updated2026-07-17T14:27:37Z
Description
End-to-end test in tests/conformance: SpawnEtcd (or a small etcd cluster), MemberAddAsLearner the tarantool node with its advertise_peer_url, wait for it to become a healthy learner, then: (1) Put on the real etcd leader, assert it appears via Range on the tarantool learner with the SAME mod_revision; (2) assert MemberList on the cluster shows the tarantool node as IsLearner=true; (3) lease grant + key-with-lease on the leader replicates and the learner reflects lease attachment; (4) auth enable on the leader propagates; (5) force a snapshot (lower --snapshot-count, churn keys past compaction) and assert the learner recovers via snapshot receive. Use the harness, never tt start (memory feedback_use_harness_not_tt).
Notes
This is the correctness oracle for the whole epic — each phase above is unverifiable in isolation against real etcd without it. Gate behind a build tag / env since it boots a foreign etcd cluster.

Depends on

  • tarantool-etcd-6js — Learner: apply loop — InternalRaftRequest -> existing handlers blocks open
  • tarantool-etcd-6zn — Learner: MemberAddAsLearner handshake + cluster version negotiation blocks open
  • tarantool-etcd-q5f — Learner: snapshot receive (bbolt parse + bucket translation) blocks open
  • tarantool-etcd-cnj — [epic] Raft-learner replica — join an etcd cluster as a non-voting member parent-child open

Depended on by

Nothing depends on this issue.

Prerequisite chain — everything this waits on, transitively

  • tarantool-etcd-6js — Learner: apply loop — InternalRaftRequest -> existing handlers blocks open
  • tarantool-etcd-boq — Learner: raft state machine (follower/learner subset) blocks open
  • tarantool-etcd-axs — Learner: rafthttp peer transport over nghttp2 blocks open
  • tarantool-etcd-umc — Learner: config block + role plumbing blocks open
  • tarantool-etcd-cnj — [epic] Raft-learner replica — join an etcd cluster as a non-voting member parent-child open
  • tarantool-etcd-7ey — Replica route: connect as read-only replica to an existing etcd cluster related open
  • tarantool-etcd-16d — Implement Maintenance.Snapshot RPC (streaming DB snapshot) related open
  • tarantool-etcd-4yb — Learner: raftpb + InternalRaftRequest proto schemas blocks open
  • tarantool-etcd-6zn — Learner: MemberAddAsLearner handshake + cluster version negotiation blocks open
  • tarantool-etcd-q5f — Learner: snapshot receive (bbolt parse + bucket translation) blocks open

No comments.

  • Eugene Blikh created the issue · 2026-05-20T09:45:18Z
  • Eugene Blikh added dependency on tarantool-etcd-6js · 2026-05-20T09:47:29Z
  • Eugene Blikh added dependency on tarantool-etcd-6zn · 2026-05-20T09:47:29Z
  • Eugene Blikh added dependency on tarantool-etcd-q5f · 2026-05-20T09:47:29Z
  • Eugene Blikh added under epic tarantool-etcd-cnj · 2026-05-20T09:47:29Z
  • Eugene Blikh added label milestone:m5-clustering · 2026-05-21T14:37:37Z
Stored rows — what this pane was built from, as read
issues 1 row
id tarantool-etcd-zkg
content_hash 72a34c0ab42f90eede7cbbfd3ec5f7ef4f98cdbb5232099ad2926aaa87a61111
title Learner: conformance — join real etcd cluster, assert log replication
description End-to-end test in tests/conformance: SpawnEtcd (or a small etcd cluster), MemberAddAsLearner the tarantool node with its advertise_peer_url, wait for it to become a healthy learner, then: (1) Put on the real etcd leader, assert it appears via Range on the tarantool learner with the SAME mod_revision; (2) assert MemberList on the cluster shows the tarantool node as IsLearner=true; (3) lease grant + key-with-lease on the leader replicates and the learner reflects lease attachment; (4) auth enable on the leader propagates; (5) force a snapshot (lower --snapshot-count, churn keys past compaction) and assert the learner recovers via snapshot receive. Use the harness, never tt start (memory feedback_use_harness_not_tt).
design
acceptance_criteria
notes This is the correctness oracle for the whole epic — each phase above is unverifiable in isolation against real etcd without it. Gate behind a build tag / env since it boots a foreign etcd cluster.
status open
priority 2
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-05-20T06:45:18Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-07-17T14:27:37Z
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 1
labels 1 row
issue_id tarantool-etcd-zkg
label milestone:m5-clustering
dependencies 4 rows
id 29587e21-8ef8-5670-a9b2-7fda202453e1
issue_id tarantool-etcd-zkg
type blocks
created_at 2026-05-20T09:47:29Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-6js
depends_on_wisp_id NULL
depends_on_external NULL
id 77b19985-30f0-5eea-81bb-e3a694b5004e
issue_id tarantool-etcd-zkg
type blocks
created_at 2026-05-20T09:47:29Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-6zn
depends_on_wisp_id NULL
depends_on_external NULL
id b3faee82-6b59-5203-872f-d3fbcde31538
issue_id tarantool-etcd-zkg
type blocks
created_at 2026-05-20T09:47:29Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-q5f
depends_on_wisp_id NULL
depends_on_external NULL
id c4afa884-aaa0-58c5-9029-b9e4720d2f46
issue_id tarantool-etcd-zkg
type parent-child
created_at 2026-05-20T09:47:29Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-cnj
depends_on_wisp_id NULL
depends_on_external NULL
events 2 rows
id 66e3fc09-6233-598a-ad11-064a2645839f
issue_id tarantool-etcd-zkg
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-05-20T09:45:18Z
id 7c4b5c50-94ad-56b0-8340-aef44c6592f7
issue_id tarantool-etcd-zkg
event_type label_added
actor Eugene Blikh
old_value NULL
new_value NULL
comment Added label: milestone:m5-clustering
created_at 2026-05-21T14:37:37Z