Commit graph

7701 commits

Author SHA1 Message Date
leyou240 89eb87c1d1
Merge branch 'master' into slices.SortFunc 2022-04-18 10:39:29 +08:00
justin 846c56e005 enhancement: replace sort.Slice with slices.SortFunc to reduce reflection 2022-04-18 10:35:59 +08:00
justin 3551ca2fcf enhancement: replace sort.Slice with slices.SortFunc to reduce reflection 2022-04-18 10:35:43 +08:00
chrislu b597baf488 mount: set file write time correct to work well with rsync
fix https://github.com/chrislusf/seaweedfs/issues/2867
2022-04-16 22:56:45 -07:00
chrislu 460d56d283 shell: cluster.check prints out clock delta and network latency 2022-04-16 13:24:17 -07:00
chrislu fd1dc1ab25 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-04-16 12:45:51 -07:00
chrislu b4be56bb3b add timing info during ping operation 2022-04-16 12:45:49 -07:00
Chris Lu 96800ffed5
Update README.md 2022-04-15 22:26:02 -07:00
Chris Lu 7034fafb81
Update README.md 2022-04-15 22:18:58 -07:00
Chris Lu 47eb9485b8
Merge pull request #2921 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.40 2022-04-15 08:39:26 -07:00
dependabot[bot] 40ed4215f0
Bump github.com/aws/aws-sdk-go from 1.43.39 to 1.43.40
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.39 to 1.43.40.
- [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.43.39...v1.43.40)

---
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-04-15 15:38:08 +00:00
chrislu 1384529eb7 Fix filer.backup deletes files in backup folder in incremental mode
fix https://github.com/chrislusf/seaweedfs/issues/2919
2022-04-14 13:35:01 -07:00
Chris Lu 94ea10e504
Merge pull request #2918 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.39 2022-04-14 09:48:29 -07:00
Chris Lu cae53cb238
Merge pull request #2917 from chrislusf/dependabot/go_modules/github.com/hashicorp/raft-1.3.7 2022-04-14 09:48:06 -07:00
dependabot[bot] 4d881cdb61
Bump github.com/aws/aws-sdk-go from 1.43.38 to 1.43.39
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.38 to 1.43.39.
- [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.43.38...v1.43.39)

