Commit Graph

349 Commits

Author SHA1 Message Date
chrislu
46ae28d64c upgrade github.com/chrislusf/raft
fix https://github.com/chrislusf/seaweedfs/issues/3223
2022-06-23 12:10:23 -07:00
chrislu
bf5a5abfb1 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-06-20 13:18:11 -07:00
chrislu
36931babf9 update go-fuse to latest version 2022-06-20 13:15:20 -07:00
Chris Lu
0d22877df9
Merge pull request #3209 from chrislusf/dependabot/go_modules/github.com/google/btree-1.1.2
Bump github.com/google/btree from 1.0.1 to 1.1.2
2022-06-20 10:40:00 -07:00
Chris Lu
758df5ade6
Merge pull request #3208 from chrislusf/dependabot/go_modules/github.com/stretchr/testify-1.7.3
Bump github.com/stretchr/testify from 1.7.2 to 1.7.3
2022-06-20 10:39:53 -07:00
Chris Lu
497ac1da27
Merge pull request #3207 from chrislusf/dependabot/go_modules/github.com/ydb-platform/ydb-go-sdk/v3-3.27.0
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.26.10 to 3.27.0
2022-06-20 10:39:45 -07:00
Chris Lu
a608d71523
Merge pull request #3206 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.37
Bump github.com/aws/aws-sdk-go from 1.44.32 to 1.44.37
2022-06-20 10:39:39 -07:00
dependabot[bot]
50d564216b
Bump github.com/google/btree from 1.0.1 to 1.1.2
Bumps [github.com/google/btree](https://github.com/google/btree) from 1.0.1 to 1.1.2.
- [Release notes](https://github.com/google/btree/releases)
- [Commits](https://github.com/google/btree/compare/v1.0.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/google/btree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:24:50 +00:00
dependabot[bot]
43f5df522f
Bump github.com/stretchr/testify from 1.7.2 to 1.7.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:24:44 +00:00
dependabot[bot]
ddd261845b
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.26.10 to 3.27.0
Bumps [github.com/ydb-platform/ydb-go-sdk/v3](https://github.com/ydb-platform/ydb-go-sdk) from 3.26.10 to 3.27.0.
- [Release notes](https://github.com/ydb-platform/ydb-go-sdk/releases)
- [Changelog](https://github.com/ydb-platform/ydb-go-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ydb-platform/ydb-go-sdk/compare/v3.26.10...v3.27.0)

---
updated-dependencies:
- dependency-name: github.com/ydb-platform/ydb-go-sdk/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:24:40 +00:00
dependabot[bot]
f800404516
Bump github.com/aws/aws-sdk-go from 1.44.32 to 1.44.37
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.32 to 1.44.37.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.32...v1.44.37)

---
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>
2022-06-20 15:24:27 +00:00
dependabot[bot]
ff05008083
Bump cloud.google.com/go/pubsub from 1.21.1 to 1.22.2
Bumps [cloud.google.com/go/pubsub](https://github.com/googleapis/google-cloud-go) from 1.21.1 to 1.22.2.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.21.1...pubsub/v1.22.2)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/pubsub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:24:14 +00:00
石昌林
bd63b305dd update go.sum
go.mod has been changed but go.sum has not been updated accordingly, causing the program to fail to start:
../../pkg/mod/google.golang.org/api@v0.83.0/option/option.go:12:2: missing go.sum entry for module providing package golang.org/x/oauth2 (imported by google.golang.org/api/option); to add:
	go get google.golang.org/api/option@v0.83.0
../../pkg/mod/google.golang.org/api@v0.83.0/option/option.go:13:2: missing go.sum entry for module providing package golang.org/x/oauth2/google (imported by cloud.google.com/go/storage); to add:
	go get cloud.google.com/go/storage@v1.22.1
../../pkg/mod/github.com/chrislusf/raft@v1.0.8/protobuf/seaweed_raft.pb.go:12:2: missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/chrislusf/seaweedfs/weed/command); to add:
	go get github.com/chrislusf/seaweedfs/weed/command
2022-06-20 14:35:04 +08:00
LHHDZ
8db9f13bc6
Merge branch 'master' into circuit_breaker 2022-06-20 13:42:18 +08:00
石昌林
9e036df356 remove go.uber.org/atomic 2022-06-20 12:35:29 +08:00
石昌林
78b3728169 add s3 circuit breaker support for 'simultaneous request count' and 'simultaneous request bytes' limitations
configure s3 circuit breaker by 'command_s3_circuitbreaker.go':
usage eg:
# Configure the number of simultaneous global (current s3api node) requests
s3.circuit.breaker -global -type count -actions Write -values 1000 -apply

# Configure the number of simultaneous requests for bucket x read and write
s3.circuit.breaker -buckets -type count -actions Read,Write -values 1000 -apply

# Configure the total bytes of simultaneous requests for bucket write
s3.circuit.breaker -buckets -type bytes -actions Write -values 100MiB -apply

# Disable circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -enable false -apply

# Delete circuit breaker config of bucket 'x'
s3.circuit.breaker -buckets x -delete -apply
2022-06-15 21:07:55 +08:00
Chris Lu
9bdd7e8725
Merge branch 'master' into dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.32 2022-06-13 10:11:44 -07:00
Chris Lu
c1ab14ec8b
Merge pull request #3173 from chrislusf/dependabot/go_modules/github.com/Shopify/sarama-1.34.1
Bump github.com/Shopify/sarama from 1.34.0 to 1.34.1
2022-06-13 10:10:51 -07:00
Chris Lu
ef8b803e33
Merge pull request #3171 from chrislusf/dependabot/go_modules/github.com/ydb-platform/ydb-go-sdk/v3-3.26.10
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.25.3 to 3.26.10
2022-06-13 10:10:45 -07:00
Chris Lu
101f2da3cc
Merge branch 'master' into dependabot/go_modules/google.golang.org/api-0.83.0 2022-06-13 10:09:38 -07:00
dependabot[bot]
1d7c0e65a0
Bump github.com/aws/aws-sdk-go from 1.44.14 to 1.44.32
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.14 to 1.44.32.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.14...v1.44.32)

---
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>
2022-06-13 15:20:23 +00:00
dependabot[bot]
ba16477cef
Bump github.com/Shopify/sarama from 1.34.0 to 1.34.1
Bumps [github.com/Shopify/sarama](https://github.com/Shopify/sarama) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/Shopify/sarama/releases)
- [Changelog](https://github.com/Shopify/sarama/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/sarama/compare/v1.34.0...v1.34.1)

---
updated-dependencies:
- dependency-name: github.com/Shopify/sarama
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:20:11 +00:00
dependabot[bot]
a647057969
Bump github.com/linxGnu/grocksdb from 1.7.2 to 1.7.3
Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:20:05 +00:00
dependabot[bot]
d4156e4f26
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.25.3 to 3.26.10
Bumps [github.com/ydb-platform/ydb-go-sdk/v3](https://github.com/ydb-platform/ydb-go-sdk) from 3.25.3 to 3.26.10.
- [Release notes](https://github.com/ydb-platform/ydb-go-sdk/releases)
- [Changelog](https://github.com/ydb-platform/ydb-go-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ydb-platform/ydb-go-sdk/compare/v3.25.3...v3.26.10)

---
updated-dependencies:
- dependency-name: github.com/ydb-platform/ydb-go-sdk/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:20:00 +00:00
dependabot[bot]
2da2ff00a3
Bump google.golang.org/api from 0.82.0 to 0.83.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.82.0 to 0.83.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.82.0...v0.83.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>
2022-06-13 15:19:43 +00:00
Chris Lu
666e620b63
Merge pull request #3144 from chrislusf/dependabot/go_modules/google.golang.org/api-0.82.0
Bump google.golang.org/api from 0.81.0 to 0.82.0
2022-06-06 11:15:08 -07:00
Chris Lu
f37fd2f883
Merge branch 'master' into dependabot/go_modules/google.golang.org/api-0.82.0 2022-06-06 10:43:02 -07:00
Chris Lu
fba6a19d0b
Merge branch 'master' into dependabot/go_modules/github.com/stretchr/testify-1.7.2 2022-06-06 10:41:32 -07:00
Chris Lu
a99536d523
Merge pull request #3143 from chrislusf/dependabot/go_modules/github.com/google/btree-1.1.1
Bump github.com/google/btree from 1.0.1 to 1.1.1
2022-06-06 10:39:33 -07:00
Chris Lu
ae3a1c0235
Merge pull request #3146 from chrislusf/dependabot/go_modules/github.com/linxGnu/grocksdb-1.7.2
Bump github.com/linxGnu/grocksdb from 1.7.1 to 1.7.2
2022-06-06 10:39:15 -07:00
dependabot[bot]
af18bf3a3a
Bump google.golang.org/grpc from 1.46.2 to 1.47.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.2 to 1.47.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.2...v1.47.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>
2022-06-06 17:14:00 +00:00
dependabot[bot]
f71cd52e2b
Bump github.com/linxGnu/grocksdb from 1.7.1 to 1.7.2
Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/linxGnu/grocksdb
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 17:12:50 +00:00
dependabot[bot]
5506986bb5
Bump google.golang.org/api from 0.81.0 to 0.82.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.81.0 to 0.82.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.81.0...v0.82.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>
2022-06-06 17:11:57 +00:00
dependabot[bot]
05c5230689
Bump github.com/google/btree from 1.0.1 to 1.1.1
Bumps [github.com/google/btree](https://github.com/google/btree) from 1.0.1 to 1.1.1.
- [Release notes](https://github.com/google/btree/releases)
- [Commits](https://github.com/google/btree/compare/v1.0.1...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/google/btree
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 17:11:55 +00:00
dependabot[bot]
bcb83a03be
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 17:11:51 +00:00
Chris Lu
ebf9a1e1d8
Merge branch 'master' into dependabot/go_modules/github.com/spf13/viper-1.12.0 2022-05-30 12:39:18 -07:00
Chris Lu
5d5d04e090
Merge pull request #3119 from chrislusf/dependabot/go_modules/modernc.org/strutil-1.1.2 2022-05-30 08:44:55 -07:00
Chris Lu
b15787d1b3
Merge pull request #3120 from chrislusf/dependabot/go_modules/google.golang.org/api-0.81.0 2022-05-30 08:44:42 -07:00
dependabot[bot]
633166fe50
Bump github.com/Shopify/sarama from 1.33.0 to 1.34.0
Bumps [github.com/Shopify/sarama](https://github.com/Shopify/sarama) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/Shopify/sarama/releases)
- [Changelog](https://github.com/Shopify/sarama/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/sarama/compare/v1.33.0...v1.34.0)

---
updated-dependencies:
- dependency-name: github.com/Shopify/sarama
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:21:32 +00:00
dependabot[bot]
751e4e9cd9
Bump google.golang.org/api from 0.80.0 to 0.81.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.80.0 to 0.81.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.80.0...v0.81.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>
2022-05-30 15:21:18 +00:00
dependabot[bot]
64f381b3b2
Bump modernc.org/strutil from 1.1.1 to 1.1.2
Bumps [modernc.org/strutil](https://gitlab.com/cznic/strutil) from 1.1.1 to 1.1.2.
- [Release notes](https://gitlab.com/cznic/strutil/tags)
- [Commits](https://gitlab.com/cznic/strutil/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: modernc.org/strutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:21:07 +00:00
dependabot[bot]
d73c335c31
Bump github.com/spf13/viper from 1.11.0 to 1.12.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 15:20:44 +00:00
Chris Lu
1386aa020e
Merge pull request #3091 from chrislusf/dependabot/go_modules/google.golang.org/api-0.80.0
Bump google.golang.org/api from 0.79.0 to 0.80.0
2022-05-23 11:10:02 -07:00
Chris Lu
c9e1f3c565
Merge pull request #3092 from chrislusf/dependabot/go_modules/github.com/lib/pq-1.10.6
Bump github.com/lib/pq from 1.10.5 to 1.10.6
2022-05-23 11:09:37 -07:00
Chris Lu
730011ad3c
Merge pull request #3093 from chrislusf/dependabot/go_modules/cloud.google.com/go/storage-1.22.1
Bump cloud.google.com/go/storage from 1.22.0 to 1.22.1
2022-05-23 11:09:27 -07:00
dependabot[bot]
84583fe095
Bump github.com/arangodb/go-driver from 1.3.1 to 1.3.2
Bumps [github.com/arangodb/go-driver](https://github.com/arangodb/go-driver) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/arangodb/go-driver/releases)
- [Changelog](https://github.com/arangodb/go-driver/blob/master/CHANGELOG.md)
- [Commits](https://github.com/arangodb/go-driver/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/arangodb/go-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:20:44 +00:00
dependabot[bot]
efbf5ac900
Bump cloud.google.com/go/storage from 1.22.0 to 1.22.1
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.22.0 to 1.22.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.22.0...storage/v1.22.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:20:30 +00:00
dependabot[bot]
568855adad
Bump github.com/lib/pq from 1.10.5 to 1.10.6
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.5...v1.10.6)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 15:20:09 +00:00
dependabot[bot]
45a5629f84
Bump google.golang.org/api from 0.79.0 to 0.80.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.79.0 to 0.80.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.79.0...v0.80.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>
2022-05-23 15:19:59 +00:00
Chris Lu
a045f97eea
Merge branch 'master' into dependabot/go_modules/github.com/Shopify/sarama-1.33.0 2022-05-16 09:16:15 -07:00