Repository navigation
docs(genesis-writer): replace the flusher with the mirror in the rollout runbook - #611
Merged
Merged
Conversation
…out runbook The API's new-chain queue and flusher are retired. The mirror (#605, #608, #610) replays the old chain's ManageEntity and play transactions onto the new chain from blocks, which covers every write source and carries plays. Step 11 now starts the mirror: flags, what /status reports, how each kind of refusal is handled, and throughput. Step 12 is the zero-downtime indexer switch: stop the old indexer at X, then derive H from the new block holding the last mirrored transaction at or below X, which block-by-block mirroring makes exact. Steps 13-15, appendices G and I, and the relay, rollback and open-question reference sections follow from that. The manifest field keeps its name; its comment now says it is the mirror's start height. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nodes run openaudio/go-openaudio:mainnet-beta, retagged by hand from the merge-ref image CI builds for #553, never :edge or :stable. Step 15 says how #553 merges so release-please releases 2.0.0 rather than 1.x or 3.0.0. The mirror's skip rule lists taken handles alongside reused track ids, and the relay reference links the API cleanup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Updates
cmd/genesis-writer/ROLLOUT.mdnow that the API's new-chain queue and flusher are retired in favour of the mirror (#605, #608, #610).Step 11: Start the mirror (replaces "Enable flushing"):
docker runinvocation;-start-height=new_chain_flush_from_blockfromMANIFEST.json;/statusreports;-skip-txafter checking the live state;Step 12: Switch the indexer, a zero-downtime handover:
X;Hfrom the new block that holds the last mirrored transaction at or belowX. This is exact because the mirror never reads old blockX+1untilXhas committed;H+1;Steps 13–15:
Appendices:
api#1018and the cursor discussion;api#1018for the mirror PRs.The
MANIFEST.jsonfield keeps its name. Its Go comment now describes it as the mirror's start height. The only code change is a comment.🤖 Generated with Claude Code