Title: A new replica on a Cloudfall volume is refused: lost+found counts as a database (S-019-12) · Issue #449 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: A new replica on a Cloudfall volume is refused: lost+found counts as a database (S-019-12) · Issue #449 · cloudfall-dev/cloudfall
X Title: A new replica on a Cloudfall volume is refused: lost+found counts as a database (S-019-12) · Issue #449 · cloudfall-dev/cloudfall
Description: Found by the real-host proving run of #441 (two Hetzner cx23, Debian 13.6, MariaDB 11.8.9, main at c32ec5e). The first converge of a primary and an empty replica stopped on the replica: PRECONDITION service_mariadb_replica_unattachable: ...
Open Graph Description: Found by the real-host proving run of #441 (two Hetzner cx23, Debian 13.6, MariaDB 11.8.9, main at c32ec5e). The first converge of a primary and an empty replica stopped on the replica: PRECONDITIO...
X Description: Found by the real-host proving run of #441 (two Hetzner cx23, Debian 13.6, MariaDB 11.8.9, main at c32ec5e). The first converge of a primary and an empty replica stopped on the replica: PRECONDITIO...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/449
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A new replica on a Cloudfall volume is refused: lost+found counts as a database (S-019-12)","articleBody":"Found by the real-host proving run of #441 (two Hetzner cx23, Debian 13.6, MariaDB 11.8.9, `main` at c32ec5e).\n\nThe first converge of a primary and an empty replica stopped on the replica:\n\n```\nPRECONDITION service_mariadb_replica_unattachable: service mariadb-replica holds 1 database(s) and no GTID history, so it can not attach to mariadb-main and is never seeded over its data.\n```\n\nThe one database was `#mysql50#lost+found`: the data volume Cloudfall makes is ext4, so `/var/lib/mysql` holds `lost+found`. The managed file `90-cloudfall.cnf` sets `ignore-db-dirs = lost+found`, but in `cloudfall_mariadb/tasks/main.yml` \"Decide what replication does on this server\" (`replication_check.yml`, line 183) runs before \"Install the managed server settings\" (line 197). On a new replica the server is still running with the package's defaults, `ignore_db_dirs` is empty, and `SHOW DATABASES` / `information_schema.SCHEMATA` list `#mysql50#lost+found`. The primary was not affected because its settings were in place before anything counted its databases.\n\nEvery new replica on a Cloudfall volume hits this, so S-019-12 does not hold on real servers as built. The simulated pair (`engine/tests/mariadb_pair.py`) has no `lost+found`.\n\nAfter `rmdir /var/lib/mysql/lost+found` by hand, the next converge seeded the replica (`seeded at GTID 0-1-9`). The same happened again later in the run on a re-created data directory.\n\nPossible fixes: leave `lost+found` (and any `#mysql50#` name) out of the count in `cloudfall_mariadb_replication_state_query` and `cloudfall_mariadb_databases_query`, or install the managed settings before the replication check.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-16T21:26:37Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/449"}
| 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:e2678e35-87df-b753-264b-d1615d70c0da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91B2:64B1C:1472C5:1B7A80:6B054E85 |
| html-safe-nonce | 7e794bbeb6ac333d0a5f04f1b88c579a05df918167489a041e996c60dcb35150 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUIyOjY0QjFDOjE0NzJDNToxQjdBODA6NkIwNTRFODUiLCJ2aXNpdG9yX2lkIjoiNDI5MzgzNzk0NDczNDk2MTI4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43cce099f83afd8e74d67a9f66b4d7a7b15f0a131184713253cf49931da33c37 |
| hovercard-subject-tag | issue:6431156595 |
| 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/449/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e0a164611525896cf09825cb9d82e55a636f08bef91188d7aacf684de592b64e/cloudfall-dev/cloudfall/issues/449 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e0a164611525896cf09825cb9d82e55a636f08bef91188d7aacf684de592b64e/cloudfall-dev/cloudfall/issues/449 |
| og:image:alt | Found by the real-host proving run of #441 (two Hetzner cx23, Debian 13.6, MariaDB 11.8.9, main at c32ec5e). The first converge of a primary and an empty replica stopped on the replica: PRECONDITIO... |
| 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