A node that joins a cluster receives every synced setting and entity at once, and a peer that missed a change catches up #337
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!337
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/59-cluster-join-backfill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic #59: a node that joins a cluster receives every synced setting and entity at once, and a peer that missed a change catches up at its next successful heartbeat. Owner decisions Q-CL-1..5 on #260: inviter → joiner push; data the joiner holds merges by newest-write-wins and the rename rule; any missed delivery heals; secrets travel only inside the pinned-TLS signed channel; log lines only.
ClusterPeerConfigBackfilltable (migrations for SQLite, PostgreSQL, MySQL and SQL Server, plus a MongoDB repository and unique index) records which peer is owed a backfill. It is separate from the peer row, because the heartbeat rewrites that row every round.IRepository.ListIdsAsyncgives id snapshots. Removing a peer removes its request, and the table is excluded from backups.MvcJsonSerializationso tests can use it.No REST API change.
Verified: a verifier pass per package with fix rounds, and a final whole-epic verifier. Its findings are fixed in
d187867dandf4c795bf. Build has 0 warnings and csharpier is clean. The whole solution was run with Docker; the only failure was the known #314 timing flake, which passes alone. After the last fixes: Cluster 74, ClusterSync 65, Backup 65, Identity 77, Web 2347 (without the Docker-only tests), backfill integration tests on every engine 54, and the markdown link check is clean.Closes #330
Closes #331
Closes #332
Closes #333
Closes #334
Closes #335
Refs #59
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Ghost referenced this pull request2026-11-06 01:42:00 -05:00
Ghost referenced this pull request2026-11-06 12:18:13 -05:00