Repository navigation
beyond-v3: HA recommendation (exploration, DO NOT MERGE) - #761
Closed
RobertClarke wants to merge 1 commit into
Closed
RobertClarke wants to merge 1 commit into
RobertClarke wants to merge 1 commit into
Conversation
Adds the beyond-v3 explorer's recommendation for making one node's death a non-event on the two-node PRISM pair, without a witness or a runbook. Fix the writer lock wedge now. Then build an automatic, standby-fenced failover that changes no coinbase. Then anchor payouts to the chain, so a job's prior balances come from its own parent chain. Finally build PRISM 4.0 as two always-on nodes with per-node share logs. The document covers the recommendation, one comparison table, the failure-case walkthroughs, the phased path and open questions. Its appendices give the payout rules, the supervisor's safety kernel, the evidence, and where the research disagreed. Under models/ are the payout-rule model (a policy port that matches PRISM's 25 fixture vectors, an exhaustive search and a two-node simulator) and a small availability model. Both are research code that nothing imports. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 10, 2026
Member
Author
|
Closing as superseded. This exploration's recommendation shipped as the PRISM 3.1 dual writer (#766, #768, #767, #769, #763 and #773), released in v3.1.0: https://github.com/Qbit-Org/qbit-mining-bootstrap/releases/tag/v3.1.0. The branch is kept as the record of the HA analysis and its payout and availability models. |
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.
Exploration only. DO NOT MERGE. This is the beyond-v3 explorer's high-availability recommendation for the PRISM pair. It is research and design only: nothing in it was run against the pair.
Read:
docs/beyond-v3/ha-recommendation.mdThe recommendation
Automate the failover now, without changing what any coinbase pays. Then anchor payouts to the chain, and build PRISM 4.0 as two always-on nodes.
ORDER_LOCKon the writer for up to about 2 h 11 min. Every share append fails, and nothing fails over.unknown-joband never reached the node #478 race.What's in this PR
docs/beyond-v3/ha-recommendation.md, in the order asked for: the recommendation; one comparison table; the failure-case walkthroughs for each candidate; the phased path (what ships on 3.x and what needs 4.x); open questions. Appendices cover the precise payout rules, the step 1 safety kernel, the evidence, and where the research disagreed.docs/beyond-v3/models/, standard-library Python that nothing imports:How it was produced
Ten research agents worked from read-only copies of
3.x.x(v3.0.0-rc.6) and the pair's infrastructure: code mapping, fencing, two-node PostgreSQL HA, accounting redesign, routing, alternative databases, chain-anchored payouts, DRBD, and evidence.Four red teams followed:
A read-only fact-check then compared every claim with rc.6 and the reports. The 50 findings it raised are corrected.
The model's strict configuration was re-run independently: 6,388,553 chains, no overpay.
No production system was touched: no SSH, no PhoenixNAP API calls, no deploys.
🤖 Generated with Claude Code