Title: Treat a host that is in use or leaving as unfit to hold an etcd vote · Issue #220 · ExaDev/github-runner · GitHub
Open Graph Title: Treat a host that is in use or leaving as unfit to hold an etcd vote · Issue #220 · ExaDev/github-runner
X Title: Treat a host that is in use or leaving as unfit to hold an etcd vote · Issue #220 · ExaDev/github-runner
Description: The role controller's decision (scripts/fleet-role.jq) swaps a voter out only when it is unfit on round trip, WAL fsync, backend commit or readiness. A host that is about to leave is just as unfit for a vote, and nothing says so. Change:...
Open Graph Description: The role controller's decision (scripts/fleet-role.jq) swaps a voter out only when it is unfit on round trip, WAL fsync, backend commit or readiness. A host that is about to leave is just as unfit ...
X Description: The role controller's decision (scripts/fleet-role.jq) swaps a voter out only when it is unfit on round trip, WAL fsync, backend commit or readiness. A host that is about to leave is just as un...
Opengraph URL: https://github.com/ExaDev/github-runner/issues/220
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Treat a host that is in use or leaving as unfit to hold an etcd vote","articleBody":"The role controller's decision (`scripts/fleet-role.jq`) swaps a voter out only when it is unfit on round trip, WAL fsync, backend commit or readiness. A host that is about to leave is just as unfit for a vote, and nothing says so.\n\nChange: read the presence label (the presence agent issue). A voter that is in use or leaving is unfit, with a reason that names the state, and a standby that is not available is never a fit candidate. The existing swap does the rest: snapshot, runner wait, learner promotion, gates, removal, rollback. The leaving host keeps its vote until the swap finishes, within the swap's own budgets. A host with no presence label is judged as before.\n\nThe controller stays in dry run unless the owner turns that off, and the cluster-wide gates and the cooldown after a membership change apply unchanged.\n\nValidation: a mesh scenario in which a voter's presence flips to leaving and the swap runs to completion with the votes never below the target; a scenario in which no standby is fit and the voter stays; unit tests over the decision for each presence value. Each change is broken once to see a test fail.\n\nDepends on the presence agent and on the voter swap controller (#218). Part of the presence-driven regrading epic (#223).\n\n\nDesign input (4 November 2026): a Mac that serves a model runs its node VM and its model server from the same unified memory, so a presence yield frees more than the vote. A yield that stops the VM also stops the voter inside it, and the cluster has one voter fewer until the VM returns. Resizing the VM needs a stop and a start, so a resize and a presence stop are the same operation. Placement has to be told what each yield frees (the VM, the model server, the voter), not a single figure per host.\n\n","author":{"url":"https://github.com/Mearman","@type":"Person","name":"Mearman"},"datePublished":"2026-11-04T19:03:14Z","url":"https://github.com/ExaDev/github-runner/issues/220"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f75e71a2-e83a-ca3e-e3ab-afc7b6283194 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D50:2A01CD:1E13AB:2A81BD:6B006860 |
| html-safe-nonce | 217dc91284cc10d0b4ad99891db261e7e207daa7f96070e1be02ddf9270803e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDUwOjJBMDFDRDoxRTEzQUI6MkE4MUJEOjZCMDA2ODYwIiwidmlzaXRvcl9pZCI6IjI3NDg5NzI4NzYzMTYyODM4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 889f4f7632ea768e9db8c36ed4784cd257b76f80652db65b2713ee2383c0651b |
| hovercard-subject-tag | issue:6209439135 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ExaDev/github-runner/220/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e453e07b76ff3de5cb6409bece87c652a170daf71c9ff00d52d6f28c4519860e/ExaDev/github-runner/issues/220 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e453e07b76ff3de5cb6409bece87c652a170daf71c9ff00d52d6f28c4519860e/ExaDev/github-runner/issues/220 |
| og:image:alt | The role controller's decision (scripts/fleet-role.jq) swaps a voter out only when it is unfit on round trip, WAL fsync, backend commit or readiness. A host that is about to leave is just as unfit ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mearman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| turbo-cache-control | no-preview |
| go-import | github.com/ExaDev/github-runner git https://github.com/ExaDev/github-runner.git |
| octolytics-dimension-user_id | 140118018 |
| octolytics-dimension-user_login | ExaDev |
| octolytics-dimension-repository_id | 1388126104 |
| octolytics-dimension-repository_nwo | ExaDev/github-runner |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1388126104 |
| octolytics-dimension-repository_network_root_nwo | ExaDev/github-runner |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width