~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-uee Replica route: bootstrap snapshot import Lined Up

status: open P2 task milestone:m5-clustering
bd update tarantool-etcd-uee --claim bd close tarantool-etcd-uee
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-05-20T06:17:54Z
Updated2026-07-17T14:27:37Z
Description
On entering replica mode, pull the full upstream keyspace once and load it into our etcd_* spaces, recording the upstream revision the snapshot was taken at (the Watch tail starts from here).

Approach: a clientv3-style Range over the whole keyspace ([\\x00, \\x00) with WithRange/WithFromKey) reading at a single revision (use the header.revision from the first Range, or RangeRequest with revision pinned + paging via WithLimit + WithMinModRev/last-key continuation). Persist each kv with its create_revision/mod_revision/version/lease intact. Alternatively consume Maintenance.Snapshot if/when interop lands (tarantool-etcd-16d) — but Range is the dependency-free path for v1.

Output: etcd_* spaces populated, and the 'synced through revision R' watermark persisted for the tail phase to resume from.
Notes
Must preserve upstream create_revision/mod_revision/version exactly — feeds revision-alignment. Page large keyspaces to avoid one giant Range.

Depends on

  • tarantool-etcd-jg3 — Replica route: config block + role plumbing blocks open
  • 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

Depended on by

Prerequisite chain — everything this waits on, transitively

  • tarantool-etcd-jg3 — Replica route: config block + role plumbing blocks open
  • 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:54Z
  • Eugene Blikh added under epic tarantool-etcd-7ey · 2026-05-20T09:18:14Z
  • Eugene Blikh added dependency on tarantool-etcd-jg3 · 2026-05-20T09:18:17Z
  • Eugene Blikh tarantool-etcd-zws now depends on this · 2026-05-20T09:18:18Z
  • Eugene Blikh tarantool-etcd-hlx now depends on this · 2026-05-20T09:18:18Z
  • Eugene Blikh linked tarantool-etcd-16d (related) · 2026-05-20T09:18:20Z
  • 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-uee
content_hash 9e6ca4342149c79eee16a063f881ae3eb1683b9de5774eae58d2b37bfc8bcb9b
title Replica route: bootstrap snapshot import
description On entering replica mode, pull the full upstream keyspace once and load it into our etcd_* spaces, recording the upstream revision the snapshot was taken at (the Watch tail starts from here). Approach: a clientv3-style Range over the whole keyspace ([\\x00, \\x00) with WithRange/WithFromKey) reading at a single revision (use the header.revision from the first Range, or RangeRequest with revision pinned + paging via WithLimit + WithMinModRev/last-key continuation). Persist each kv with its create_revision/mod_revision/version/lease intact. Alternatively consume Maintenance.Snapshot if/when interop lands (tarantool-etcd-16d) — but Range is the dependency-free path for v1. Output: etcd_* spaces populated, and the 'synced through revision R' watermark persisted for the tail phase to resume from.
design
acceptance_criteria
notes Must preserve upstream create_revision/mod_revision/version exactly — feeds revision-alignment. Page large keyspaces to avoid one giant Range.
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: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-uee
label milestone:m5-clustering
dependencies 5 rows
id 304c29b1-c2ec-58f3-bcc7-08307103fcea
issue_id tarantool-etcd-zws
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
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 5a814ebe-5453-5f01-9812-89df538a0702
issue_id tarantool-etcd-uee
type parent-child
created_at 2026-05-20T09:18:14Z
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 d4f76ef9-87c1-5190-a6ed-3fd8e4154650
issue_id tarantool-etcd-uee
type related
created_at 2026-05-20T09:18:20Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-16d
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 7ab6bf68-f184-5c93-af17-ca2d468ea614
issue_id tarantool-etcd-uee
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
id af3a800c-52ef-5ba7-b274-dccbc4d6fc31
issue_id tarantool-etcd-uee
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-05-20T09:17:54Z