---
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-04-14 15:39:51 +00:00
dependabot[bot] 9464f3b18c
Bump github.com/hashicorp/raft from 1.3.6 to 1.3.7
Bumps [github.com/hashicorp/raft](https://github.com/hashicorp/raft) from 1.3.6 to 1.3.7.
- [Release notes](https://github.com/hashicorp/raft/releases)
- [Changelog](https://github.com/hashicorp/raft/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/raft/compare/v1.3.6...v1.3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 15:39:29 +00:00
Chris Lu 7a02fab289
Merge pull request #2910 from chrislusf/dependabot/maven/other/java/hdfs3/org.apache.hadoop-hadoop-common-3.2.3
Bump hadoop-common from 3.1.4 to 3.2.3 in /other/java/hdfs3
2022-04-13 12:22:02 -07:00
Chris Lu 6bc01e2f31
Merge pull request #2911 from chrislusf/dependabot/maven/other/java/hdfs-over-ftp/org.apache.hadoop-hadoop-common-3.2.3
Bump hadoop-common from 3.2.2 to 3.2.3 in /other/java/hdfs-over-ftp
2022-04-13 12:21:44 -07:00
Chris Lu 8ebdb0cb45
Merge pull request #2916 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.38
Bump github.com/aws/aws-sdk-go from 1.43.37 to 1.43.38
2022-04-13 12:21:27 -07:00
Chris Lu 349550f41d
Merge pull request #2915 from chrislusf/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.3
Bump go.etcd.io/etcd/client/v3 from 3.5.2 to 3.5.3
2022-04-13 12:21:06 -07:00
Chris Lu 89f633f3a9
Merge pull request #2914 from chrislusf/dependabot/go_modules/github.com/spf13/viper-1.11.0
Bump github.com/spf13/viper from 1.10.1 to 1.11.0
2022-04-13 12:20:31 -07:00
dependabot[bot] 9a21698caa
Bump github.com/aws/aws-sdk-go from 1.43.37 to 1.43.38
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.37 to 1.43.38.
- [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.43.37...v1.43.38)

---
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-04-13 15:42:51 +00:00
dependabot[bot] 4aa1fb7331
Bump go.etcd.io/etcd/client/v3 from 3.5.2 to 3.5.3
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/RELEASE.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 15:42:38 +00:00
dependabot[bot] 0af5c88a6e
Bump github.com/spf13/viper from 1.10.1 to 1.11.0
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.10.1 to 1.11.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.10.1...v1.11.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-04-13 15:42:24 +00:00
dependabot[bot] 1b1c8e4af5
Bump hadoop-common from 3.2.2 to 3.2.3 in /other/java/hdfs-over-ftp
Bumps hadoop-common from 3.2.2 to 3.2.3.

---
updated-dependencies:
- dependency-name: org.apache.hadoop:hadoop-common
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 22:01:02 +00:00
dependabot[bot] 2c0e2e11df
Bump hadoop-common from 3.1.4 to 3.2.3 in /other/java/hdfs3
Bumps hadoop-common from 3.1.4 to 3.2.3.

---
updated-dependencies:
- dependency-name: org.apache.hadoop:hadoop-common
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 22:00:58 +00:00
a 846858fb43 merge master 2022-04-12 14:42:29 -07:00
Chris Lu 42fea7e7d6
Merge pull request #2907 from chrislusf/dependabot/go_modules/cloud.google.com/go/pubsub-1.20.0
Bump cloud.google.com/go/pubsub from 1.19.0 to 1.20.0
2022-04-12 10:10:38 -07:00
Chris Lu db24ea8ad8
Merge pull request #2906 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.37
Bump github.com/aws/aws-sdk-go from 1.43.36 to 1.43.37
2022-04-12 10:07:00 -07:00
dependabot[bot] 93f257c3c1
Bump cloud.google.com/go/pubsub from 1.19.0 to 1.20.0
Bumps [cloud.google.com/go/pubsub](https://github.com/googleapis/google-cloud-go) from 1.19.0 to 1.20.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.19.0...pubsub/v1.20.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-04-12 16:54:09 +00:00
dependabot[bot] 9b40f7f3af
Bump github.com/aws/aws-sdk-go from 1.43.36 to 1.43.37
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.36 to 1.43.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.43.36...v1.43.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-04-12 16:53:49 +00:00
chrislu 1f03fcccb1 fix nil in cluster_check shell command
fix https://github.com/chrislusf/seaweedfs/issues/2905
2022-04-12 08:47:27 -07:00
Chris Lu dd13764a5c
Merge pull request #2900 from kmlebedev/fix_cleanupUploads
avoid breaking loop in cleanupUploads if error is empty
2022-04-12 02:03:31 -07:00
Konstantin Lebedev 76b1c5ce67 cleanupUploads use jwt token 2022-04-12 13:46:11 +05:00
Chris Lu 72db181d68
Merge pull request #2901 from guol-fnst/fix_multiupload
check object name and uploadID when processing  multiupload
2022-04-11 23:38:12 -07:00
guol-fnst 44d810d163 rename functions and remove uncessary check 2022-04-12 13:40:53 +08:00
guol-fnst 180aa88a92 check uploadid using object name hash string 2022-04-12 11:04:38 +08:00
Chris Lu a4a0d56fc4
Merge pull request #2904 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.36
Bump github.com/aws/aws-sdk-go from 1.43.35 to 1.43.36
2022-04-11 12:24:16 -07:00
dependabot[bot] e58d48ed38
Bump github.com/aws/aws-sdk-go from 1.43.35 to 1.43.36
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.35 to 1.43.36.
- [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.43.35...v1.43.36)

---
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-04-11 16:06:21 +00:00
guol-fnst 2232cfb5b7 Check object name and uploadID when processing multipart uploading 2022-04-11 19:53:44 +08:00
Konstantin Lebedev 2dfbe210e0 avoid breaking loop in cleanupUploads if error is empty 2022-04-11 11:16:20 +05:00
Chris Lu a87f57e47c
Merge pull request #2868 from kmlebedev/hashicorp_raft
hashicorp raft
2022-04-10 23:00:05 -07:00
Konstantin Lebedev 931cb9e581 use "cluster.raft.{ps,add,remove}" 2022-04-11 10:50:01 +05:00
Konstantin Lebedev d2fe0fae33 use the full ServerAddress as the identifier 2022-04-11 10:44:44 +05:00
chrislu c6ec5269f4 2.98 2022-04-10 18:56:40 -07:00
chrislu a9b4f0df04 default volumeSizeLimitMB to 1000
change it to 1GB, to be consistent with docker images. On k8s and docker, the initial disk spaces usually are not large enough, causing many new users asking about the "no free volume" question.
2022-04-10 13:23:55 -07:00
chrislu 261ba0208e lock-protected setting entry 2022-04-09 22:52:59 -07:00
chrislu 71e837d6f1 remove old comment 2022-04-09 09:47:20 -07:00
chrislu 50e93c3629 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-04-09 09:45:37 -07:00
chrislu bc74b57a0b reduce volume size to increase volume count 2022-04-09 09:45:33 -07:00