mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
- The provider refuses the removed names and, under every selector and before any selector comparison, a volume carrying their magic (SWAW; SWPW in either header slot), reading the file read-only and never modifying it. blockvolume --durable-impl and the launcher refuse the names with the same advice; the chart schema allows walstore only. - core/storage/smartwal, core/storage/parallelwal and cmd/sw-block-testutil (whose one command corrupted smartwal records) are deleted, with the helm smartwal-corruption scenario and the parallel-walstore gate script. - The replication harness runs on walstore; tests that ran on a removed engine only because a stub needed some store move to walstore, and the state_convergence label test moves to the in-memory BlockStore. - sw-block cluster.check drops the removed engines' cases. - Ledger: INV-OPEN-REMOVED-ENGINE-REFUSED-001 and INV-OPEN-REMOVED-ENGINE-NAME-REFUSED-001, an OpenRefused edge in M1, and the rows citing the removed tests updated. Docs: block-design 1.3 now describes the removal, the smartwal deep-dive and figure are gone, the scripts default to walstore, and the v1.1 notes carry the removal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
3.6 KiB
Markdown
44 lines
3.6 KiB
Markdown
# `scripts/` Overview
|
|
|
|
This directory contains developer and QA helper scripts.
|
|
|
|
## Scripts
|
|
|
|
| Script | Purpose |
|
|
|---|---|
|
|
| `install-k8s-alpha.sh` | Installs the alpha blockmaster and CSI stack, leaving it running for user PVCs. |
|
|
| `apply-k8s-alpha-blockvolumes.sh` | Legacy/internal fallback: manually applies blockvolume workloads if product-owned reconciliation is disabled. |
|
|
| `uninstall-k8s-alpha.sh` | Removes the alpha stack and generated blockvolume workloads. |
|
|
| `run-k8s-demo.sh` | Public app-demo wrapper. Shows writer pod -> same PVC -> reader pod verification. |
|
|
| `run-k8s-demo-ghcr.sh` | Public app-demo wrapper using published GHCR alpha images. |
|
|
| `run-k8s-alpha.sh` | Public alpha smoke wrapper. Prefer this in README/user docs. |
|
|
| `run-k8s-alpha-large.sh` | Optional 256 MiB Kubernetes alpha smoke for larger iSCSI write coverage. |
|
|
| `run-k8s-alpha-fio.sh` | Optional 256 MiB Kubernetes alpha smoke with a 60s fio randrw workload. |
|
|
| `run-k8s-attach-detach-loop.sh` | QA loop wrapper. Repeats the app PVC attach/write/read/delete flow and stores per-iteration artifacts. |
|
|
| `run-k8s-csi-node-restart.sh` | QA wrapper. Restarts the CSI node DaemonSet between writer and reader pods using the same PVC. |
|
|
| `build-alpha-images.sh` | Builds local Docker images used by the Kubernetes alpha harness. |
|
|
| `testops-run-nvme-p5-suite.sh` | Developer-owned TestOps suite: pin-builds alpha images, then runs NVMe dynamic PVC and default iSCSI regression with the pinned image env. |
|
|
| `run-alpha-k8s-dynamic.sh` | Public dynamic PVC alpha smoke entry. |
|
|
| `run-alpha-app-demo.sh` | App-demo implementation used by `run-k8s-demo.sh`. |
|
|
| `run-iscsi-os-smoke.sh` | Privileged Linux OS-initiator smoke: `iscsiadm` -> `mkfs.ext4` -> mount -> checksum -> logout on a 256 MiB target. |
|
|
| `run-iscsi-backend-fio-matrix.sh` | Privileged Linux OS-initiator backend matrix: runs the same fio workload against each backend (`walstore`), writing per-backend artifacts and an experimental summary. |
|
|
| `run-iscsi-compat-soak.sh` | Privileged compatibility soak wrapper: runs OS fio repeat and optional K8s fio / attach-detach steps with one summary. |
|
|
| `run-iscsi-alua-os-smoke.sh` | Privileged Linux OS-initiator smoke for ALUA reporting: `iscsiadm` -> `sg_inq`/`sg_rtpg` -> mount -> checksum -> logout. |
|
|
| `run-iscsi-alua-multipath-smoke.sh` | Privileged Linux OS-initiator smoke for two iSCSI paths: two portals -> ALUA active/standby evidence -> standby write reject -> `multipath -ll`. |
|
|
| `run-iscsi-alua-mounted-failover-smoke.sh` | Privileged Linux OS-initiator smoke for mounted multipath failover: mount `/dev/mapper/*`, kill active path, wait r2 primary, verify checksum read/write. |
|
|
| `run-nvme-os-smoke.sh` | Privileged Linux OS-initiator smoke: `nvme connect` -> `mkfs.ext4` -> mount -> checksum/fio/dd -> disconnect. |
|
|
| `run-nvme-multipath-smoke.sh` | Privileged Linux OS-initiator smoke for two NVMe/TCP paths: two portals -> ANA/identity evidence -> native multipath grouping check. |
|
|
| `build-g15b-images.sh` | Compatibility wrapper for older QA scripts. |
|
|
| `run-g15b-k8s-static.sh` | Historical static PV Kubernetes harness. |
|
|
| `run-g15d-k8s-dynamic.sh` | Historical dynamic PVC harness used by compatibility scenarios. |
|
|
| `iterate-m01-nvme.sh` | Lab iteration helper for NVMe work. |
|
|
| `iterate-m01-replicated-write.sh` | Lab iteration helper for replicated write tests. |
|
|
| `genproto.sh` | Protocol/code generation helper. |
|
|
|
|
## Design Rules
|
|
|
|
- User-facing scripts should avoid internal gate labels in output.
|
|
- Lab scripts may keep historical names for reproducibility, but wrapper scripts
|
|
should provide stable product-facing names.
|
|
- Scripts should preserve artifacts on failure before cleanup.
|