~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-4yb Learner: raftpb + InternalRaftRequest proto schemas Lined Up

status: open P2 task milestone:m5-clustering
bd update tarantool-etcd-4yb --claim bd close tarantool-etcd-4yb
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-05-20T06:45:15Z
Updated2026-07-17T14:27:36Z
Description
Add gogoproto schemas to our pure-Lua pb engine for the internal wire types the log carries: raftpb.Message, raftpb.Entry, raftpb.HardState, raftpb.ConfState, raftpb.ConfChange/ConfChangeV2, raftpb.Snapshot/SnapshotMetadata, and etcdserverpb.InternalRaftRequest (the command envelope inside each normal Entry — wraps Put/Range/DeleteRange/Txn/Compaction/LeaseGrant/LeaseRevoke/Authenticate/AuthEnable/AuthUserAdd/RoleGrantPermission/etc). Vendor the .proto under proto/ and regenerate via just gen-proto. These are etcd-INTERNAL protos (raft/raftpb/raft.proto, server/etcdserver/etcdserverpb/raft_internal.proto) — note the proto2-vs-proto3 and gogoproto-extension caveats; verify our parser handles them or strip annotations like we do for the public protos.
Notes
Watch the cdata-int64 footgun on term/index/lease_id fields (memory feedback_pb_cdata_int64_primitives). raft_internal.proto pulls in etcdserverpb rpc.proto messages we already have.

Depends on

  • tarantool-etcd-cnj — [epic] Raft-learner replica — join an etcd cluster as a non-voting member parent-child open

Depended on by

  • tarantool-etcd-6js — Learner: apply loop — InternalRaftRequest -> existing handlers blocks
  • tarantool-etcd-boq — Learner: raft state machine (follower/learner subset) blocks

Prerequisite chain — everything this waits on, transitively

  • 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

Unblocks — everything waiting on this, transitively

  • tarantool-etcd-6js — Learner: apply loop — InternalRaftRequest -> existing handlers blocks open
  • tarantool-etcd-q5f — Learner: snapshot receive (bbolt parse + bucket translation) blocks open
  • tarantool-etcd-zkg — Learner: conformance — join real etcd cluster, assert log replication blocks open
  • tarantool-etcd-ovo — Learner: durable applied_index (WAL-equivalent for restart) blocks open
  • tarantool-etcd-boq — Learner: raft state machine (follower/learner subset) blocks open

No comments.

  • Eugene Blikh created the issue · 2026-05-20T09:45:14Z
  • Eugene Blikh added under epic tarantool-etcd-cnj · 2026-05-20T09:47:29Z
  • Eugene Blikh tarantool-etcd-6js now depends on this · 2026-05-20T09:47:29Z
  • Eugene Blikh tarantool-etcd-boq now depends on this · 2026-05-20T09:47:29Z
  • Eugene Blikh added label milestone:m5-clustering · 2026-05-21T14:37:39Z
Stored rows — what this pane was built from, as read
issues 1 row
id tarantool-etcd-4yb
content_hash ebc303ee9bbf602076c20e76824b17f16abbe8eb6df6cd55b32c47f62bf85b81
title Learner: raftpb + InternalRaftRequest proto schemas
description Add gogoproto schemas to our pure-Lua pb engine for the internal wire types the log carries: raftpb.Message, raftpb.Entry, raftpb.HardState, raftpb.ConfState, raftpb.ConfChange/ConfChangeV2, raftpb.Snapshot/SnapshotMetadata, and etcdserverpb.InternalRaftRequest (the command envelope inside each normal Entry — wraps Put/Range/DeleteRange/Txn/Compaction/LeaseGrant/LeaseRevoke/Authenticate/AuthEnable/AuthUserAdd/RoleGrantPermission/etc). Vendor the .proto under proto/ and regenerate via just gen-proto. These are etcd-INTERNAL protos (raft/raftpb/raft.proto, server/etcdserver/etcdserverpb/raft_internal.proto) — note the proto2-vs-proto3 and gogoproto-extension caveats; verify our parser handles them or strip annotations like we do for the public protos.
design
acceptance_criteria
notes Watch the cdata-int64 footgun on term/index/lease_id fields (memory feedback_pb_cdata_int64_primitives). raft_internal.proto pulls in etcdserverpb rpc.proto messages we already have.
status open
priority 2
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-05-20T06:45:15Z
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-4yb
label milestone:m5-clustering
dependencies 3 rows
id a2835c4a-d52d-5b54-af2d-6ccbdc823ff9
issue_id tarantool-etcd-4yb
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
id c9094a55-23fe-55e2-b7f1-555fa5deb32b
issue_id tarantool-etcd-6js
type blocks
created_at 2026-05-20T09:47:29Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-4yb
depends_on_wisp_id NULL
depends_on_external NULL
id e279a567-dba3-538b-82ef-551395e8e6e6
issue_id tarantool-etcd-boq
type blocks
created_at 2026-05-20T09:47:29Z
created_by Eugene Blikh
metadata <binary>
thread_id
depends_on_issue_id tarantool-etcd-4yb
depends_on_wisp_id NULL
depends_on_external NULL
events 2 rows
id 7f5fcba0-05dd-5fc1-af72-7e1d0acc6a59
issue_id tarantool-etcd-4yb
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-05-20T09:45:14Z
id f36e61cc-3c12-5d06-9e31-677f317c7f48
issue_id tarantool-etcd-4yb
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:39Z