Commit graph

7350 commits

Author SHA1 Message Date
Chris Lu 0edbc87857
Merge pull request #2827 from leyou240/master
fix: encode small chunk return error maybe have some bug.
2022-03-27 22:26:12 -07:00
justin d51a724101 fix: encode small chunk return error maybe have some bug. 2022-03-28 13:11:24 +08:00
chrislu 0490ee87ef 2.96 2022-03-27 16:11:17 -07:00
chrislu 86d4c52d6e Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-03-26 13:33:20 -07:00
chrislu 21e0898631 refactor: change masters from a slice to a map 2022-03-26 13:33:17 -07:00
chrislu 4ba7127ab1 refactor 2022-03-26 13:13:19 -07:00
Chris Lu 3153c836a7
Merge pull request #2744 from kmlebedev/issues_2545
avoid connect to the old filler address
2022-03-26 13:02:49 -07:00
chrislu cae998eda1 Revert "Revert "remove duplicated metadata subscription in filer""
This reverts commit 34b743c481.
2022-03-26 13:00:16 -07:00
chrislu 34b743c481 Revert "remove duplicated metadata subscription in filer"
This reverts commit 34742be029.

Related to https://github.com/chrislusf/seaweedfs/issues/2545
2022-03-26 12:33:45 -07:00
chrislu fba1cfc2d6 simplify a bit 2022-03-26 10:24:05 -07:00
chrislu a3411dd9da refactor 2022-03-26 10:21:26 -07:00
Chris Lu 1b27f96669
Merge pull request #2814 from kmlebedev/fix_remove_deleted_peers
Fix remove deleted peers
2022-03-25 11:36:15 -07:00
Chris Lu aa24af77aa
Merge pull request #2821 from chrislusf/dependabot/go_modules/github.com/jinzhu/copier-0.3.5
Bump github.com/jinzhu/copier from 0.2.8 to 0.3.5
2022-03-25 11:32:07 -07:00
Chris Lu 33c07e8fb0
Merge pull request #2820 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.25 2022-03-25 09:13:46 -07:00
dependabot[bot] 4cc0440009
Bump github.com/jinzhu/copier from 0.2.8 to 0.3.5
Bumps [github.com/jinzhu/copier](https://github.com/jinzhu/copier) from 0.2.8 to 0.3.5.
- [Release notes](https://github.com/jinzhu/copier/releases)
- [Commits](https://github.com/jinzhu/copier/compare/v0.2.8...v0.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:53:55 +00:00
Chris Lu 868ebbd9b0
Merge pull request #2819 from chrislusf/dependabot/go_modules/github.com/tidwall/gjson-1.14.0 2022-03-25 08:52:25 -07:00
Chris Lu 763f354cdf
Merge pull request #2818 from chrislusf/dependabot/go_modules/github.com/karlseguin/ccache/v2-2.0.8 2022-03-25 08:51:39 -07:00
Chris Lu 423fbf3b08
Merge pull request #2817 from chrislusf/dependabot/go_modules/github.com/chrislusf/raft-1.0.8 2022-03-25 08:51:01 -07:00
dependabot[bot] 44a0ebdf37
Bump github.com/aws/aws-sdk-go from 1.40.34 to 1.43.25
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.34 to 1.43.25.
- [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.40.34...v1.43.25)

---
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>
2022-03-25 15:32:11 +00:00
dependabot[bot] 1d93ce4aa9
Bump github.com/tidwall/gjson from 1.10.2 to 1.14.0
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.10.2 to 1.14.0.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.10.2...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:31:59 +00:00
dependabot[bot] 843790d8a0
Bump github.com/karlseguin/ccache/v2 from 2.0.7 to 2.0.8
Bumps [github.com/karlseguin/ccache/v2](https://github.com/karlseguin/ccache) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/karlseguin/ccache/releases)
- [Commits](https://github.com/karlseguin/ccache/compare/v2.0.7...v2.0.8)

---
updated-dependencies:
- dependency-name: github.com/karlseguin/ccache/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:31:53 +00:00
dependabot[bot] 30d985c4f7
Bump github.com/chrislusf/raft from 1.0.7 to 1.0.8
Bumps [github.com/chrislusf/raft](https://github.com/chrislusf/raft) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/chrislusf/raft/releases)
- [Commits](https://github.com/chrislusf/raft/compare/v1.0.7...v1.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-25 15:31:44 +00:00
Konstantin Lebedev ddd3945c26 fix remove deleted peers of raft server
https://github.com/chrislusf/seaweedfs/issues/2804
2022-03-25 15:09:38 +05:00
Konstantin Lebedev c1450bf9fe always clear previous log to avoid server is promotable
https://github.com/chrislusf/seaweedfs/issues/2804
2022-03-25 13:40:19 +05:00
Chris Lu 89d84e275b
Merge pull request #2759 from kmlebedev/skip_wait_cancelled_request
Need to exit waiting if request is was canceled
2022-03-24 12:21:44 -07:00
Chris Lu b0a6f6ab39
Merge pull request #2810 from chrislusf/dependabot/go_modules/github.com/seaweedfs/goexif-2.0.0incompatible
Bump github.com/seaweedfs/goexif from 1.0.2 to 2.0.0+incompatible
2022-03-24 11:57:32 -07:00
Chris Lu 3de184e37f
Merge pull request #2809 from chrislusf/dependabot/go_modules/go.mongodb.org/mongo-driver-1.8.4
Bump go.mongodb.org/mongo-driver from 1.8.0 to 1.8.4
2022-03-24 11:56:30 -07:00
Chris Lu 04a3fd0460
Merge pull request #2808 from chrislusf/dependabot/go_modules/github.com/colinmarc/hdfs/v2-2.3.0
Bump github.com/colinmarc/hdfs/v2 from 2.2.0 to 2.3.0
2022-03-24 11:56:09 -07:00
Chris Lu b0d7e7c9a4
Merge pull request #2807 from chrislusf/dependabot/go_modules/modernc.org/sqlite-1.15.3
Bump modernc.org/sqlite from 1.15.2 to 1.15.3
2022-03-24 11:55:20 -07:00
Chris Lu 2fdfff667a
Merge pull request #2806 from chrislusf/dependabot/go_modules/github.com/golang-jwt/jwt-3.2.2incompatible
Bump github.com/golang-jwt/jwt from 3.2.1+incompatible to 3.2.2+incompatible
2022-03-24 11:54:46 -07:00
dependabot[bot] 44c840f498
Bump github.com/seaweedfs/goexif from 1.0.2 to 2.0.0+incompatible
Bumps [github.com/seaweedfs/goexif](https://github.com/seaweedfs/goexif) from 1.0.2 to 2.0.0+incompatible.
- [Release notes](https://github.com/seaweedfs/goexif/releases)
- [Commits](https://github.com/seaweedfs/goexif/commits)

---
updated-dependencies:
- dependency-name: github.com/seaweedfs/goexif
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:42:41 +00:00
dependabot[bot] 0bf8ba0047
Bump go.mongodb.org/mongo-driver from 1.8.0 to 1.8.4
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.8.0 to 1.8.4.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.8.0...v1.8.4)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:42:35 +00:00
dependabot[bot] 111149f956
Bump github.com/colinmarc/hdfs/v2 from 2.2.0 to 2.3.0
Bumps [github.com/colinmarc/hdfs/v2](https://github.com/colinmarc/hdfs) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/colinmarc/hdfs/releases)
- [Commits](https://github.com/colinmarc/hdfs/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: github.com/colinmarc/hdfs/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:42:28 +00:00
dependabot[bot] b4fc1ff223
Bump modernc.org/sqlite from 1.15.2 to 1.15.3
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.15.2 to 1.15.3.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.15.2...v1.15.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:42:21 +00:00
dependabot[bot] de06d63b80
Bump github.com/golang-jwt/jwt
Bumps [github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt) from 3.2.1+incompatible to 3.2.2+incompatible.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v3.2.1...v3.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 15:42:07 +00:00
Chris Lu ae40a9cb28
Merge pull request #2803 from kmlebedev/hotfix/2802 2022-03-24 07:01:13 -07:00
Konstantin Lebedev 0b790d2bbf exclude the replication from the concurrentUploadLimitMB 2022-03-24 13:54:42 +05:00
chrislu 9b04f17555 remove dead code 2022-03-23 23:18:32 -07:00
chrislu 0b5faef612 fix 2022-03-23 23:16:54 -07:00
chrislu 0562fceb99 volume: fail fast if too many concurrent requests, to avoid dead lock due to replication.
fix https://github.com/chrislusf/seaweedfs/issues/2755
2022-03-23 22:53:58 -07:00
chrislu 8b983729ca Update go.mod 2022-03-23 13:52:28 -07:00
Chris Lu 23cc039c9b
Merge pull request #2796 from chrislusf/dependabot/go_modules/cloud.google.com/go/pubsub-1.19.0
Bump cloud.google.com/go/pubsub from 1.16.0 to 1.19.0
2022-03-23 13:39:26 -07:00
dependabot[bot] d4f20af739
Bump cloud.google.com/go/pubsub from 1.16.0 to 1.19.0
Bumps [cloud.google.com/go/pubsub](https://github.com/googleapis/google-cloud-go) from 1.16.0 to 1.19.0.
- [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.16.0...pubsub/v1.19.0)

---
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-03-23 20:34:23 +00:00
Chris Lu 46f2849890
Merge pull request #2799 from chrislusf/dependabot/go_modules/google.golang.org/api-0.73.0
Bump google.golang.org/api from 0.57.0 to 0.73.0
2022-03-23 13:31:17 -07:00
dependabot[bot] f697dec43d
Bump google.golang.org/api from 0.57.0 to 0.73.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.57.0 to 0.73.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.57.0...v0.73.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-03-23 20:17:02 +00:00
Chris Lu db62759ca5
Merge pull request #2798 from chrislusf/dependabot/go_modules/cloud.google.com/go/storage-1.21.0
Bump cloud.google.com/go/storage from 1.16.1 to 1.21.0
2022-03-23 13:15:43 -07:00
Chris Lu d540cec1dd
Merge pull request #2800 from chrislusf/dependabot/go_modules/github.com/lib/pq-1.10.4
Bump github.com/lib/pq from 1.10.2 to 1.10.4
2022-03-23 13:14:15 -07:00
dependabot[bot] 94cfb86016
Bump cloud.google.com/go/storage from 1.16.1 to 1.21.0
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go) from 1.16.1 to 1.21.0.
- [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/storage/v1.16.1...spanner/v1.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 19:29:33 +00:00
dependabot[bot] 1d1ac14ac0
Bump github.com/lib/pq from 1.10.2 to 1.10.4
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.2 to 1.10.4.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.2...v1.10.4)

---
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-03-23 19:29:16 +00:00
Chris Lu b807b64e58
Merge pull request #2797 from chrislusf/dependabot/go_modules/github.com/fclairamb/ftpserverlib-0.17.0
Bump github.com/fclairamb/ftpserverlib from 0.8.0 to 0.17.0
2022-03-23 12:25:59 -07:00