René's URL Explorer Experiment


Title: A replica whose link hasn't connected is promoted over a writable primary (S-019-14) · Issue #440 · cloudfall-dev/cloudfall · GitHub

Open Graph Title: A replica whose link hasn't connected is promoted over a writable primary (S-019-14) · Issue #440 · cloudfall-dev/cloudfall

X Title: A replica whose link hasn't connected is promoted over a writable primary (S-019-14) · Issue #440 · cloudfall-dev/cloudfall

Description: Found in the review of #437 (MariaDB replication, S-019-14), which landed with this open. The gap When a replica is declared primary (or standalone), the role finds its current source by the Master_Server_Id that SHOW SLAVE STATUS report...

Open Graph Description: Found in the review of #437 (MariaDB replication, S-019-14), which landed with this open. The gap When a replica is declared primary (or standalone), the role finds its current source by the Master...

X Description: Found in the review of #437 (MariaDB replication, S-019-14), which landed with this open. The gap When a replica is declared primary (or standalone), the role finds its current source by the Master...

Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/440

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A replica whose link hasn't connected is promoted over a writable primary (S-019-14)","articleBody":"Found in the review of #437 (MariaDB replication, S-019-14), which landed with this open.\n\n## The gap\n\nWhen a replica is declared `primary` (or standalone), the role finds its current source by the `Master_Server_Id` that `SHOW SLAVE STATUS` reports, matched against the declared services' `serverId` (`engine/ansible/roles/cloudfall_mariadb/tasks/replication_check.yml`, \"Name the other server of the pair\"). If nothing matches, `_promotion` in `engine/ansible/roles/cloudfall_mariadb/filter_plugins/mariadb_replication.py` refuses only while `Slave_IO_Running` is `Yes`; otherwise it promotes with \"its source can not be reached\", without reading the source.\n\n`Master_Server_Id` is learned when the IO thread connects. A replica that restarted and whose IO thread is still `Connecting` (the primary unreachable from the replica, a firewall change, or just not connected yet) is expected to report `0` (unverified on a live server). Then no peer matches, `Slave_IO_Running` is `Connecting`, and the replica is promoted while its old primary may still be running and writable: both servers take writes, which S-019-14 says must be refused.\n\nReproduced in the filter alone: `cloudfall_mariadb_replication_plan` with a link row of `Master_Server_Id: 0`, `Slave_IO_Running: Connecting`, a declared role of `primary`, and the old primary declared in the project returns `{'action': 'promote', 'reason': 'its source can not be reached'}`.\n\n## Expected\n\nThe source is found by `Master_Host` and `Master_Port` too (both are in the link row before the IO thread connects), matched against the declared services' rendered addresses, so the promotion reads the old primary and refuses while it is reachable and writable. A link whose source matches no declared service by either key, and whose IO thread isn't `Yes`, is still refused unless the source can't be reached from the controller.\n\n## Touches\n\n- `engine/ansible/roles/cloudfall_mariadb/tasks/replication_check.yml`\n- `engine/ansible/roles/cloudfall_mariadb/filter_plugins/mariadb_replication.py`\n- the rendered pair (`peers` needs each service's host and port)\n- `engine/tests/test_s019_mariadb_replication_role.py`, `engine/tests/mariadb_pair.py` (the stand-in should report `Master_Server_Id: 0` until its IO thread connects)\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-16T17:45:38Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/440"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:35469e1a-afa4-9794-ef87-b1a7912f860f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7B0:E0CE1:24E0706:30B3D5B:6B0558A5
html-safe-nonce7cd7b3bdcee93cf9350e2e5a27ccc8320d15da791f9d283c643bdebdaa743f12
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0IwOkUwQ0UxOjI0RTA3MDY6MzBCM0Q1Qjo2QjA1NThBNSIsInZpc2l0b3JfaWQiOiIzNzI2NjIzNjY0MzE0MzQxNTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac81f3af6d023547b421c47bd5e76b7081d509a50ef25b4ffd16fc159d260d0e0d
hovercard-subject-tagissue:6427165221
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/440/issue_layout
twitter:imagehttps://opengraph.githubassets.com/94c78ac8c7019343cccce13899aa989b8cdc535f7601be13033d9e1fa5394cb5/cloudfall-dev/cloudfall/issues/440
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/94c78ac8c7019343cccce13899aa989b8cdc535f7601be13033d9e1fa5394cb5/cloudfall-dev/cloudfall/issues/440
og:image:altFound in the review of #437 (MariaDB replication, S-019-14), which landed with this open. The gap When a replica is declared primary (or standalone), the role finds its current source by the Master...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshipmill-romamo[bot]
hostnamegithub.com
expected-hostnamegithub.com
Nonea79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080
turbo-cache-controlno-preview
go-importgithub.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git
octolytics-dimension-user_id339512759
octolytics-dimension-user_logincloudfall-dev
octolytics-dimension-repository_id1360999777
octolytics-dimension-repository_nwocloudfall-dev/cloudfall
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1360999777
octolytics-dimension-repository_network_root_nwocloudfall-dev/cloudfall
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release10dff83edfd4f3617a7792a152d44991587b434c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/cloudfall-dev/cloudfall/issues/440#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F440
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcloudfall-dev%2Fcloudfall%2Fissues%2F440
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=cloudfall-dev%2Fcloudfall
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/440
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/440
Reloadhttps://github.com/cloudfall-dev/cloudfall/issues/440
cloudfall-devhttps://github.com/cloudfall-dev
cloudfallhttps://github.com/cloudfall-dev/cloudfall
Codehttps://github.com/cloudfall-dev/cloudfall
Issues78 (78)https://github.com/cloudfall-dev/cloudfall/issues
Pull requests10 (10)https://github.com/cloudfall-dev/cloudfall/pulls
Discussionshttps://github.com/cloudfall-dev/cloudfall/discussions
Actionshttps://github.com/cloudfall-dev/cloudfall/actions
Security and qualityhttps://github.com/cloudfall-dev/cloudfall/security
Insightshttps://github.com/cloudfall-dev/cloudfall/insights
https://github.com/cloudfall-dev/cloudfall
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/440
New issuehttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/440
#442https://github.com/cloudfall-dev/cloudfall/pull/442
A replica whose link hasn't connected is promoted over a writable primary (S-019-14)https://github.com/cloudfall-dev/cloudfall/issues/440#top
#442https://github.com/cloudfall-dev/cloudfall/pull/442
bughttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 16, 2026https://github.com/cloudfall-dev/cloudfall/issues/440#issue-6427165221
#437https://github.com/cloudfall-dev/cloudfall/pull/437
shipmill-romamohttps://github.com/apps/shipmill-romamo
bughttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22bug%22
on Nov 16, 2026https://github.com/cloudfall-dev/cloudfall/issues/440#event-36307872520
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 16, 2026https://github.com/cloudfall-dev/cloudfall/issues/440#issuecomment-6924320501
shipmill-romamohttps://github.com/shipmill/shipmill
#437https://github.com/cloudfall-dev/cloudfall/pull/437
#437https://github.com/cloudfall-dev/cloudfall/pull/437
#441https://github.com/cloudfall-dev/cloudfall/issues/441
https://github.com/apps/shipmill-romamo
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 16, 2026https://github.com/cloudfall-dev/cloudfall/issues/440#issuecomment-6926363773
shipmill-romamohttps://github.com/shipmill/shipmill
#442https://github.com/cloudfall-dev/cloudfall/pull/442
#441https://github.com/cloudfall-dev/cloudfall/issues/441
shipmill-romamohttps://github.com/apps/shipmill-romamo
completedhttps://github.com/cloudfall-dev/cloudfall/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
2ffc9e0https://github.com/cloudfall-dev/cloudfall/commit/2ffc9e07a50c41308d2379b4bf7a91741a64050b
on Nov 16, 2026https://github.com/cloudfall-dev/cloudfall/issues/440#event-36319015208
shipmill-romamohttps://github.com/apps/shipmill-romamo
on Nov 16, 2026https://github.com/cloudfall-dev/cloudfall/issues/440#event-36319015753
Merge pull request #442 from cloudfall-dev/fix/440-promote-unconnecte…https://github.com/cloudfall-dev/cloudfall/commit/c5b827b6e97ac51cb537145c7cada29a0b162255
#442https://github.com/cloudfall-dev/cloudfall/pull/442
c5b827bhttps://github.com/cloudfall-dev/cloudfall/commit/c5b827b6e97ac51cb537145c7cada29a0b162255
Sign up for freehttps://github.com/signup?return_to=https://github.com/cloudfall-dev/cloudfall/issues/440
Sign in to commenthttps://github.com/login?return_to=https://github.com/cloudfall-dev/cloudfall/issues/440
bughttps://github.com/cloudfall-dev/cloudfall/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.