Commit graph

7412 commits

Author SHA1 Message Date
Chris Lu f65c055c44
Merge pull request #2831 from kmlebedev/fix_mkdir_snapshot 2022-03-28 09:53:33 -07:00
dependabot[bot] cfb5440b04
Bump github.com/gorilla/mux from 1.7.4 to 1.8.0
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 15:37:56 +00:00
dependabot[bot] d525a57bf3
Bump github.com/OneOfOne/xxhash from 1.2.2 to 1.2.8
Bumps [github.com/OneOfOne/xxhash](https://github.com/OneOfOne/xxhash) from 1.2.2 to 1.2.8.
- [Release notes](https://github.com/OneOfOne/xxhash/releases)
- [Commits](https://github.com/OneOfOne/xxhash/compare/v1.2.2...v1.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 15:37:48 +00:00
dependabot[bot] 3af8ac8f1e
Bump gocloud.dev/pubsub/natspubsub from 0.20.0 to 0.24.0
Bumps [gocloud.dev/pubsub/natspubsub](https://github.com/google/go-cloud) from 0.20.0 to 0.24.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.20.0...v0.24.0)

---
updated-dependencies:
- dependency-name: gocloud.dev/pubsub/natspubsub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 15:37:36 +00:00
Konstantin Lebedev 84b7b83517 fix permission mkdir snapshot
avoid open file operation not permitted
2022-03-28 18:41:52 +05:00
Chris Lu 93615b2a49
Merge pull request #2828 from guo-sj/fix-tagging-error
Fix delete all "Seaweed-" prefixed tagging error
2022-03-28 00:35:22 -07:00
guosj dd2b9d93cc update code according to PR's comment 2022-03-28 15:23:31 +08:00
guosj 21636c98a5 remove todo list 2022-03-28 14:53:54 +08:00
guosj 02076f01a6 fix tagging error 2022-03-28 14:50:48 +08:00
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
guosj db027ed9c0 add todo list 2022-03-26 11:34:50 +08: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