Skip to content

test(scanner): cover Helm restores of large usage checkpoints - #175

Open
overtrue wants to merge 1 commit into
mainfrom
overtrue/scanner-helm-checkpoint-9672
Open

overtrue wants to merge 1 commit into
mainfrom
overtrue/scanner-helm-checkpoint-9672

Conversation

@overtrue

Copy link
Copy Markdown
Collaborator

Related to rustfs/rustfs#9672.

USAGE-22 starts a pod from the standalone Helm chart in an explicitly selected Kubernetes context. Its disk holds a 2,085,052-byte paged checkpoint and one 16-byte object. There is no saved usage snapshot, so the Admin API has to publish a new one. The case checks the bucket and cluster totals, the read-only root and the running binary's SHA-256.

I ran scanner.usage-22-helm-checkpoint-restore against both charts on kind with the same RustFS 1.0.7 image and seed.

Chart Result
Published 1.0.7 FAIL. The scanner hit a read-only filesystem while loading the bucket cache.
Patched chart at rustfs/rustfs@b82998acee PASS. The Admin API returned a complete, converged snapshot with one object and 16 bytes.

Both runs removed their test namespace. The scanner and migration unit suites passed all 77 tests, along with the catalog, migration review and scanner smoke checks. The fixture generator and instructions are included for the next time the seed needs to be rebuilt.

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