~bigbes/tarantool-etcd · parade

main · last commit 1 month ago · 2npkec0r

← Back to the parade

tarantool-etcd-ubj No auto-compaction (--auto-compaction-mode / --auto-compaction-retention) Lined Up

status: open P2 feature etcd-changelog-sweep
bd update tarantool-etcd-ubj --claim bd close tarantool-etcd-ubj
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-07-17T13:20:52Z
Updated2026-07-17T13:20:52Z
Description
etcd advances compact_revision autonomously via --auto-compaction-mode=periodic|revision plus --auto-compaction-retention.

Client-driven Compact is correct (app/etcd/compact.lua:28) but there is NO background fiber and NO config knob — zero hits for 'auto.?compact|retention' across app/, lib/, docs/. app/roles/etcd.lua:6-44 has no compaction block.

Impact: history grows without bound unless an external actor calls Compact. A drop-in etcd replacement configured with auto-compaction gets none, and the operator has no signal — this is the kind of gap that surfaces as unbounded memory growth in production weeks later.
Design
Background fiber + roles_cfg.compaction.{mode,retention}. Interacts with the compact-revision boundary bug — land that first or the auto-compactor will mass-produce the watch livelock.
Acceptance criteria
periodic and revision modes both advance compact_revision; configurable via roles_cfg; disabled by default matching etcd; test covers both modes.

Depends on

No outgoing dependencies.

Depended on by

Nothing depends on this issue.

No comments.

  • Eugene Blikh created the issue · 2026-07-17T16:20:52Z
  • Eugene Blikh added label etcd-changelog-sweep · 2026-07-17T16:20:52Z
Stored rows — what this pane was built from, as read
issues 1 row
id tarantool-etcd-ubj
content_hash 9fa2b019230fef524e54fc2a1286772300f5f2b92da91b3bef00be8c5e8c8613
title No auto-compaction (--auto-compaction-mode / --auto-compaction-retention)
description etcd advances compact_revision autonomously via --auto-compaction-mode=periodic|revision plus --auto-compaction-retention. Client-driven Compact is correct (app/etcd/compact.lua:28) but there is NO background fiber and NO config knob — zero hits for 'auto.?compact|retention' across app/, lib/, docs/. app/roles/etcd.lua:6-44 has no compaction block. Impact: history grows without bound unless an external actor calls Compact. A drop-in etcd replacement configured with auto-compaction gets none, and the operator has no signal — this is the kind of gap that surfaces as unbounded memory growth in production weeks later.
design Background fiber + roles_cfg.compaction.{mode,retention}. Interacts with the compact-revision boundary bug — land that first or the auto-compactor will mass-produce the watch livelock.
acceptance_criteria periodic and revision modes both advance compact_revision; configurable via roles_cfg; disabled by default matching etcd; test covers both modes.
notes
status open
priority 2
issue_type feature
assignee NULL
estimated_minutes NULL
created_at 2026-07-17T13:20:52Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-07-17T13:20:52Z
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-ubj
label etcd-changelog-sweep
events 2 rows
id 019f703c-acc4-70a4-ab36-cb8d78a06579
issue_id tarantool-etcd-ubj
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-07-17T16:20:52Z
id 019f703c-acc4-77bc-9154-910b9b6760e4
issue_id tarantool-etcd-ubj
event_type label_added
actor Eugene Blikh
old_value NULL
new_value NULL
comment Added label: etcd-changelog-sweep
created_at 2026-07-17T16:20:52Z