Retain Jepsen lifecycle evidence across permanent retirement - #23
Open
jeregrine wants to merge 1 commit into
Open
Retain Jepsen lifecycle evidence across permanent retirement#23jeregrine wants to merge 1 commit into
jeregrine wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Permanent retirement removed a node from terminal snapshot obligations and also discarded its unexpected owner-death evidence. The workload did not snapshot that node before retirement, so widening the checker alone would still miss real failures.
Fix
Retirement now collects the stopped container's durable lifecycle log through Docker, even if its VM was already unavailable. The nemesis records this evidence in history independently of survivor snapshots. The checker retains unexpected deaths from every historical snapshot and retirement record, while keeping convergence obligations scoped to survivors.
Missing evidence and bounded collection failures reject qualification instead of appearing as an empty log. Workload setup creates a healthy empty log before mutations begin.
Supporting information
Docker commands have explicit deadlines and timed-out processes are terminated. Retirement collection is bounded to ten seconds and eight MiB; malformed or truncated evidence is rejected. This change preserves the existing unexpected-death log rather than introducing a new conflict or registration journal.