~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-hlx Replica route: watch-tail live sync Lined Up

status: open P2 task milestone:m5-clustering
bd update tarantool-etcd-hlx --claim bd close tarantool-etcd-hlx
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-05-20T06:17:55Z
Updated2026-07-17T14:27:37Z
Description
After bootstrap, open a clientv3 Watch from the bootstrap watermark+1 over the whole keyspace and apply every event (PUT/DELETE) into the etcd_* spaces, advancing the local synced watermark per event header.

Must handle:
- Progress notifications (WithProgressNotify) to advance the watermark even when idle, and detect staleness.
- ErrCompacted (code 11): upstream compacted past our position -> trigger a re-bootstrap (tarantool-etcd child) then resume.
- Reconnect/backoff on upstream Unavailable; resume from last applied revision.
- Ordering: apply events in revision order; the local revision counter tracks upstream mod_revision (see revision-alignment child).

This is the steady-state engine of mirror mode.
Notes
ErrCompacted=11 and progress-notify semantics are the ones we already understand from conformance work (see clientv3 quirks memory).

Depends on

  • tarantool-etcd-zws — Replica route: revision alignment with upstream blocks open
  • tarantool-etcd-7ey — Replica route: connect as read-only replica to an existing etcd cluster parent-child open
  • tarantool-etcd-uee — Replica route: bootstrap snapshot import blocks open

Depended on by

Prerequisite chain — everything this waits on, transitively

No comments.

  • Eugene Blikh created the issue · 2026-05-20T09:17:54Z
  • Eugene Blikh added under epic tarantool-etcd-7ey · 2026-05-20T09:18:15Z
  • Eugene Blikh added dependency on tarantool-etcd-uee · 2026-05-20T09:18:18Z
  • Eugene Blikh tarantool-etcd-75u now depends on this · 2026-05-20T09:18:19Z
  • Eugene Blikh added dependency on tarantool-etcd-zws · 2026-05-20T09:18:19Z
  • Eugene Blikh added label milestone:m5-clustering · 2026-05-21T14:37:42Z
Stored rows — what this pane was built from, as read
issues 1 row
id tarantool-etcd-hlx
content_hash 629cacff048485b7bfdb7696ef646a8c092fc87f720e2f43caae3e2bfd8170ae
title Replica route: watch-tail live sync
description After bootstrap, open a clientv3 Watch from the bootstrap watermark+1 over the whole keyspace and apply every event (PUT/DELETE) into the etcd_* spaces, advancing the local synced watermark per event header. Must handle: - Progress notifications (WithProgressNotify) to advance the watermark even when idle, and detect staleness. - ErrCompacted (code 11): upstream compacted past our position -> trigger a re-bootstrap (tarantool-etcd child) then resume. - Reconnect/backoff on upstream Unavailable; resume from last applied revision. - Ordering: apply events in revision order; the local revision counter tracks upstream mod_revision (see revision-alignment child). This is the steady-state engine of mirror mode.
design
acceptance_criteria
notes ErrCompacted=11 and progress-notify semantics are the ones we already understand from conformance work (see clientv3 quirks memory).
status open
priority 2
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-05-20T06:17:55Z
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-hlx
label milestone:m5-clustering
dependencies 4 rows
id 2697b5b4-3e73-53da-84dd-06b070fb115f
issue_id tarantool-etcd-75u
type blocks
created_at 2026-05-20T09:18:19Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-hlx
depends_on_wisp_id NULL
depends_on_external NULL
id 529b03b2-232a-5c53-af89-5727a252fca1
issue_id tarantool-etcd-hlx
type blocks
created_at 2026-05-20T09:18:19Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-zws
depends_on_wisp_id NULL
depends_on_external NULL
id e59ef424-b68e-5f66-a10f-627c82f52942
issue_id tarantool-etcd-hlx
type parent-child
created_at 2026-05-20T09:18:15Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-7ey
depends_on_wisp_id NULL
depends_on_external NULL
id f3111165-53a4-51d7-a12f-7d20acd98df6
issue_id tarantool-etcd-hlx
type blocks
created_at 2026-05-20T09:18:18Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-uee
depends_on_wisp_id NULL
depends_on_external NULL
events 2 rows
id 853285f2-6823-5330-9d41-95dd7170c742
issue_id tarantool-etcd-hlx
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-05-20T09:17:54Z
id 89b6b91c-c9fc-5c2d-9e08-cc773ef75cab
issue_id tarantool-etcd-hlx
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:42Z