Commit Graph

608 Commits

Author SHA1 Message Date
dependabot[bot] 0330acf5f6
chore(deps): Bump hashring from 0.3.5 to 0.3.6 (#681)
Bumps [hashring](https://github.com/jeromefroe/hashring-rs) from 0.3.5 to 0.3.6.
- [Changelog](https://github.com/jeromefroe/hashring-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/hashring-rs/compare/0.3.5...0.3.6)

---
updated-dependencies:
- dependency-name: hashring
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 21:09:57 +08:00
dependabot[bot] a64296e7bf
chore(deps): Bump hyper-util from 0.1.6 to 0.1.7 (#682)
Bumps [hyper-util](https://github.com/hyperium/hyper-util) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/hyperium/hyper-util/releases)
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.6...v0.1.7)

---
updated-dependencies:
- dependency-name: hyper-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 21:09:41 +08:00
Gaius a19919b0bd
feat: add log for deleting task (#683)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-19 21:09:12 +08:00
Gaius f1839ce1b9
chore: fix 'as' keyword should match the case of the 'from' keyword (#677)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-19 17:57:37 +08:00
Gaius f948db08bd
feat: add disk space metric (#676)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-19 16:38:35 +08:00
Gaius 03af1cfd01
feat: add metrics of the backend request (#672)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-16 17:01:12 +08:00
Gaius 94952ae77c
feat: add with_capacity for content (#671)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-15 21:14:58 +08:00
Gaius 9ecc4d2659
fix: too_many_pings error for scheduler server (#670)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-15 16:57:35 +08:00
Gaius 9b1e48175a
feat: add piece length for download request (#669)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-15 16:35:16 +08:00
Gaius 71efbe9abd
feat: optimize gc with rocksdb (#668)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-14 21:14:42 +08:00
Gaius 4ac259a8c8
feat: filter query params (#667)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-13 20:06:10 +08:00
dependabot[bot] 19831e3ffc
chore(deps): Bump clap from 4.5.11 to 4.5.15 (#663)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.11 to 4.5.15.
- [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.11...v4.5.15)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 21:12:59 +08:00
dependabot[bot] 641388ee47
chore(deps): Bump hyper from 1.4.0 to 1.4.1 (#666)
Bumps [hyper](https://github.com/hyperium/hyper) from 1.4.0 to 1.4.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.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 21:12:44 +08:00
dependabot[bot] 8cb3e85257
chore(deps): Bump serde_json from 1.0.121 to 1.0.124 (#665)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.121 to 1.0.124.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.121...v1.0.124)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 21:12:14 +08:00
dependabot[bot] df2173d3d3
chore(deps): Bump regex from 1.10.5 to 1.10.6 (#664)
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.5...1.10.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 21:11:57 +08:00
dependabot[bot] b66b31ee10
chore(deps): Bump tabled from 0.15.0 to 0.16.0 (#662)
Bumps [tabled](https://github.com/zhiburt/tabled) from 0.15.0 to 0.16.0.
- [Changelog](https://github.com/zhiburt/tabled/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zhiburt/tabled/commits)

---
updated-dependencies:
- dependency-name: tabled
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 21:11:06 +08:00
Gaius e7f7c50fa4
feat: calculate piece length by file length (#661)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-12 21:09:10 +08:00
Zhaoxinxin 175be388a0
Feat: add tar package build (#659)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
2024-08-09 11:42:30 +08:00
Gaius 10125b5588
feat: when send to scheduler failed, join_set detach all task (#660)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-08 22:50:13 +08:00
Gaius 95deec801f
feat: remove header in mirror config
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-07 15:20:38 +08:00
Gaius 8796c42436
feat: add zstd compression for grpc (#658)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-07 11:06:59 +08:00
Gaius 6c7e70d270
feat: add buffer_size for GRPC client (#657)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-06 21:55:01 +08:00
Gaius 28d17f9980
feat: add log for deleting piece (#656)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-06 21:21:47 +08:00
dependabot[bot] 36084807d3
chore(deps): Bump bytes from 1.6.1 to 1.7.1 (#651)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.1 to 1.7.1.
- [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.6.1...v1.7.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 00:11:43 +08:00
dependabot[bot] 1ab22825f8
chore(deps): Bump rustls-pemfile from 2.1.1 to 2.1.3 (#652)
Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/rustls/pemfile/releases)
- [Commits](https://github.com/rustls/pemfile/compare/v/2.1.1...v/2.1.3)

---
updated-dependencies:
- dependency-name: rustls-pemfile
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 00:11:22 +08:00
dependabot[bot] c54da1ad50
chore(deps): Bump toml from 0.8.16 to 0.8.19 (#653)
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.16 to 0.8.19.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.16...toml-v0.8.19)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 00:11:03 +08:00
dependabot[bot] 3ba190c65d
chore(deps): Bump uuid from 1.9.1 to 1.10.0 (#654)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 00:10:27 +08:00
Gaius 87460eedc0
feat: update tonic version for grpc (#655)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 23:32:13 +08:00
Gaius 5647215c9e
feat: support crc32 for calculating piece content (#649)
* feat: support crc32 for calculating piece info

Signed-off-by: Gaius <gaius.qi@gmail.com>

* Trigger CI pipeline

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 18:54:01 +08:00
Zhaoxinxin b150ba3364
Feat: dfdaemon is started using systemd (#648)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
2024-08-05 18:42:44 +08:00
Gaius 50fa71e4c9
feat: remove is_uploading condition in gc (#646)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 16:31:18 +08:00
Gaius 6e760e877e
chore: change free-disk-space params
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 11:58:00 +08:00
Gaius 0b5e3bf810
feat: if host is not exist, set host (#645)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 02:41:50 +08:00
Gaius 49ab198016
chore: add self-hosted larger runers (#643)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 02:41:27 +08:00
Gaius aee6a66c08
feat: add header for mirror mode (#644)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-02 17:48:35 +08:00
Gaius 0bc8ce9529
chore: rename config.yaml for ci (#641)
feat: rename config.yaml for ci

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-02 10:58:17 +08:00
Zhaoxinxin 82b1c30ed1
feat: Add rpm package and deb package build (#636)
* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

---------

Signed-off-by: zhaoxinxin <1186037180@qq.com>
2024-08-02 10:30:49 +08:00
Gaius 12a7d31a57
chore: add ci dir for actions (#640)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-01 13:53:47 +08:00
Gaius 55016c76bb
refactor: disk information in announcer module (#639)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-01 10:21:33 +08:00
Chongzhi Deng b81f129a7a
fix: add missing fields to the announce host request (#622)
fix: announce host with process_used_percent and scheduler_cluster_id

Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-08-01 10:04:00 +08:00
Gaius ef7a6df21a
fix: download too long logs (#638)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-31 00:35:54 +08:00
Gaius 20bac0f4ab
chore: update crates version to v0.1.91
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-30 17:20:03 +08:00
Gaius 85c73e3a00
feat: add warn logs when handle level1 task task slowly (#637)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-30 17:16:00 +08:00
dependabot[bot] 434a395493
chore(deps): Bump libloading from 0.8.4 to 0.8.5 (#634)
Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.8.4 to 0.8.5.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5)

---
updated-dependencies:
- dependency-name: libloading
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 13:37:59 +08:00
dependabot[bot] 0120ec492f
chore(deps): Bump clap from 4.5.9 to 4.5.11 (#633)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.9 to 4.5.11.
- [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.9...clap_complete-v4.5.11)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 13:37:32 +08:00
dependabot[bot] 38c0f14869
chore(deps): Bump thiserror from 1.0.61 to 1.0.63 (#632)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.63)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 13:37:13 +08:00
dependabot[bot] 97fdde2961
chore(deps): Bump tokio from 1.38.1 to 1.39.2 (#631)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.1 to 1.39.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 13:36:54 +08:00
dependabot[bot] 20d7917069
chore(deps): Bump serde_json from 1.0.120 to 1.0.121 (#630)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.120 to 1.0.121.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 13:36:34 +08:00
dependabot[bot] faa79ca8a8
chore(deps): Bump toml from 0.8.13 to 0.8.16 (#629)
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.13 to 0.8.16.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.16)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 19:39:55 +08:00
Lzzzt b32b685481
fix: fix url encode/decode bug (#628)
Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
2024-07-26 15:24:58 +08:00