Commit Graph

2247 Commits

Author SHA1 Message Date
dependabot[bot] 3ebb97fb57
chore(deps): bump actions/cache from 3 to 4 (#3039)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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-01-23 10:31:53 +08:00
Gaius e11666deb0
feat: change request header in response (#3038)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-22 16:19:16 +08:00
dlut_xz 548e9f2627
chore: update api version to v2.0.83 (#3037)
Signed-off-by: fcgxz2003 <834756128@qq.com>
2024-01-22 16:01:03 +08:00
Gaius a38a4578c3
feat: CanAddPeerEdge is moved to the end of filter (#3036)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-19 16:43:30 +08:00
Jim Ma 2f04697d14
chore: optimize dfget log (#3034)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-01-19 15:25:18 +08:00
Min 31f01557a8
feat: revise findProbedHosts function (#2986)
Signed-off-by: huangmin <2107139596@qq.com>
2024-01-16 11:11:23 +08:00
realityone 9a1c74406a
fix potential deadlock in dynconfig resolver (#3024) 2024-01-16 11:02:40 +08:00
dependabot[bot] a34816f29b
chore(deps): bump google.golang.org/api from 0.154.0 to 0.156.0 (#3026)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.154.0 to 0.156.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.154.0...v0.156.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  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-01-16 10:38:00 +08:00
dependabot[bot] 4214b053c3
chore(deps): bump github.com/docker/go-connections from 0.4.0 to 0.5.0 (#3025)
Bumps [github.com/docker/go-connections](https://github.com/docker/go-connections) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/docker/go-connections/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/docker/go-connections
  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-01-16 10:37:36 +08:00
Jim Ma abcf7ea9e4
chore: optimize dfget progressbar (#3021)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-01-15 11:58:29 +08:00
Gaius e03f8d8713
feat: output path should be empty, prevent seed peer copy file to output path (#3019)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-12 13:30:40 +08:00
Gaius 176cd016ed
chore: add yyzai384 to maintainers (#3018)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-12 12:01:03 +08:00
Jim Ma 5efac3afb3
feat: re-register when scheduler go away (#3016)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-01-12 11:13:48 +08:00
Gaius f82cc4f5f4
test: remove failed case in handleDownloadPeerStartedRequest (#3017)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-11 20:17:05 +08:00
Gaius dd03c97975
feat: prevent concurrent request to cause state switch failed (#3014)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 16:42:55 +08:00
Gaius 8508844489
chore: update api verison to v2.0.76 (#3013)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 15:22:55 +08:00
Gaius ea28581bbe
feat: update scheduler and seed peer by ip and port (#3012)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 12:36:45 +08:00
Gaius 93df8f01d8
feat: add block parent to peer if peer reschedule in downloading (#3011)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 10:53:05 +08:00
Gaius 6586489210
feat: report bad parents and add bad parents to block parent set (#3010)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 10:26:48 +08:00
dependabot[bot] 67d5dd0e0f
chore(deps): bump github.com/aws/aws-sdk-go from 1.49.9 to 1.49.17 (#3009)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.49.9 to 1.49.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.49.9...v1.49.17)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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-01-09 10:38:44 +08:00
dependabot[bot] 3e7ff181b7
chore(deps): bump github.com/deckarep/golang-set/v2 from 2.3.1 to 2.6.0 (#3008)
Bumps [github.com/deckarep/golang-set/v2](https://github.com/deckarep/golang-set) from 2.3.1 to 2.6.0.
- [Release notes](https://github.com/deckarep/golang-set/releases)
- [Commits](https://github.com/deckarep/golang-set/compare/v2.3.1...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/deckarep/golang-set/v2
  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-01-09 10:34:55 +08:00
dependabot[bot] 1cd2f24e94
chore(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (#3007)
chore(deps): bump github.com/prometheus/client_golang

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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-01-09 10:34:34 +08:00
dependabot[bot] 3517a34b63
chore(deps): bump github.com/bits-and-blooms/bitset from 1.10.0 to 1.13.0 (#3005)
chore(deps): bump github.com/bits-and-blooms/bitset

Bumps [github.com/bits-and-blooms/bitset](https://github.com/bits-and-blooms/bitset) from 1.10.0 to 1.13.0.
- [Release notes](https://github.com/bits-and-blooms/bitset/releases)
- [Commits](https://github.com/bits-and-blooms/bitset/compare/v1.10.0...v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/bits-and-blooms/bitset
  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-01-09 10:33:54 +08:00
Gaius dce1890aa0
feat: change state set when trigger seed peer (#3003)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-09 10:33:23 +08:00
Gaius 70dd9b109d
feat: remove maxScheduleCount and optimize register in v2 (#3001)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-08 21:06:58 +08:00
Hu Sheng 1e398794bb
Update docker compose document (#2997)
Signed-off-by: TommyLike <tommylikehu@gmail.com>
2024-01-05 18:39:13 +08:00
realityone dbe835ea26
only stop networkTopology when it is not nil (#2995) 2024-01-04 13:20:18 +08:00
Gaius f1584cfea6
chore: add cache docker layers action to docker.yaml (#2994)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-02 18:50:36 +08:00
Gaius 87f9fcc536
feat: remove object storage and model message (#2992)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-02 14:53:08 +08:00
dependabot[bot] eb9a92adf5
chore(deps): bump github.com/opencontainers/image-spec from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc5 (#2991)
chore(deps): bump github.com/opencontainers/image-spec

Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc5.
- [Release notes](https://github.com/opencontainers/image-spec/releases)
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md)
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc5)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
  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-01-02 10:35:29 +08:00
dependabot[bot] 96df4f1e2f
chore(deps): bump github.com/casbin/casbin/v2 from 2.77.2 to 2.81.0 (#2990)
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.77.2 to 2.81.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](https://github.com/casbin/casbin/compare/v2.77.2...v2.81.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
  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-01-02 10:35:09 +08:00
dependabot[bot] 79dab81667
chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.10 to 3.23.12 (#2988)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.10 to 3.23.12.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.10...v3.23.12)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  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-01-02 10:34:28 +08:00
Min c27ddc05b2
test: add slice unit test (#2985) 2023-12-31 10:13:43 +08:00
Gaius 4846f6a56d
feat: add difference function for slices (#2984)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-29 16:22:08 +08:00
Jim Ma 09b11a280a
chore: optimize stream task id (#2983)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-12-29 16:16:06 +08:00
Min b9c25f8c37
feat:add cache about networktopology (#2924)
Signed-off-by: huangmin <2107139596@qq.com>
2023-12-29 15:24:15 +08:00
Gaius b4e9fadc5e
chore: add draft in goreleaser (#2981)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-28 10:51:16 +08:00
Jim Ma e329bdbb39
feat: back to source with piece group(multiple pieces) (#2826)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-12-27 15:54:21 +08:00
Gaius 086cb62d01
feat: if seed peer download task, return NeedBackToSource directly (#2980)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-26 20:11:45 +08:00
Gaius 5989a4d4d3
fix: peer events state failed when register task (#2979)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-26 17:12:30 +08:00
Gaius ab896daf2a
feat: if trigger peer is seed peer, set NeedBackToSource flag true (#2972)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-26 11:01:25 +08:00
dependabot[bot] a2b7f8df09
chore(deps): bump github.com/aws/aws-sdk-go from 1.48.16 to 1.49.9 (#2977)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.48.16 to 1.49.9.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG_PENDING.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.48.16...v1.49.9)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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>
2023-12-26 10:26:53 +08:00
dependabot[bot] 6186673c50
chore(deps): bump google.golang.org/api from 0.151.0 to 0.154.0 (#2974)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.151.0 to 0.154.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.151.0...v0.154.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  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>
2023-12-26 10:26:25 +08:00
dependabot[bot] f5a599c742
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 (#2973)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.1...v2.13.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  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>
2023-12-26 10:26:02 +08:00
Gaius acdbc4b484
feat: remove register seed peer in announce peer (#2971)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-25 19:29:44 +08:00
Gaius 6b93ef8e5e
feat: trigger download by task id (#2970)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-25 17:37:12 +08:00
Gaius 86ae8ce794
chore: grpc reverts to v1.60.0-dev version (#2969)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-22 18:18:27 +08:00
Gaius 5894095151
feat: support logging the range and header when registering a task (#2967)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-22 11:39:03 +08:00
Gaius 7b2a807493
chore: grpc_health_probe supports different architectures in dockerfile (#2966)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-22 11:22:19 +08:00
dependabot[bot] 5bec5a9c01
chore(deps): bump github.com/containerd/containerd from 1.5.18 to 1.6.26 (#2962)
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.18 to 1.6.26.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.18...v1.6.26)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 10:26:38 +08:00