WIP: test: the MariaDB pair's cases (b) to (e), end to end (follow-up of #93) #95
Draft
marcos-mendez wants to merge 2 commits from
feat/mariadb-pair-scenario into feat/mariadb-pair-semisync
pull from: feat/mariadb-pair-scenario
merge into: Keel-Linux:feat/mariadb-pair-semisync
Keel-Linux:main
Keel-Linux:fix/ci-flakes-177
Keel-Linux:fix/etcd-stalled-peer-stream-167
Keel-Linux:fix/155-minor-items
Keel-Linux:fix/vip-gone-note-in-state-dir-178
Keel-Linux:feat/images-key-verifiers
Keel-Linux:fix/pg-start-fenced-156
Keel-Linux:fix/vip-rides-out-election-167-168
Keel-Linux:fix/vip-lock-no-path-trigger-164
Keel-Linux:fix/pg-reseed-clears-vip-fence-166
Keel-Linux:fix/pg-promote-follow-before-join-169
Keel-Linux:fix/pg-expired-lease-alone-165
Keel-Linux:fix/vip-learn-without-etcd
Keel-Linux:fix/pg-fenced-holder-writable
Keel-Linux:fix/pg-reseed-cluster-unit
Keel-Linux:feat/postgres-pair-failover
Keel-Linux:docs/signing-roles-0055
Keel-Linux:test/write-resume-bound-5s
Keel-Linux:feat/postgres-pair-converge
Keel-Linux:feat/postgres-pair
Keel-Linux:fix/planned-promote-quiesce
Keel-Linux:fix/vip-restart-renewal
Keel-Linux:feat/mesh-keepalive
Keel-Linux:fix/promote-announce-in-background
Keel-Linux:fix/overlay-mtu-live
Keel-Linux:fix/claim-txn-bounded-retry
Keel-Linux:feat/container-template-guard
Keel-Linux:test/flaky-vip-upgrade-epoch-133
Keel-Linux:fix/peer-added-live
Keel-Linux:test/flaky-mariadb-cert-ask-131
Keel-Linux:test/divergence-record-clock-second
Keel-Linux:test/flaky-netns-94
Keel-Linux:fix/overlay-mtu-119
Keel-Linux:test/mariadb-cloud-simple-crash
Keel-Linux:fix/follow-writable-when-the-vip-lands
Keel-Linux:fix/vip-lease-last-second
Keel-Linux:fix/mariadb-crashed-primary-keel94
Keel-Linux:fix/promote-old-primary-gone-bounded
Keel-Linux:fix/joiner-full-mesh-live-peers
Keel-Linux:fix/flaky-netns-keel94
Keel-Linux:fix/overlay-live-peers
Keel-Linux:fix/root-holder-for-every-member
Keel-Linux:fix/old-primary-read-only-until-proven
Keel-Linux:feat/invite-in-the-inviters-region
Keel-Linux:fix/version-from-metadata
Keel-Linux:fix/members-channel-thread-switch
Keel-Linux:feat/mariadb-pair-semisync
Keel-Linux:feat/etcd-root-issued-rbac
Keel-Linux:feat/vip-continuity-upgrades
Keel-Linux:fix/overlay-new-in-chain
Keel-Linux:feat/mesh-vip
Keel-Linux:ci/security-scan
Keel-Linux:fix/etcd-tests-pki-clock
Keel-Linux:feat/mesh-etcd
Keel-Linux:fix/mesh-full-mesh
Keel-Linux:feat/mesh-join
Keel-Linux:feat/mesh-token
Keel-Linux:fix/overlay-peer-not-this-node
Keel-Linux:feat/spec-cloud-section
Keel-Linux:fix/inspect-wireguard-window-keeps-spec
Keel-Linux:fix/inspect-wireguard-state
Keel-Linux:fix/inspect-on-a-keel-core
Keel-Linux:feat/overlay-state-hooks
Keel-Linux:feat/manifest-firewall
Keel-Linux:feat/manifest-apply
Keel-Linux:feat/manifest-reader
Keel-Linux:fix/database-waits-for-server
Keel-Linux:fix/replica-read-only
Keel-Linux:fix/seed-accounts-roles-server-id
Keel-Linux:feat/seed-replica
Keel-Linux:test/ssh-over-console
Keel-Linux:fix/lxc-console-confirm
Keel-Linux:fix/grant-compressed-ipv6
Keel-Linux:feat/wireguard-overlay
Keel-Linux:fix/hub-measured-honestly
Keel-Linux:feat/converge-tls-acme-apply
Keel-Linux:feat/converge-tls-acme
Keel-Linux:feat/converge-hostname
Keel-Linux:feat/converge-security-alerts
Keel-Linux:docs/manifest-unit-fields
Keel-Linux:pkg/keel-0.2.1
Keel-Linux:fix/hosts-read-as-the-resolver-reads
Keel-Linux:docs/diff-converged-field
Keel-Linux:fix/hosts-keeps-one-entry-for-the-host
Keel-Linux:feat/firstboot-system-hook
Keel-Linux:feat/apply-system-only
Keel-Linux:feat/apply-fqdn-hosts
Keel-Linux:fix/security-updates-name
Keel-Linux:fix/diff-disabled-feature
Keel-Linux:fix/inspect-ipv6-slaac
Keel-Linux:feat/apply-users-locale
Keel-Linux:fix/verify-cache-names
Keel-Linux:feat/render-ip6
Keel-Linux:fix/diff-secret-files
Keel-Linux:feat/diff
Keel-Linux:feat/inspect
Keel-Linux:docs/license
Keel-Linux:feat/pull-assemble
No reviewers
Labels
Clear labels
Barrier affecting people with disabilities
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Further information is requested
This will not be worked on
accessibility
Barrier affecting people with disabilities
bug
Something isn't working
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
question
Further information is requested
wontfix
This will not be worked on
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel!95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/mariadb-pair-scenario"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The rest of the end to end scenario of docs/replication.md on #93's harness, deferred from #93 so that it ships with its product changes, unit tests and case (a). Rebases onto main once #93 merges.
keel database promoteon the replica while the application writes at the VIP: the longest gap in acknowledged writes, every acknowledged row on the new primary, the old primary rejoined as the replica;Measured once on one host (2026-10-08, full harness): (b) 0.28 to 0.31 s per commit with the replica acknowledging; 10.04 s for the first commit after the cut, 0.04 s for the next; the fallback alerted at the next watch; semi-synchronous again 7.3 s after the heal. (e) 1290 for both, only 'mysql'@'localhost' holding READ_ONLY ADMIN. (c) and (d) were not measured in that run: the CLI refused the spec on the harness roots (no manifests under them), fixed since and carried here; a run with that fix is this PR's first job.
Harness work left here: the agents run keel diff and keel database promote through the CLI on scratch roots (the manifests of the format are now installed under each root), the writer at the VIP and its gaps, the partitions and heals of tests/vip_netns.py, the webhook in the routing namespace.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.