-
Notifications
You must be signed in to change notification settings - Fork 759
upgrade crate version and improve heal config #963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…/dependencies-1126 * 'main' of github.com:rustfs/rustfs: Modify readme
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR performs a refactoring to improve heal configuration management and upgrades several crate dependencies to their latest versions.
Key Changes:
- Introduces centralized heal configuration constants with environment variable support for queue size, intervals, timeouts, and concurrency limits
- Upgrades dependencies: rmcp (0.9.1 → 0.10.0), libc (0.2.177 → 0.2.178), uuid (1.18.1 → 1.19.0), zerocopy (0.8.30 → 0.8.31)
- Comments out object name correction/auto-healing logic in set_disk.rs
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| crates/config/src/constants/heal.rs | Adds new heal configuration constants with comprehensive documentation for environment variables and default values |
| crates/config/src/lib.rs | Exports the new heal module for public use |
| crates/config/src/constants/mod.rs | Declares the heal submodule |
| crates/ahm/src/heal/manager.rs | Updates HealConfig default implementation to read from environment variables using the new constants |
| crates/ahm/Cargo.toml | Adds rustfs-config and rustfs-utils dependencies for configuration management |
| crates/ecstore/src/set_disk.rs | Comments out the object name correction logic (47 lines) |
| scripts/run.sh | Adds RUSTFS_HEAL_QUEUE_SIZE environment variable export |
| Cargo.toml | Updates rmcp, libc, and uuid dependency versions |
| Cargo.lock | Reflects resolved dependency updates including transitive dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…s/rustfs into dependabot/cargo/dependencies-1126 * 'dependabot/cargo/dependencies-1126' of github.com:rustfs/rustfs: Fix Admin Heal API and Add Pagination Support for Large Buckets (#933)
Type of Change
Related Issues
Summary of Changes
Checklist
make pre-commitImpact
Additional Notes
Thank you for your contribution! Please ensure your PR follows the community standards (CODE_OF_CONDUCT.md) and sign the CLA if this is your first contribution.