Skip to content

test: pin the WAL processing replay and the AddNode cache eviction - #752

Open
CMGS wants to merge 1 commit into
masterfrom
test/calcium-debt
Open

test: pin the WAL processing replay and the AddNode cache eviction#752
CMGS wants to merge 1 commit into
masterfrom
test/calcium-debt

Conversation

@CMGS

@CMGS CMGS commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Test debt from the 2026-09 audit, two items:

  • ProcessingCreatedHandler replayed against an embedded etcd: one instance journals an abandoned processing record and a finished one (committed away), another instance journals a live one; DisasterRecover releases only the abandoned ident, the live request keeps its count and its journal, a replayed entry is dropped, and a second recovery has nothing left.
  • AddNode drops the cached engine when the resource plugins refuse the node, so a retry dials again instead of reusing the stale client; a successful add keeps it cached.

Tests only, no production change. Gates: build, vet, full tests, lint, fmt-check, asl on linux and darwin green.

ProcessingCreatedHandler is replayed against an embedded etcd: only
the abandoned processing record of the recovering instance is
released, a live request of another instance keeps its count and its
journal, and a second recovery has nothing left. AddNode drops the
cached engine when the resource plugins refuse the node, so a retry
dials again instead of reusing the stale client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant