Commit Graph

1195 Commits

Author SHA1 Message Date
Gaius 8befb9ee39
feat: change max_decoding_message_size and max_encoding_message_size to usize::MAX (#552)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-20 17:02:17 +08:00
Gaius 6b4c38cf8e
feat: add cache_peer apis and cache_task apis for scheduler client (#550)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-20 15:31:59 +08:00
Gaius 213a54ecaf
feat: add cache_task implements in storage (#549)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-19 21:37:50 +08:00
Gaius d663016d35
feat: add cache task api for grpc server (#548)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-19 14:38:46 +08:00
Gaius 7b32688991
feat: add cache_task_id and cache_peer_id to id generater (#547)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 21:07:40 +08:00
Gaius 8235ca1c09
feat: add args to dfcache command (#546)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 18:12:32 +08:00
dependabot[bot] aff55c0390
chore(deps): Bump clap from 4.5.6 to 4.5.7 (#545)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.6 to 4.5.7.
- [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/v4.5.6...v4.5.7)

---
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-06-17 22:00:11 +08:00
dependabot[bot] 2c9b9d9095
chore(deps): Bump termion from 4.0.0 to 4.0.2 (#544)
Bumps termion from 4.0.0 to 4.0.2.

---
updated-dependencies:
- dependency-name: termion
  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-06-17 21:59:43 +08:00
dependabot[bot] 65a19c967b
chore(deps): Bump http-body-util from 0.1.0 to 0.1.2 (#543)
Bumps [http-body-util](https://github.com/hyperium/http-body) from 0.1.0 to 0.1.2.
- [Commits](https://github.com/hyperium/http-body/compare/http-body-util-v0.1.0...http-body-util-v0.1.2)

---
updated-dependencies:
- dependency-name: http-body-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-06-17 21:59:16 +08:00
dependabot[bot] bae1ba42db
chore(deps): Bump url from 2.5.0 to 2.5.1 (#541)
Bumps [url](https://github.com/servo/rust-url) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: url
  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-06-17 21:58:37 +08:00
dependabot[bot] e5547ec4b1
chore(deps): Bump codecov/codecov-action from 4.0.0 to 4.5.0 (#540)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.0 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.0.0...v4.5.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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-06-17 21:58:17 +08:00
dependabot[bot] 9e93d7cbf0
chore(deps): Bump docker/build-push-action from 5 to 6 (#539)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 21:57:58 +08:00
Gaius 44a9ad3a25
feat: change default value of keep storage to false (#538)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-15 18:29:50 +08:00
Gaius 93bf1208c1
feat: skip all label in announce_peer (#537)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-14 10:52:24 +08:00
Gaius dad5c9fe97
feat: add prefetch log for downloading (#536)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-13 22:29:03 +08:00
Gaius 832af14c91
feat: wait for piece finished before update piece metadata (#535)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-13 15:51:54 +08:00
Gaius 3fa0e87059
feat: set ChronoLocal for tracing (#534)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-12 14:28:22 +08:00
Gaius a84039c9d1
feat: call download_piece_failed when piece download failed (#533)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-12 13:26:00 +08:00
dependabot[bot] 424a0cdd8b
chore(deps): Bump toml_edit from 0.22.13 to 0.22.14 (#531)
Bumps [toml_edit](https://github.com/toml-rs/toml) from 0.22.13 to 0.22.14.
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.13...v0.22.14)

---
updated-dependencies:
- dependency-name: toml_edit
  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-06-11 10:26:27 +08:00
dependabot[bot] f7e5c8f737
chore(deps): Bump regex from 1.10.4 to 1.10.5 (#530)
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5.
- [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.4...1.10.5)

---
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-06-11 10:25:50 +08:00
dependabot[bot] 8901092d00
chore(deps): Bump clap from 4.5.3 to 4.5.6 (#529)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.3 to 4.5.6.
- [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.3...v4.5.6)

---
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-06-11 10:25:30 +08:00
Gaius 81c0fbd9e0
feat: record the proxy request started metrics (#528)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-07 11:51:24 +08:00
Gaius c995295fc1
feat: set fill cache is false (#527)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-06 21:47:51 +08:00
Gaius 08a488838b
feat: remove remote_address label from PROXY_REQUSET_COUNT and PROXY_REQUSET_FAILURE_COUNT (#526)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-06 20:11:29 +08:00
Gaius 511dc9a7a2
feat: optimize download all pieces log (#525)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-06 14:15:54 +08:00
Gaius 65a87ce390
feat: merge finished piece and remove finished piece (#524)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-05 23:16:56 +08:00
Gaius b67fc8d355
feat: remove rocksdb bloom filter (#523)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-05 19:47:22 +08:00
Gaius d500a0f6c0
feat: add error log for backend (#522)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-05 14:19:17 +08:00
dependabot[bot] ccf60ca125
chore(deps): Bump rustls from 0.22.2 to 0.22.4 (#520)
Bumps [rustls](https://github.com/rustls/rustls) from 0.22.2 to 0.22.4.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.22.2...v/0.22.4)

---
updated-dependencies:
- dependency-name: rustls
  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-06-04 10:43:09 +08:00
dependabot[bot] 6ab21e27a4
chore(deps): Bump tokio from 1.37.0 to 1.38.0 (#518)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0)

---
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-06-04 10:41:36 +08:00
Gaius 31e33aec29
feat: add dfcache command for d7y (#517)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-03 12:22:14 +08:00
Gaius ffe991a8d6
feat: register PROXY_REQUSET_COUNT and PROXY_REQUSET_FAILURE_COUNT me… (#516)
feat: register PROXY_REQUSET_COUNT and PROXY_REQUSET_FAILURE_COUNT metrics

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-31 20:29:54 +08:00
Gaius b348881f31
feat: support proxy HTTPS from nydus (#515)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-31 16:04:47 +08:00
Gaius da1696a030
feat: add proxy request metrics (#514)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-31 15:55:01 +08:00
Gaius e2a907a05c
feat: optimize mutex in dynconfig and add keepalive to hyper proxy (#513)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-30 15:05:28 +08:00
Gaius 71a8892057
feat: replace appender rolling with rolling file (#512)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-29 12:23:10 +08:00
Gaius 8853191cae
feat: add keep to indicate whether keep data when dfdaemon restarts (#511)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 23:48:34 +08:00
Gaius 468462e9ae
feat: use public backend request, backend response and backend error (#510)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 23:07:24 +08:00
dependabot[bot] 895592fd5c
chore(deps): Bump libc from 0.2.154 to 0.2.155 (#505)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.154 to 0.2.155.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.154...0.2.155)

---
updated-dependencies:
- dependency-name: libc
  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>
Co-authored-by: Gaius <gaius.qi@gmail.com>
2024-05-28 11:12:50 +08:00
dependabot[bot] e3f1f81393
chore(deps): Bump hashring from 0.3.4 to 0.3.5 (#504)
Bumps [hashring](https://github.com/jeromefroe/hashring-rs) from 0.3.4 to 0.3.5.
- [Changelog](https://github.com/jeromefroe/hashring-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/hashring-rs/compare/0.3.4...0.3.5)

---
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>
Co-authored-by: Gaius <gaius.qi@gmail.com>
2024-05-28 11:12:26 +08:00
dependabot[bot] fd39aaca48
chore(deps): Bump thiserror from 1.0.60 to 1.0.61 (#503)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61)

---
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>
Co-authored-by: Gaius <gaius.qi@gmail.com>
2024-05-28 11:12:07 +08:00
dependabot[bot] da3ca604eb
chore(deps): Bump serde from 1.0.202 to 1.0.203 (#506)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.202 to 1.0.203.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203)

---
updated-dependencies:
- dependency-name: serde
  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>
Co-authored-by: Gaius <gaius.qi@gmail.com>
2024-05-28 11:11:47 +08:00
Gaius 12f3292526
feat: change tracing rotation to DAILY (#508)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 10:46:02 +08:00
Gaius 8fe9de131b
chore: change codecov version (#509)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 10:45:50 +08:00
Gaius af555c337c
feat: redirect stderr to stderr log file (#494)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-24 15:29:21 +08:00
Gaius 59fb6b2ad5
chore: update cargo version
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-23 15:46:24 +08:00
Gaius c73a43a5ae
feat: change connect timeout to 1s (#492)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-23 15:36:26 +08:00
Gaius 34dc8e69a1
feat: find the available scheduler cluster by dynconfig (#491)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-23 13:46:26 +08:00
Gaius f71d318c1c
feat: add suffix for log file (#490)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-21 13:43:21 +08:00
dependabot[bot] 8b72185163
chore(deps): Bump toml from 0.8.12 to 0.8.13 (#488)
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.12 to 0.8.13.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.12...toml-v0.8.13)

---
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-05-21 10:55:48 +08:00