Commit Graph

458 Commits

Author SHA1 Message Date
bestgopher bb2f765e5d add iam system
add iam store

feat: add crypto crate

introduce decrypt_data and encrypt_data functions

Signed-off-by: bestgopher <84328409@qq.com>
2024-12-02 10:50:31 +08:00
loverustfs 8519a596ec Merge pull request #134 from rustfs/dependabot/cargo/dependencies-95bc395570
Bump the dependencies group with 14 updates
2024-12-02 10:11:53 +08:00
weisd 6dc9e6d3ee rm unuse logs 2024-12-02 00:10:50 +08:00
weisd bfa0e77f78 Merge pull request #136 from rustfs/pool-api
fix download err where versioning enable
2024-12-02 00:05:13 +08:00
weisd 33dc6c53a4 fix download err where versioning enable 2024-12-02 00:02:31 +08:00
dependabot[bot] 048da8c972 Bump the dependencies group with 14 updates
Bumps the dependencies group with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [backon](https://github.com/Xuanwo/backon) | `1.2.0` | `1.3.0` |
| [bytes](https://github.com/tokio-rs/bytes) | `1.8.0` | `1.9.0` |
| [clap](https://github.com/clap-rs/clap) | `4.5.20` | `4.5.21` |
| [hyper](https://github.com/hyperium/hyper) | `1.5.0` | `1.5.1` |
| [serde](https://github.com/serde-rs/serde) | `1.0.214` | `1.0.215` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.132` | `1.0.133` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.68` | `2.0.3` |
| [tracing](https://github.com/tokio-rs/tracing) | `0.1.40` | `0.1.41` |
| [tracing-error](https://github.com/tokio-rs/tracing) | `0.2.0` | `0.2.1` |
| [tracing-subscriber](https://github.com/tokio-rs/tracing) | `0.3.18` | `0.3.19` |
| [url](https://github.com/servo/rust-url) | `2.5.3` | `2.5.4` |
| [axum](https://github.com/tokio-rs/axum) | `0.7.7` | `0.7.9` |
| [h2](https://github.com/hyperium/h2) | `0.4.6` | `0.4.7` |
| [shadow-rs](https://github.com/baoyachi/shadow-rs) | `0.35.2` | `0.36.0` |


Updates `backon` from 1.2.0 to 1.3.0
- [Release notes](https://github.com/Xuanwo/backon/releases)
- [Commits](https://github.com/Xuanwo/backon/compare/v1.2.0...v1.3.0)

Updates `bytes` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.8.0...v1.9.0)

Updates `clap` from 4.5.20 to 4.5.21
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.20...clap_complete-v4.5.21)

Updates `hyper` from 1.5.0 to 1.5.1
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v1.5.0...v1.5.1)

Updates `serde` from 1.0.214 to 1.0.215
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

Updates `serde_json` from 1.0.132 to 1.0.133
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133)

Updates `thiserror` from 1.0.68 to 2.0.3
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...2.0.3)

Updates `tracing` from 0.1.40 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.40...tracing-0.1.41)

Updates `tracing-error` from 0.2.0 to 0.2.1
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-error-0.2.0...tracing-error-0.2.1)

Updates `tracing-subscriber` from 0.3.18 to 0.3.19
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.18...tracing-subscriber-0.3.19)

Updates `url` from 2.5.3 to 2.5.4
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.5.3...v2.5.4)

Updates `axum` from 0.7.7 to 0.7.9
- [Release notes](https://github.com/tokio-rs/axum/releases)
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.7.7...axum-v0.7.9)

Updates `h2` from 0.4.6 to 0.4.7
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.4.6...v0.4.7)

Updates `shadow-rs` from 0.35.2 to 0.36.0
- [Release notes](https://github.com/baoyachi/shadow-rs/releases)
- [Commits](https://github.com/baoyachi/shadow-rs/compare/v0.35.2...v0.36.0)

---
updated-dependencies:
- dependency-name: backon
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: tracing-error
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: h2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: shadow-rs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-01 06:10:57 +00:00
junxiangMu 48d1e6ccb2 Merge pull request #135 from rustfs/heal
add mc admin heal command support
2024-12-01 14:07:03 +08:00
mujunxiang 1a418c74b4 support mc admin heal command
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 21:29:37 +08:00
weisd df60aa50fe todo file_info_from_raw 2024-11-30 20:54:51 +08:00
mujunxiang 26c5ebea53 rebase main
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 16:05:02 +08:00
mujunxiang e95bb4c4d7 heal admin api(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 15:40:22 +08:00
mujunxiang 6ddfc80943 heal admin api(2)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 15:36:39 +08:00
mujunxiang a421b5be2b heal admin api(1)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-30 15:34:04 +08:00
weisd 98ed93133b Merge pull request #133 from rustfs/pool-api
Pool api
2024-11-29 15:47:00 +08:00
weisd bbc76302a2 sync s3s rustfs branch, fix versiong config 2024-11-29 14:58:40 +08:00
weisd 82a6d529c1 todo decommission_pool 2024-11-29 11:44:53 +08:00
weisd 9d95d14129 todo decommission_in_routine 2024-11-28 17:16:50 +08:00
weisd 73efd4f493 use Arc<ECStroe> 2024-11-28 14:47:01 +08:00
weisd 9e6ec15f32 fix get_net_info 2024-11-28 09:44:59 +08:00
weisd 9f9be9d1a2 fix get_net_info 2024-11-28 09:43:37 +08:00
junxiangMu f3b627e91b Merge pull request #132 from rustfs/peer-rest
Peer rest
2024-11-27 15:01:14 +08:00
mujunxiang bbe3d9231e fix endpoint display bug
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 15:00:16 +08:00
mujunxiang 13b53efb2a fix rebase err
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:44:01 +08:00
mujunxiang 1b9ae3ccb3 support some peer rest api
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:31:26 +08:00
mujunxiang 5cc138e23d add server_info cpus net_info api
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:24:24 +08:00
mujunxiang 7029524504 peer rest frame
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-27 14:24:22 +08:00
weisd b79b967036 move admin router to rustfs, add pool stats/list admin api 2024-11-26 17:34:18 +08:00
junxiangMu b1510d1107 Merge pull request #131 from rustfs/deal-sign
fix ctrl +c
2024-11-26 11:22:38 +08:00
mujunxiang bb5d41147a fix ctrl +c
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-26 11:21:29 +08:00
weisd f56a0d1b6d add logs 2024-11-26 11:19:16 +08:00
weisd a5d8d1990c fix:#127 2024-11-23 19:05:00 +08:00
weisd 11abe53ef6 add disk.delete_version 2024-11-22 20:58:01 +08:00
weisd 0606de818d Merge pull request #126 from rustfs/fix/errors
Fix/errors
2024-11-21 17:36:16 +08:00
weisd 237690b876 rm unuse log 2024-11-21 17:35:13 +08:00
weisd 1bfba1e913 add to_s3_error 2024-11-21 17:25:49 +08:00
weisd f88126008b add get_multipart_info 2024-11-21 15:59:02 +08:00
weisd 597a3dc5b7 merge fixs 2024-11-20 17:50:29 +08:00
weisd 821bb6fe3f merge heal 2024-11-20 17:40:11 +08:00
weisd e9583c6a47 add put_object_metadata 2024-11-20 16:10:14 +08:00
weisd 8439b375ed todo put_object_metadata 2024-11-20 14:12:33 +08:00
mujunxiang 1d81a9e40f fix cache bug
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-20 09:47:10 +08:00
mujunxiang e6d5fe328d clippy(2)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-20 09:10:19 +08:00
mujunxiang ec8b73bd9c cllipy
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-19 17:30:50 +08:00
weisd e302ac8059 fix errors/delete_object 2024-11-19 17:16:42 +08:00
mujunxiang e94d462652 auto heal(3)
Signed-off-by: mujunxiang <1948535941@qq.com>
2024-11-19 17:15:37 +08:00
weisd 2ea2fd4308 fix errors/delete_object 2024-11-19 16:59:51 +08:00
weisd 706fce49b9 fix bug 2024-11-19 10:44:27 +08:00
weisd a79f684e25 Merge branch 'bool-api' 2024-11-19 10:37:31 +08:00
junxiang Mu 6291087ecb auto heal(2)
Signed-off-by: junxiang Mu <1948535941@qq.com>
2024-11-17 18:34:29 +08:00
root 01e0e4b673 auto heal(1)
Signed-off-by: root <root@DESKTOP-QLJNS6S.localdomain>
2024-11-16 20:43:34 +08:00