~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-jg3 Replica route: config block + role plumbing Lined Up

status: open P2 task milestone:m5-clustering
bd update tarantool-etcd-jg3 --claim bd close tarantool-etcd-jg3
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-05-20T06:17:54Z
Updated2026-07-17T14:27:36Z
Description
Add the role config surface for replica mode and validate/apply it. New block under app.roles.etcd, e.g.:

  replica:
    enabled: false
    mode: mirror            # mirror (read-only) | proxy (forward writes)
    upstream_endpoints: ['http://etcd-a:2379', ...]
    username: ''            # optional auth to upstream
    password: ''
    tls: {...}

Wire validate/apply/stop in app/roles/etcd.lua: when replica.enabled, the local store must refuse normal write registration and instead start the sync fiber (other child issues). Validate that mode is one of mirror|proxy and endpoints is non-empty. No sync logic here — just config parsing, validation, and the on/off switch the other phases hang off of.
Notes
Mirrors the existing grpc/json/cmux config block validation in app/roles/etcd.lua.

Depends on

  • tarantool-etcd-7ey — Replica route: connect as read-only replica to an existing etcd cluster parent-child open

Depended on by

Prerequisite chain — everything this waits on, transitively

  • tarantool-etcd-7ey — Replica route: connect as read-only replica to an existing etcd cluster parent-child open
  • tarantool-etcd-16d — Implement Maintenance.Snapshot RPC (streaming DB snapshot) related open

Unblocks — everything waiting on this, transitively

No comments.

  • Eugene Blikh created the issue · 2026-05-20T09:17:53Z
  • Eugene Blikh added under epic tarantool-etcd-7ey · 2026-05-20T09:18:13Z
  • Eugene Blikh tarantool-etcd-uee now depends on this · 2026-05-20T09:18:17Z
  • Eugene Blikh added label milestone:m5-clustering · 2026-05-21T14:37:43Z
Stored rows — what this pane was built from, as read
issues 1 row
id tarantool-etcd-jg3
content_hash a13319c39a4bdd813b6d85a5f391773719f4b5f9a43692850e00e8bb4928a25c
title Replica route: config block + role plumbing
description Add the role config surface for replica mode and validate/apply it. New block under app.roles.etcd, e.g.: replica: enabled: false mode: mirror # mirror (read-only) | proxy (forward writes) upstream_endpoints: ['http://etcd-a:2379', ...] username: '' # optional auth to upstream password: '' tls: {...} Wire validate/apply/stop in app/roles/etcd.lua: when replica.enabled, the local store must refuse normal write registration and instead start the sync fiber (other child issues). Validate that mode is one of mirror|proxy and endpoints is non-empty. No sync logic here — just config parsing, validation, and the on/off switch the other phases hang off of.
design
acceptance_criteria
notes Mirrors the existing grpc/json/cmux config block validation in app/roles/etcd.lua.
status open
priority 2
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-05-20T06:17:54Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-07-17T14:27:36Z
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-jg3
label milestone:m5-clustering
dependencies 2 rows
id 380c0d7c-021c-53eb-99e0-581126dc767b
issue_id tarantool-etcd-uee
type blocks
created_at 2026-05-20T09:18:17Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-jg3
depends_on_wisp_id NULL
depends_on_external NULL
id 80a097c8-8dcf-53ed-9a90-909694bcb010
issue_id tarantool-etcd-jg3
type parent-child
created_at 2026-05-20T09:18:13Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-7ey
depends_on_wisp_id NULL
depends_on_external NULL
events 2 rows
id 5b853ccb-dea0-59b3-a793-3e0ef66d3f55
issue_id tarantool-etcd-jg3
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-05-20T09:17:53Z
id 67c4ae88-50a8-5c6f-8577-9e92681b5fc7
issue_id tarantool-etcd-jg3
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:43Z