Commit Graph

2247 Commits

Author SHA1 Message Date
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
dependabot[bot] 38c9e20765
chore(deps): bump github.com/gin-contrib/zap from 0.1.0 to 0.2.0 (#2756)
Bumps [github.com/gin-contrib/zap](https://github.com/gin-contrib/zap) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/gin-contrib/zap/releases)
- [Changelog](https://github.com/gin-contrib/zap/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/gin-contrib/zap/compare/v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/zap
  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-09-26 10:08:47 +08:00
Gaius 80503610ab
chore: update golang version to v1.21 (#2753)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-09-25 12:01:12 +08:00
Gaius b65c1019ed
feat: update api to v2.0.29 with optional (#2751)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-09-22 14:19:16 +08:00
Jim Ma 9eb15b218d
fix: overhead gc when DiskGCThreshold not set (#2750)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-09-21 21:04:17 +08:00
Guangwen Feng 47e7880fc4
test: add unit test for GetLastModified (#2747)
Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
2023-09-21 12:08:20 +08:00
Guangwen Feng dd2c285be5
test: add unit test for Notify (#2748)
Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
2023-09-21 12:07:44 +08:00
Gaius 85fba4c372
feat: add CreatePeer to manager rest api (#2749)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-09-20 13:43:12 +08:00
dlut_xz 5289f03289
fix: snapshot network topology id (#2746)
fix snapshot network topology id

Signed-off-by: XZ <834756128@qq.com>
2023-09-19 16:07:08 +08:00
Gaius 19ad719f86
feat: convert limit in dfstore (#2745)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-09-19 11:45:23 +08:00
dependabot[bot] 73fd995dbc
chore(deps): bump github.com/go-playground/validator/v10 from 10.15.1 to 10.15.4 (#2741)
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.1 to 10.15.4.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.15.1...v10.15.4)

---
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-09-19 10:42:49 +08:00