Title: MariaDB service: primary and replica, seeding and promotion (S-019-12 to S-019-16) · Issue #423 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: MariaDB service: primary and replica, seeding and promotion (S-019-12 to S-019-16) · Issue #423 · cloudfall-dev/cloudfall
X Title: MariaDB service: primary and replica, seeding and promotion (S-019-12 to S-019-16) · Issue #423 · cloudfall-dev/cloudfall
Description: Builds part of spec S-019, docs/specs/019-mariadb-service.md: the acceptance criteria below. Each needs a test that names its id (test_s019_
Open Graph Description: Builds part of spec S-019, docs/specs/019-mariadb-service.md: the acceptance criteria below. Each needs a test that names its id (test_s019_
X Description: Builds part of spec S-019, docs/specs/019-mariadb-service.md: the acceptance criteria below. Each needs a test that names its id (test_s019_<k>_..., or a proves: S-019-12 comment line). Scope...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/423
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MariaDB service: primary and replica, seeding and promotion (S-019-12 to S-019-16)","articleBody":"Builds part of spec S-019, `docs/specs/019-mariadb-service.md`: the acceptance criteria below. Each needs a test that names its id (`test_s019_\u003ck>_...`, or a `proves: S-019-12` comment line).\n\nScope: replication between two Cloudfall servers: the primary's binary log and `cloudfall_repl` account, seeding an empty replica, GTID following, promotion with its source check, and a former primary coming back as a replica.\n\n- S-019-12: Converging a primary and an empty replica on two hosts gives a replica with every database and row of the primary, both replication threads running by GTID, and `read_only` on; a row written on the primary afterwards appears on the replica; a write on the replica as `billing` is refused; the primary's ruleset admits 3306 from the replica's addresses only, and the link is encrypted and verified against the project CA\n- S-019-13: A second converge of the pair changes nothing and does not seed again; a replica that already holds a database and cannot attach stops the converge with no database dropped\n- S-019-14: With the primary stopped, changing the replica to `role: primary` and converging makes it writable with no replication configured, and the answer names the last GTID applied. With the primary running and writable, the same change stops with `PRECONDITION` naming both positions, and the replica still replicates\n- S-019-15: Declaring the old primary the replica of the new one and the old replica the primary, in one change with no writer running, ends after at most two converges with the roles swapped, no row lost and no seed\n- S-019-16: A former primary that took a write the new primary never saw is not attached and not emptied: the converge stops and reports the divergence\n\nDepends on cloudfall-dev/cloudfall#421\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-16T09:41:47Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/423"}
| 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:43b24286-1a5e-6b97-77f1-4ad9d56be783 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C190:2A07F6:174EE2B:1E92B02:6B0550DF |
| html-safe-nonce | 5b981dab20e26c6e095de5fc5064e0500750ae697c97d0a9d4fa575ce36f04ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTkwOjJBMDdGNjoxNzRFRTJCOjFFOTJCMDI6NkIwNTUwREYiLCJ2aXNpdG9yX2lkIjoiOTM1NzAyMzkyOTQ1ODU2NzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 73f9b895fcccc709f11a82d401b8e7e60f84e0aca31efe044a9ddeb1ce50be13 |
| hovercard-subject-tag | issue:6418443414 |
| 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/cloudfall-dev/cloudfall/423/issue_layout |
| twitter:image | https://opengraph.githubassets.com/574712513072c252af068c5f1769ec91ac7baf3516e2bc60e8ad3998922e710e/cloudfall-dev/cloudfall/issues/423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/574712513072c252af068c5f1769ec91ac7baf3516e2bc60e8ad3998922e710e/cloudfall-dev/cloudfall/issues/423 |
| og:image:alt | Builds part of spec S-019, docs/specs/019-mariadb-service.md: the acceptance criteria below. Each needs a test that names its id (test_s019_ |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width