Title: Restore drill counts inherited child rows into the parent table · Issue #247 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Restore drill counts inherited child rows into the parent table · Issue #247 · cloudfall-dev/cloudfall
X Title: Restore drill counts inherited child rows into the parent table · Issue #247 · cloudfall-dev/cloudfall
Description: Found in review of #236 (part of #225). Problem The restore drill (engine/ansible/roles/cloudfall_postgresql/templates/restore-check.sh.j2) counts restored rows with count(*) FROM %I.%I. For a parent table using classic inheritance, that...
Open Graph Description: Found in review of #236 (part of #225). Problem The restore drill (engine/ansible/roles/cloudfall_postgresql/templates/restore-check.sh.j2) counts restored rows with count(*) FROM %I.%I. For a pare...
X Description: Found in review of #236 (part of #225). Problem The restore drill (engine/ansible/roles/cloudfall_postgresql/templates/restore-check.sh.j2) counts restored rows with count(*) FROM %I.%I. For a pare...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/247
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Restore drill counts inherited child rows into the parent table","articleBody":"Found in review of #236 (part of #225).\n\n## Problem\n\nThe restore drill (`engine/ansible/roles/cloudfall_postgresql/templates/restore-check.sh.j2`) counts restored rows with `count(*) FROM %I.%I`. For a parent table using classic inheritance, that count includes the child tables' rows, while the dump's COPY data for the parent holds only its own rows. Such a database would fail the drill every night even though the restore was right.\n\nNot reproduced: no PostgreSQL was available in review.\n\n## Proposal\n\nCount with `FROM ONLY %I.%I`, and add a template test asserting it. Also from the review: the drill decompresses each dump twice, and no test covers a lone 63-character `*_restore_check` name.\n\n\u003c!-- shipmill:agent -->\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-13T09:46:07Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/247"}
| 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:10f13203-3fd0-b252-9d31-61c8d0891260 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BAC0:39529C:1167E5:17D31D:6B0596AF |
| html-safe-nonce | b0de5ead71811437f2fdfe4d4ecc4dd21a24f5b909cad33cb4077f072ea5ba6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUMwOjM5NTI5QzoxMTY3RTU6MTdEMzFEOjZCMDU5NkFGIiwidmlzaXRvcl9pZCI6IjE3MTIxNzA5MDMxMTY1NTE4NTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0e0f5f9ede74d796e1d5ee42c5d0ae537857ea2be27e2bb60ee7d95bb258d58b |
| hovercard-subject-tag | issue:6368883815 |
| 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/247/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ff1252d3c402a754e91a286de7cdc9e2e4c5b55850e60675ef57da1f090b83c/cloudfall-dev/cloudfall/issues/247 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ff1252d3c402a754e91a286de7cdc9e2e4c5b55850e60675ef57da1f090b83c/cloudfall-dev/cloudfall/issues/247 |
| og:image:alt | Found in review of #236 (part of #225). Problem The restore drill (engine/ansible/roles/cloudfall_postgresql/templates/restore-check.sh.j2) counts restored rows with count(*) FROM %I.%I. For a pare... |
| 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 | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| 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 | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| 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