Commit Graph

1907 Commits

Author SHA1 Message Date
lixin18 18e90cefc1
Update Makefile (#2828)
dragonlfy --> dragonfly
2023-10-26 10:50:19 +08:00
dependabot[bot] b7f47291ea
chore(deps): bump google.golang.org/grpc from 1.59.0-dev to 1.60.0-dev (#2824)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.59.0-dev to 1.60.0-dev.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.59.0-dev...v1.60.0-dev)

---
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>
2023-10-24 07:40:52 +08:00
dependabot[bot] 573a7bdcaa
chore(deps): bump gorm.io/driver/postgres from 1.5.2 to 1.5.3 (#2823)
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres) from 1.5.2 to 1.5.3.
- [Commits](https://github.com/go-gorm/postgres/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
  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-10-24 07:40:32 +08:00
dependabot[bot] a8757076d7
chore(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 (#2822)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.3.0 to 0.4.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.4.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-10-24 07:40:10 +08:00
dependabot[bot] d33662cb34
chore(deps): bump github.com/bits-and-blooms/bitset from 1.8.0 to 1.10.0 (#2821)
Bumps [github.com/bits-and-blooms/bitset](https://github.com/bits-and-blooms/bitset) from 1.8.0 to 1.10.0.
- [Release notes](https://github.com/bits-and-blooms/bitset/releases)
- [Commits](https://github.com/bits-and-blooms/bitset/compare/v1.8.0...v1.10.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>
2023-10-24 07:39:39 +08:00
Gaius d6d52c291c
chore: update console version to v1.0.18 (#2815)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-20 17:36:44 +08:00
Gaius af6f99ff99
fix: console build failed (#2814)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-20 14:51:20 +08:00
Gaius b4221d2a09
chore: update console version to v1.0.15 (#2813)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-19 20:32:10 +08:00
Gaius d710953240
feat: add sync peers log (#2812)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-18 17:25:14 +08:00
Jim Ma ccacc3ec3a
feat: proxy graceful shutdown (#2802)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-10-18 13:47:56 +08:00
Gaius 2faa8955f2
chore: update console verison to v1.0.14 (#2811)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-18 12:15:49 +08:00
Gaius 6ac6be38b6
chore: update manager console verison to v1.0.13 (#2810)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-17 14:53:34 +08:00
dependabot[bot] 3281b4e92a
chore(deps): bump gorm.io/gorm from 1.25.4 to 1.25.5 (#2809)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.4 to 1.25.5.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.25.4...v1.25.5)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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-10-17 11:39:13 +08:00
dependabot[bot] 9f1ac685af
chore(deps): bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 (#2807)
chore(deps): bump github.com/prometheus/client_golang

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.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.16.0...v1.17.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>
2023-10-17 11:38:59 +08:00
dependabot[bot] 0c7d143cb9
chore(deps): bump github.com/aws/aws-sdk-go from 1.45.6 to 1.45.25 (#2806)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.45.6 to 1.45.25.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.45.6...v1.45.25)

---
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-10-17 11:38:49 +08:00
dependabot[bot] 885d654915
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.43.0 to 0.45.0 (#2808)
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.43.0 to 0.45.0.
- [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.43.0...zpages/v0.45.0)

---
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-10-17 11:38:16 +08:00
Yong-An9 d6e426fae7
Optimized dfstore upload file performance (#2803)
Co-authored-by: Yong.An <thomas.an@icloudsky.com>
Co-authored-by: thomas <thomas@ThomasAns-MacBook-Pro.local>
2023-10-17 11:34:23 +08:00
Gaius ea5249c811
chore: add free disk space in e2e actions (#2801)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-16 15:13:55 +08:00
Gaius c6aec7a885
fix: sync peer with unknow relation (#2800)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-16 15:02:05 +08:00
Sasha Melentyev c97909ac62
chore(manager/job): cleanup and fix typo (#2799)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-10-16 10:41:59 +08:00
Sasha Melentyev e25e35a1f4
chore(manager/database): rm unused cfg (#2798)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-10-13 12:14:56 +08:00
Sasha Melentyev c02523393c
chore(manager/auth/oauth): rm unused args and struct (#2797)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-10-13 12:14:39 +08:00
dependabot[bot] ce19d05794
chore(deps): bump golang.org/x/net from 0.16.0 to 0.17.0 (#2795)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 10:45:39 +08:00
Gaius 6addfdf8f4
feat: change DownloadPeerDuration metric type to summary (#2794)
feat: change DownloadPeerDuration metric to Summary

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-11 19:25:49 +08:00
Gaius 82a5b7bf6d
feat: add content-length label to DownloadPeerDuration metric (#2792)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-11 16:26:13 +08:00
Sasha Melentyev d189e18026
chore: gofmt -w -r 'interface{} -> any' . (#2790)
Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-10-11 10:39:34 +08:00
Gaius b71cbc94cf
feat: add comment about not checking object storage close (#2789)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-11 10:38:54 +08:00
Sasha Melentyev 735a9d48a1
chore(cmd/dependency): use errors.As for check not found error (#2786) 2023-10-10 18:29:39 +08:00
Gaius 61f63e2e8f
fix: task length did not match range length (#2787)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-10 18:28:59 +08:00
Jim Ma 47c6cdd8cc
chore: optimize recursive download log (#2785)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-10-10 14:43:45 +08:00
Yong-An9 e847992c90
fixed close file twice issue when using dfstore upload large file (#2784)
Co-authored-by: Yong.An <thomas.an@icloudsky.com>
2023-10-10 11:35:09 +08:00
dependabot[bot] 1c36b273bb
chore(deps): bump go.opentelemetry.io/otel/sdk from 1.17.0 to 1.19.0 (#2782)
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.17.0 to 1.19.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.17.0...v1.19.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  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-10-10 10:45:54 +08:00
dependabot[bot] 0fb76a6bbe
chore(deps): bump github.com/onsi/gomega from 1.27.10 to 1.28.0 (#2779)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.10 to 1.28.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.27.10...v1.28.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-10-10 10:45:11 +08:00
dependabot[bot] b92045e41a
chore(deps): bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 (#2778)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.12.0...v0.13.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-10-10 10:44:30 +08:00
Gaius d275bfb302
feat: change error handle in object storage (#2777)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-10 10:43:22 +08:00
Sasha Melentyev eeea18b16e
chore(client/daemon): cleanup, and add noTLSConfig (#2783)
chore(client/daemon): cleanup, and add noTLSConfig instead nil for better readable

Signed-off-by: Sasha Melentyev <sasha@melentyev.io>
2023-10-10 10:42:53 +08:00
Gaius 2b4e378007
fix: per page count in peer api (#2775)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-09 16:30:40 +08:00
Gaius c66b95e5b3
chore: change gorm-adapter version to v3.5.0 (#2774)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-08 16:58:22 +08:00
Jim Ma 9a46d14b65
chore: update ginkgo version (#2773)
* chore: update ginkgo tool to v2.12.0

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: update ginkgo command line

Signed-off-by: Jim Ma <majinjing3@gmail.com>

---------

Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-10-08 16:22:21 +08:00
Gaius 3b55ae4300
fix: otelgrpc.UnaryClientInterceptor memory leak (#2772)
fix: calling otelgrpc.UnaryClientInterceptor repeatedly creates multiple Int64Histogram resulting in a memory leak

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-08 16:20:46 +08:00
Jim Ma 237eb9e505
chore: optimize dynconfig error log (#2771)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-10-08 15:17:40 +08:00
pbannykh c9c7100e77
fix: set download header log level debug (#2770)
Signed-off-by: bannykh <bannykh@tochka.com>
2023-10-08 10:56:34 +08:00
pbannykh 189ea6c61c
fix: add option to disable prepared statement for postgres (#2768)
* fix: add option to disable prepared statement for postgres

Signed-off-by: bannykh <bannykh@tochka.com>

* fix: add option to disable prepared statement for postgres

Signed-off-by: bannykh <bannykh@tochka.com>

---------

Signed-off-by: bannykh <bannykh@tochka.com>
2023-10-08 10:47:01 +08:00
dependabot[bot] 557efe98f0
chore(deps): bump github.com/casbin/gorm-adapter/v3 from 3.5.0 to 3.20.0 (#2766)
Bumps [github.com/casbin/gorm-adapter/v3](https://github.com/casbin/gorm-adapter) from 3.5.0 to 3.20.0.
- [Release notes](https://github.com/casbin/gorm-adapter/releases)
- [Changelog](https://github.com/casbin/gorm-adapter/blob/master/.releaserc.json)
- [Commits](https://github.com/casbin/gorm-adapter/compare/v3.5.0...v3.20.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/gorm-adapter/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-10-08 10:44:12 +08:00
dependabot[bot] 1f6de964dc
chore(deps): bump github.com/go-playground/validator/v10 from 10.15.4 to 10.15.5 (#2765)
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.4 to 10.15.5.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.4...v10.15.5)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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-10-08 10:42:03 +08:00
dependabot[bot] 309136f71a
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin from 0.43.0 to 0.45.0 (#2764)
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.43.0 to 0.45.0.
- [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.43.0...zpages/v0.45.0)

---
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-10-08 10:41:43 +08:00
dependabot[bot] 801ffdd6f7
chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.8 to 3.23.9 (#2763)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.8 to 3.23.9.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.8...v3.23.9)

---
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-10-08 10:41:17 +08:00
dependabot[bot] 6d49fbe145
chore(deps): bump github.com/huaweicloud/huaweicloud-sdk-go-obs from 3.23.4+incompatible to 3.23.9+incompatible (#2762)
chore(deps): bump github.com/huaweicloud/huaweicloud-sdk-go-obs

Bumps [github.com/huaweicloud/huaweicloud-sdk-go-obs](https://github.com/huaweicloud/huaweicloud-sdk-go-obs) from 3.23.4+incompatible to 3.23.9+incompatible.
- [Release notes](https://github.com/huaweicloud/huaweicloud-sdk-go-obs/releases)
- [Commits](https://github.com/huaweicloud/huaweicloud-sdk-go-obs/compare/v3.23.4...v3.23.9)

---
updated-dependencies:
- dependency-name: github.com/huaweicloud/huaweicloud-sdk-go-obs
  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-10-08 10:25:23 +08:00
guangwu a3f2aae26c
chore: remove refs to deprecated io/ioutil (#2754)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-09-26 10:09:57 +08:00
dependabot[bot] 6f617b7f98
chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8 (#2757)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.7 to 3.23.8.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.7...v3.23.8)

---
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-09-26 10:09:09 +08:00