Commit Graph

340 Commits

Author SHA1 Message Date
Gaius 3eec7b4404
feat: add optional for endpoint and region (#350)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-16 12:23:07 +08:00
Gaius 0e657a7b78
feat: add endpoint and region for object storage (#349)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-16 11:38:30 +08:00
Gaius a43075ce0e
feat: change status_code to optional in errordetails (#348)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-15 17:43:15 +08:00
dependabot[bot] 79d680fa38
chore(deps): bump prost-types from 0.12.6 to 0.13.1 (#345)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.6 to 0.13.1.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.6...v0.13.1)

---
updated-dependencies:
- dependency-name: prost-types
  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-15 10:31:07 +08:00
Gaius c636084f07
chore: update src/descriptor.bin (#344)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-10 19:55:18 +08:00
Chongzhi Deng 32065ec25b
feat: add AnnouncePeers proto and fix typo (#343)
feat: add AnnouncePeers proto

1. add AnnouncePeers api
2. fix typo of dfdaemon

Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-10 19:51:57 +08:00
Zyyeric d9d4dcf70d
feat: Add session token (#342)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-07-10 14:56:48 +08:00
Gaius 370d016656
feat: add host_id to UploadCacheTask (#340)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-08 17:10:39 +08:00
Gaius 56393b235d
feat: add id for UploadCacheTaskFinishedRequest and UploadCacheTaskFailedRequest (#339)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-08 16:46:13 +08:00
Gaius 7998f59978
feat: change UploadCacheTask message (#338)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-08 12:36:22 +08:00
dependabot[bot] 546bff1517
chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#337)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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-08 10:45:35 +08:00
dependabot[bot] 408c846118
chore(deps): bump serde from 1.0.203 to 1.0.204 (#336)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204)

---
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>
2024-07-08 10:45:05 +08:00
Gaius 1bbcef2694
feat: change UploadCacheTaskRequest type to stream (#335)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-05 18:17:12 +08:00
dlut_xz a6a2dc80a5
fix: comment error (#334)
* fix comment error

Signed-off-by: XZ <834756128@qq.com>

* fix

Signed-off-by: XZ <834756128@qq.com>

---------

Signed-off-by: XZ <834756128@qq.com>
2024-07-03 21:24:36 +08:00
Lzzzt 616b492848
feat: add `Download` attribute for Object Storage Download (#333)
* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* docs: fix the doc style of `ObjectStorage`

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* docs: fix the doc style of `ObjectStorage`

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

---------

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
2024-07-03 21:15:49 +08:00
Gaius 5ccb896ce6
fix: build error in descriptor.bin (#331)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-28 18:51:52 +08:00
Chongzhi Deng 7431d58884
feat: add interval field to AnnounceHostRequest (#330)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-06-28 18:42:37 +08:00
Gaius 7d88b1c21b
feat: add persistent field to DownloadCacheTaskRequest (#329)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-19 21:26:29 +08:00
Gaius 183280e924
fix: ttl validation format
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 14:45:53 +08:00
Gaius 240563b417
feat: add upload cache task for scheduler (#328)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 14:29:45 +08:00
Gaius e1e59d1696
feat: add announce proto of the cache task in scheduler (#327)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 22:06:34 +08:00
Gaius 89446c47da
chore: update crate version to v2.0.120
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 16:23:53 +08:00
Gaius 2cf1290751
feat: generate mock code in scheduler (#326)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 16:22:45 +08:00
Gaius 110fe0ebc7
feat: change leave to delete in scheduler messages (#325)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 15:30:39 +08:00
Gaius 7beb7a448f
feat: rename DownloadTask message to Download (#324)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 15:07:40 +08:00
Gaius 39fa1f1591
feat: add cache task proto (#323)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 14:54:30 +08:00
dependabot[bot] d339260b79
chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#322)
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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 10:29:29 +08:00
Gaius 370d97c837
feat: add host id to SyncPiecesRequest and DownloadPieceRequest (#321)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-05 17:03:33 +08:00
dependabot[bot] 5fd604d7c2
chore(deps): bump tokio from 1.37.0 to 1.38.0 (#320)
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-03 10:32:00 +08:00
Gaius 74581bea67
feat: add message of the backend error detail (#319)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 18:41:09 +08:00
dependabot[bot] 2388981f9c
chore(deps): bump serde from 1.0.202 to 1.0.203 (#318)
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>
2024-05-27 10:31:24 +08:00
dependabot[bot] e2febd6cba
chore(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#316)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.2 to 1.64.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.64.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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-05-21 10:58:59 +08:00
dependabot[bot] d83b1ad88c
chore(deps): bump serde from 1.0.201 to 1.0.202 (#315)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.201 to 1.0.202.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202)

---
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>
2024-05-21 10:58:36 +08:00
dependabot[bot] 12aea85b88
chore(deps): bump prost-types from 0.12.4 to 0.12.6 (#314)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.4...v0.12.6)

---
updated-dependencies:
- dependency-name: prost-types
  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:58:22 +08:00
Gaius ab1743c359
feat: add leave task api (#313)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-16 21:32:38 +08:00
dependabot[bot] 019c98b381
chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1 (#311)
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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-05-13 10:59:31 +08:00
dependabot[bot] 27c043d23c
chore(deps): bump serde from 1.0.199 to 1.0.201 (#312)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.199 to 1.0.201.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.201)

---
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>
2024-05-13 10:59:06 +08:00
dependabot[bot] 45608bf7a5
chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#310)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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-05-13 10:57:05 +08:00
Gaius b60a425140
feat: digest field supports blake3 (#309)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-10 13:58:51 +08:00
Gaius 76a2bd51c9
feat: change validation in memory (#308)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-07 12:35:58 +08:00
dependabot[bot] acd9e9fc6c
chore(deps): bump golangci/golangci-lint-action from 4 to 5 (#304) 2024-04-30 06:28:34 +08:00
dependabot[bot] cf62dc350b
chore(deps): bump serde from 1.0.198 to 1.0.199 (#305) 2024-04-30 06:28:07 +08:00
dependabot[bot] b6e25653d4
chore(deps): bump serde from 1.0.197 to 1.0.198 (#303)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)

---
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>
2024-04-22 10:50:05 +08:00
Gaius 9f7fd897b8
feat: change TriggerDownloadTask to DownloadTask with stream (#302)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-16 20:00:32 +08:00
dependabot[bot] 20049c9ad8
chore(deps): bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#301)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.0 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.0...v1.63.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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-04-15 11:22:33 +08:00
Gaius 34f6f75f49
feat: add prefetch field in download message (#298)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 13:42:52 +08:00
Gaius 2df8c78be4
feat: optimize prefetch in download message (#297)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:25:56 +08:00
Gaius 100d4da28e
feat: add prefetch field for download message (#296)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:14:56 +08:00
dependabot[bot] e175998351
chore(deps): bump prost-types from 0.12.3 to 0.12.4 (#294)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.3...v0.12.4)

---
updated-dependencies:
- dependency-name: prost-types
  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-04-08 10:53:47 +08:00
dependabot[bot] 2f118dc56c
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#295)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.1...v1.63.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  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-04-08 10:52:52 +08:00