Commit graph

7499 commits

Author SHA1 Message Date
eddy-gfx ec53eec94f
Merge branch 'master' into a 2022-04-06 18:45:55 -05:00
chrislu 3ab2c0e5c0 avoid possible nil attributes 2022-04-06 10:11:11 -07:00
chrislu 9d44b89c21 Revert "avoid possible nil attributes"
This reverts commit 0a6703c7f7.
2022-04-06 10:01:45 -07:00
chrislu 368d8e1a81 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-04-06 09:58:50 -07:00
chrislu 0a6703c7f7 avoid possible nil attributes 2022-04-06 09:58:48 -07:00
Chris Lu fa25d5c43a
Merge pull request #2881 from chrislusf/dependabot/go_modules/go.mongodb.org/mongo-driver-1.9.0 2022-04-06 08:50:32 -07:00
Chris Lu ff2ec58897
Merge pull request #2882 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.33 2022-04-06 08:50:02 -07:00
Chris Lu 83ee4c5fe2
Merge pull request #2880 from chrislusf/dependabot/github_actions/docker/metadata-action-3.7.0 2022-04-06 08:49:28 -07:00
dependabot[bot] 72cbda3481
Bump github.com/aws/aws-sdk-go from 1.43.32 to 1.43.33
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.32 to 1.43.33.
- [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.32...v1.43.33)

