Skip to content

test(pools): verify live reload on a four-node cluster - #198

Merged
overtrue merged 1 commit into
codex/scanner-acceptance-3385from
codex/3385-four-node-pool-reload
Dec 2, 2026
Merged

overtrue merged 1 commit into
codex/scanner-acceptance-3385from
codex/3385-four-node-pool-reload

Conversation

@overtrue

@overtrue overtrue commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

The three pool hot-reload tests now exercise an existing two-node pool and two joining nodes. The joining processes serve their disks before expansion preflight. Decommission sends the reload to a surviving member. The guard test checks why each invalid configuration was rejected and checks pool membership, generation and PID after a failed apply.

I ran the source procedures on four local arm64 Linux VMs with four ext4 volumes each and RustFS at 17a4feb685.

  • Expansion saw all 16 disks. Four peers acknowledged generation 1, the coordinator kept its PID, and all 20 objects survived the cutover, including four written in maintenance.
  • Decommission removed the drained pool. Both surviving peers accepted generation 1, the service kept its PID, and all 128 original objects read back with matching contents and metadata.
  • The syntax, duplicate-endpoint and undrained-removal cases each failed both config check and preflight for the intended reason. Apply returned 412. All 128 objects were still readable after abort.

The original four-member guard report was green without a preflight rejection or an apply request. The revised checks reject that report. All three runs cleaned up the four members. The pool and catalog unit suites, shell tests and migration verifier passed.

This builds on the standalone expansion-probe fixture in #186. The run evidence is in backlog #3385.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review verdict: Approved (LGTM) on 9d14c8f3 (targets #186 branch codex/scanner-acceptance-3385).

Code & Test Assessment

  • scripts/validation_pool/pool_behavior.py (case_hot_reload_expand, case_hot_reload_decommission, case_hot_reload_negative_guards) & test_validation_pool.py: Thoroughly verifies pre-started joining disks, maintenance write survival, pools/preflight polling, surviving-peer routing during decommission, exact guard rejection reasons (412 on apply=True), and PID/generation/volume preservation on abort.
  • Minor notes: scripts/validation_pool/run_case.sh (hook)) relies on POOL_VALIDATION_RUN_ID starting with pool.hot-reload- (an explicit case-ID env var would be less implicit) and assumes sudo -n systemctl start --no-block succeeds for SSH_USER.

contract-tests and unit-and-governance passed (local-smoke-profile skipped). Holding auto-merge because this targets #186's feature branch (codex/scanner-acceptance-3385), which still needs a rebase onto main.

@overtrue overtrue left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review verdict: Approved (LGTM) on 9d14c8f3 (targets #186 branch codex/scanner-acceptance-3385).

Code & Test Findings

  • scripts/validation_pool/pool_behavior.py (case_hot_reload_expand, case_hot_reload_decommission, case_hot_reload_negative_guards) & test_validation_pool.py: Cleanly verifies pre-started joining disks, pools/preflight polling, maintenance write survival, surviving-peer admin/S3 routing during decommission, exact guard rejection reasons (412 on apply=True), and PID/generation/volume preservation on abort.
  • scripts/validation_pool/run_case.sh: configure_pool_layout, prepare_expanded_pool, and expand_fixture_pools support both 4-node and 2-node layouts (non-blocking note: hook) infers 4-node mode from POOL_VALIDATION_RUN_ID matching pool.hot-reload-* and relies on sudo -n systemctl start --no-block).

Merge Gate Status

  • MERGEABLE / CLEAN; CI passed 2/2 active checks (contract-tests, unit-and-governance; local-smoke-profile skipped) with 4-node VM run evidence documented in the PR description. Ready to squash-merge into codex/scanner-acceptance-3385.

@overtrue
overtrue merged commit 8e5d198 into codex/scanner-acceptance-3385 Dec 2, 2026
3 checks passed
overtrue added a commit that referenced this pull request Dec 3, 2026
* Validate scanner recovery on the damaged drive and read fleet counters

* fix(validation): exercise scanner repair and provision tier fixtures

* fix(scanner): wait for signed status on the peer just restarted

* Isolate the OIDC provider network and finalize interrupted acceptance

* test(scanner): separate existing bucket repair from initial site enrollment

* Exercise the Iceberg commit before checking a stale token and unauthorized access

* Sample carried and observed bucket values across real scanner publications

* Confirm rolling crash injection on the selected systemd unit

* Resolve selected Ceph modules across upstream package layouts

* Run each Mint SDK in its own directory and require its results

* fix(sdk): verify immutable directory copies and S3 client models

* fix(sdk): reject incomplete reports and record client timeouts

* fix(sdk): stop child clients when a harness times out

* ci(s3): run the multi-SDK acceptance harness tests

* fix(scanner): give candidate-native tests a bounded stack

* test(s3): verify SSE-S3 content ETags by encryption scheme

* fix(validation): pass configured credentials and webhook origins to fixtures

* fix(validation): bind S3 topology and selected upgrade cases to evidence

* test(heal): use portable Docker timeouts for held deletion

* test(scanner): pair certified usage with stable S3 inventories

* test(snowball): retry transient throttling while quota usage settles

* test(tiering): isolate the simulated removal deadline from wall time

* test(scanner): verify simultaneous damage beyond parity

* test(scanner): fence rolling restarts on the active leader

* test(scanner): trace checkpoint reuse across process restarts

* test(scanner): wait for object-bound heal evidence before teardown

* test(scanner): fault data shards from a single object generation

* fix(scanner): stream routine access traffic out of journal evidence

* fix(scanner): compare durable usage across rolling restarts

* fix(scanner): distinguish missing certificate observations

* fix(scanner): sample final counters after fault journal recovery

* fix(replication): install as root and finalize setup failures

* fix(pool): seed and clean integrity probes for expansion hooks

* fix(replication): verify final bucket contents at cleanup timeout

* fix(tier): verify rotated credentials through the tier list

* test(tier): isolate simulated deadlines and publish complete MQTT probes

* test(sdk): limit rclone multipart overrides to the multipart case

* test(pools): verify live reload on a four-node cluster (#198)

* fix(validation): address PR 186 review comments and refresh ledger digests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant