Commit Graph

2247 Commits

Author SHA1 Message Date
dlut_xz 572739aa36
fix: change "ASK" to "ACK" in adopters.md (#2960)
Signed-off-by: XZ <834756128@qq.com>
2023-12-19 20:45:01 +08:00
Gaius 8f06364ee4
feat: add WithStatsHandler and StatsHandler replace deprecated func (#2959)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 20:18:48 +08:00
Gaius 0c591e46a3
feat: optimize trigger download task return empty (#2958)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 18:41:32 +08:00
Gaius ec66fd1229
feat: implement trigger download task by seed peer in v2 (#2957)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 16:18:02 +08:00
Gaius 003376c6d3
feat: optimize parameters in seed peer DownloadTask (#2947)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 11:37:00 +08:00
dependabot[bot] a58fa9c32e
chore(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 (#2951)
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/google/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>
2023-12-19 10:41:03 +08:00
dependabot[bot] e0d9248276
chore(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#2955)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-19 10:40:38 +08:00
dependabot[bot] 3193425e02
chore(deps): bump github/codeql-action from 2 to 3 (#2954)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-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>
2023-12-19 10:39:55 +08:00
dependabot[bot] fb4efb9aa9
chore(deps): bump actions/upload-artifact from 3 to 4 (#2953)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2023-12-19 10:39:34 +08:00
dependabot[bot] a9c5b45371
chore(deps): bump github.com/go-playground/validator/v10 from 10.15.5 to 10.16.0 (#2952)
chore(deps): bump github.com/go-playground/validator/v10

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.15.5 to 10.16.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.5...v10.16.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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-19 10:39:12 +08:00
dependabot[bot] df0bb29d20
chore(deps): bump github.com/onsi/gomega from 1.29.0 to 1.30.0 (#2950)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.29.0...v1.30.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  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-19 10:38:44 +08:00
dependabot[bot] 34682fe3ef
chore(deps): bump k8s.io/component-base from 0.28.3 to 0.29.0 (#2949)
Bumps [k8s.io/component-base](https://github.com/kubernetes/component-base) from 0.28.3 to 0.29.0.
- [Commits](https://github.com/kubernetes/component-base/compare/v0.28.3...v0.29.0)

---
updated-dependencies:
- dependency-name: k8s.io/component-base
  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-19 10:38:23 +08:00
dependabot[bot] f284363e03
chore(deps): bump golang.org/x/time from 0.4.0 to 0.5.0 (#2948)
Bumps [golang.org/x/time](https://github.com/golang/time) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/golang/time/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/time
  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-19 10:38:01 +08:00
Gaius 1643750f78
feat: add log for resolver and dynconfig (#2945)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-15 18:58:54 +08:00
Gaius e7c8703a6d
fix: add context timeout to health check (#2943)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-15 12:06:28 +08:00
Jim Ma 839e476ecb
chore: optimize sync pieces error report (#2925)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-12-14 11:23:15 +08:00
pbannykh 1303d77ee6
fix: downgrade gorm.io/driver/postgres to 1.5.2 (#2908)
Signed-off-by: bannykh <bannykh@tochka.com>
2023-12-13 21:09:49 +08:00
Gaius 67c36f62b3
feat: remove concurrent_piece_count in scheduler (#2942)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-12 16:39:16 +08:00
dependabot[bot] 04f65de041
chore(deps): bump github.com/schollz/progressbar/v3 from 3.13.1 to 3.14.1 (#2937)
chore(deps): bump github.com/schollz/progressbar/v3

Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.13.1 to 3.14.1.
- [Release notes](https://github.com/schollz/progressbar/releases)
- [Commits](https://github.com/schollz/progressbar/compare/v3.13.1...v3.14.1)

---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
  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-12 10:34:00 +08:00
dependabot[bot] bff5acf7aa
chore(deps): bump github.com/aws/aws-sdk-go from 1.48.11 to 1.48.16 (#2936)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.48.11 to 1.48.16.
- [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.11...v1.48.16)

---
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>
2023-12-12 10:33:36 +08:00
dependabot[bot] bdbe02bdeb
chore(deps): bump actions/setup-go from 4 to 5 (#2941)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  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>
2023-12-12 10:32:50 +08:00
Gaius 8e839e4749
feat: change DefaultSchedulerFilterParentLimit to 15 (#2932)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-08 16:06:41 +08:00
Gaius f8d538b0f1
feat: dfget sets data dir and cache dir (#2931)
feat: dfget sets data and cache dir

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-07 20:48:30 +08:00
Gaius 76530ae000
feat: add prefetch to trigger seed peer downloads entire task (#2929)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-07 20:02:28 +08:00
Gaius 1d75ddf3c0
chore: update api version to v2.0.59 (#2923)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-06 20:24:55 +08:00
Gaius 81cfc72943
feat: optimize service v2 log print (#2922)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-06 16:30:59 +08:00
Gaius cfcfbc3c39
feat: optimize AnnouncePeer log and update api verison (#2921)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-06 10:26:27 +08:00
dependabot[bot] f4e326e403
chore(deps): bump github.com/aws/aws-sdk-go from 1.47.9 to 1.48.11 (#2919)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.47.9 to 1.48.11.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.47.9...v1.48.11)

---
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-05 10:49:30 +08:00
dependabot[bot] 17fe46535b
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.45.0 to 0.46.1 (#2916)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.45.0 to 0.46.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.45.0...zpages/v0.46.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  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-05 10:48:54 +08:00
dependabot[bot] 22c32a78ff
chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.16.0 (#2917)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/crypto/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-05 10:48:27 +08:00
lishaokai da67241dbf
fix the wrong word (#2914)
Signed-off-by: lishaokai1995 <lishaokai1995@126.com>
2023-12-04 21:39:09 +08:00
guoguodan 014a280f7f
Update CHANGELOG.md (#2913)
edit error word:guage -> "gauge"
2023-12-04 16:12:42 +08:00
Gaius 84cdd1ecc6
fix: log parse error (#2909)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-30 16:13:58 +08:00
Gaius 64e9c0fd2a
feat: remove handleSyncPiecesFailedRequest when sync piece failed (#2906)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-30 14:39:57 +08:00
Jim Ma 9b251a8092
feat: enable watch dog by default (#2905)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-11-29 21:08:19 +08:00
guoguodan b95e827c8b
Update CHANGELOG.md (#2904)
edit error word: verison -> "version"
2023-11-29 15:43:15 +08:00
dependabot[bot] 0431b32290
chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.9 to 3.23.10 (#2900)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.9 to 3.23.10.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.9...v3.23.10)

---
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>
2023-11-29 10:28:59 +08:00
dependabot[bot] 8cf2b8c93a
chore(deps): bump google.golang.org/api from 0.138.0 to 0.151.0 (#2902)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.138.0 to 0.151.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.138.0...v0.151.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-11-29 10:28:25 +08:00
dependabot[bot] 5a71469a58
chore(deps): bump github.com/docker/distribution from 2.8.2+incompatible to 2.8.3+incompatible (#2898)
chore(deps): bump github.com/docker/distribution

Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.2+incompatible to 2.8.3+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.8.2...v2.8.3)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  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-11-29 10:27:29 +08:00
dependabot[bot] e416fb2ee0
chore(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 (#2899)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  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-11-29 10:27:03 +08:00
karl 21c19a9218
fix: CANNOT connet to Redis with special password #2893 (#2894)
Co-authored-by: karlhjm <karl.jm.huang@gmail.com>
2023-11-22 10:28:00 +08:00
Gaius 18c28a7364
fix: digest and range validation in v2 (#2892)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-21 17:12:05 +08:00
Gaius 11829e35df
feat: update api version to v2.0.56 (#2891)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-21 14:02:24 +08:00
dependabot[bot] ae5e2d7435
chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 (#2889)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  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-11-21 10:45:46 +08:00
dependabot[bot] 916d5ce2a4
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin from 0.45.0 to 0.46.1 (#2888)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin

Bumps [go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.45.0 to 0.46.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.45.0...zpages/v0.46.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
  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-11-21 10:45:24 +08:00
dependabot[bot] 4b9bdcd225
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 (#2890)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.0 to 2.13.1.
- [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.0...v2.13.1)

---
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-11-21 10:42:43 +08:00
dependabot[bot] 7d1b5a4200
chore(deps): bump golang.org/x/sync from 0.4.0 to 0.5.0 (#2887)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.4.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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-11-21 10:41:50 +08:00
dependabot[bot] 7822540de0
chore(deps): bump go.opentelemetry.io/otel from 1.20.0 to 1.21.0 (#2886)
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.20.0...v1.21.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
  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-11-21 10:40:57 +08:00
dlut_xz 22f4f9e13b
feat: implement batch calculation of candidate parents scores (#2853)
Signed-off-by: XZ <834756128@qq.com>
2023-11-16 14:01:26 +08:00
Gaius 9608eff3bf
feat: avoid hot resolve in grpc (#2884)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-15 22:23:43 +08:00