---
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-06 15:46:32 +00:00
dependabot[bot] d30eafd0f3
Bump go.mongodb.org/mongo-driver from 1.8.4 to 1.9.0
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.8.4...v1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 15:46:12 +00:00
dependabot[bot] 9f9e0deafb
Bump docker/metadata-action from 3.6.2 to 3.7.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](e5622373a3...f2a13332ac)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 15:44:28 +00:00
chrislu 3d229fe45c Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-04-06 00:28:51 -07:00
chrislu 79b8e6a8c3 add a place holder for later merge consecutive chunks 2022-04-06 00:28:48 -07:00
Chris Lu 49ecb8d11c
Merge pull request #2879 from leyou240/master
remove Redundant type conversion and use strings.TrimSuffix to enhance readability
2022-04-06 00:02:19 -07:00
justin d02f13c2d1 remove Redundant type conversion and use strings.TrimSuffix to enhance readability 2022-04-06 14:58:09 +08:00
Chris Lu 7c85cb332d
Merge pull request #2878 from guol-fnst/fix_create_bucket_resp
Add "Location:" in response when creating bucket
2022-04-05 23:06:16 -07:00
root f15a737a0a Add "Location:" in response when creating bucket
according to "https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html"
2022-04-06 13:56:27 +08:00
chrislu bc888226fc erasure coding: tracking encoded/decoded volumes
If an EC shard is created but not spread to other servers, the masterclient would think this shard is not located here.
2022-04-05 19:03:02 -07:00
chrislu 8b3d76b24d prevent concurrent access during shutdown 2022-04-05 10:53:36 -07:00
chrislu bb4beebce3 prevent nil 2022-04-05 10:49:17 -07:00
Chris Lu ae5aa2bf04
Merge pull request #2875 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.32 2022-04-05 09:06:19 -07:00
dependabot[bot] 10dc72ca54
Bump github.com/aws/aws-sdk-go from 1.43.31 to 1.43.32
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.31 to 1.43.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.43.31...v1.43.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-04-05 15:57:32 +00:00
chrislu 3176bf126a update rocksdb version 2022-04-04 18:52:59 -07:00
Chris Lu 9b0d02ed39
Merge pull request #2873 from chrislusf/dependabot/go_modules/github.com/linxGnu/grocksdb-1.7.0
Bump github.com/linxGnu/grocksdb from 1.6.38 to 1.7.0
2022-04-04 18:51:23 -07:00
Chris Lu e752efc624
Merge pull request #2874 from naveensrinivasan/naveen/feat/set-perms-actions
Set permissions for GitHub actions
2022-04-04 18:43:32 -07:00
naveensrinivasan 5b352ec1d2 Set permissions for GitHub actions
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-05 01:37:14 +00:00
chrislu 6e4c94e2e1 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-04-04 14:48:02 -07:00
chrislu 4aae87f405 check missing hdd disk type 2022-04-04 14:48:00 -07:00
Chris Lu 64db9db3de
Merge pull request #2872 from chrislusf/dependabot/go_modules/gocloud.dev/pubsub/rabbitpubsub-0.25.0
Bump gocloud.dev/pubsub/rabbitpubsub from 0.24.0 to 0.25.0
2022-04-04 11:00:22 -07:00
dependabot[bot] bb02803fca
Bump github.com/linxGnu/grocksdb from 1.6.38 to 1.7.0
Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.6.38 to 1.7.0.
- [Release notes](https://github.com/linxGnu/grocksdb/releases)
- [Commits](https://github.com/linxGnu/grocksdb/compare/v1.6.38...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 16:42:16 +00:00
dependabot[bot] 4062daf416
Bump gocloud.dev/pubsub/rabbitpubsub from 0.24.0 to 0.25.0
Bumps [gocloud.dev/pubsub/rabbitpubsub](https://github.com/google/go-cloud) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 16:42:09 +00:00
Chris Lu e28a8f802f
Merge pull request #2871 from chrislusf/dependabot/go_modules/gocloud.dev/pubsub/natspubsub-0.25.0
Bump gocloud.dev/pubsub/natspubsub from 0.24.0 to 0.25.0
2022-04-04 09:41:05 -07:00
Chris Lu 19e5179159
Merge pull request #2869 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.43.31
Bump github.com/aws/aws-sdk-go from 1.43.30 to 1.43.31
2022-04-04 09:40:57 -07:00
Chris Lu e965c92c93
Merge pull request #2870 from chrislusf/dependabot/go_modules/modernc.org/sqlite-1.16.0
Bump modernc.org/sqlite from 1.15.4 to 1.16.0
2022-04-04 09:40:43 -07:00
dependabot[bot] b58187df18
Bump gocloud.dev/pubsub/natspubsub from 0.24.0 to 0.25.0
Bumps [gocloud.dev/pubsub/natspubsub](https://github.com/google/go-cloud) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.24.0...v0.25.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-04-04 15:52:10 +00:00
dependabot[bot] ca1bdb4661
Bump modernc.org/sqlite from 1.15.4 to 1.16.0
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.15.4 to 1.16.0.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.15.4...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 15:51:54 +00:00
dependabot[bot] 566ec62aec
Bump github.com/aws/aws-sdk-go from 1.43.30 to 1.43.31
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.30 to 1.43.31.
- [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.30...v1.43.31)

---
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-04 15:51:37 +00:00
chrislu d310711de0 avoid possible deadlock: move metadata log flush channel out of lock scope 2022-04-03 21:53:30 -07:00
chrislu 9eda9a6e82 Revert "Bump github.com/linxGnu/grocksdb from 1.6.38 to 1.7.0"
This reverts commit c29f79a593.
2022-04-03 20:57:30 -07:00
chrislu 77a7d7253f 2.97 2022-04-03 19:08:01 -07:00
chrislu e8d7bb42e2 avoid concurrent access to map object
fix https://github.com/chrislusf/seaweedfs/issues/2866
2022-04-03 01:08:25 -07:00
chrislu 6a2bcd03aa configure mount quota 2022-04-02 21:34:26 -07:00
chrislu 958f880b70 mount: add grpc method to adjust quota 2022-04-02 15:14:37 -07:00
chrislu a8eefda452 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-04-01 20:25:37 -07:00
chrislu 105578a2f2 skip pinging self for master and volume server 2022-04-01 20:25:35 -07:00
Chris Lu 049f8f2e2a
Merge pull request #2864 from guol-fnst/fix_response
fix error response in case of wrong expire time format
2022-04-01 20:08:53 -07:00
root b7e34016d4 fix error response in case of wrong expire time format 2022-04-02 11:01:33 +08:00
chrislu 4ecba915f3 add check between peers 2022-04-01 17:40:25 -07:00
chrislu daca2d22a5 use original server address string as map key 2022-04-01 17:34:42 -07:00
chrislu 4b5c0e3fa9 check cluster connectivities 2022-04-01 17:27:49 -07:00