Skip to content

Use RustFS readiness healthcheck and drop redundant settings - #4017

Draft
kevinjqliu wants to merge 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu-rustfs-setup-cleanup
Draft

kevinjqliu wants to merge 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu-rustfs-setup-cleanup

Conversation

@kevinjqliu

@kevinjqliu kevinjqliu commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Rationale for this change

Follow up to apache/iceberg#18246. Now that all the Iceberg repos are on RustFS 1.0.0, this lines up the object store config here with the others (iceberg, iceberg-rust, iceberg-go, iceberg-cpp).

  • Healthcheck hits /health/ready instead of /health. /health is just a liveness check and can return 200 before storage and IAM are ready, so the aws-cli bucket creation can race it.
  • Turn on RUSTFS_OBS_LOG_STDOUT_ENABLED. The image logs to /logs by default, so docker logs is empty, which makes CI failures hard to debug.
  • Drop RUSTFS_VOLUMES, RUSTFS_ADDRESS, RUSTFS_CONSOLE_ENABLE, and RUSTFS_CONSOLE_ADDRESS. These are already the 1.0.0 defaults.

Are these changes tested?

Ran docker compose config on both files, and started rustfs/rustfs:1.0.0 with the new config: /health/ready returns 200 and logs show up in docker logs.

Are there any user-facing changes?

No.

AI Disclosure: Assisted by GitHub Copilot.

Use /health/ready so bucket creation waits for storage/IAM readiness,
enable stdout logging so `docker logs` shows output, and remove settings
that are already defaults in rustfs/rustfs:1.0.0.

Generated-by: GitHub Copilot
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 25, 2026 04:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Updates RustFS Docker Compose configurations to use readiness checks, stdout logging, and default settings.

Changes:

  • Switches healthchecks to /health/ready.
  • Enables RustFS stdout logging.
  • Removes redundant default settings.
File Description
dev/​docker-compose.yml Updates standalone RustFS configuration.
dev/​docker-compose-integration.yml Updates integration RustFS configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@kevinjqliu
kevinjqliu marked this pull request as draft September 25, 2026 04:17

This branch has not been deployed

No deployments
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.

2 participants