Commit graph

7391 commits

Author SHA1 Message Date
Konstantin Lebedev 691ed50957 use constant for ErrBucketNotEmpty 2022-03-31 08:44:48 +05:00
Konstantin Lebedev a180394f75 Merge remote-tracking branch 'origin/s3BucketNotEmpty' into s3BucketNotEmpty
# Conflicts:
#	docker/compose/local-s3tests-compose.yml
#	weed/s3api/s3api_bucket_handlers.go
2022-03-30 22:46:48 +05:00
Konstantin Lebedev b6a2b43efe allowDeleteBucketNotEmpty 2022-03-30 22:46:13 +05:00
Konstantin Lebedev a8b15c676c s3 test bucket delete nonempty 2022-03-30 21:06:26 +05:00
Chris Lu ce8ef60c59
Merge pull request #2840 from kmlebedev/fix_multi_object_delete_key_limit
fix test_s3.test_multi_object_delete_key_limit and test_multi_objectv2_delete_key_limit
2022-03-30 01:27:13 -07:00
Konstantin Lebedev 6317f6a8a9 fix Description 2022-03-30 13:04:15 +05:00
Chris Lu 8732cc24c8
Merge pull request #2849 from guo-sj/update_user
Add AWS IAM update user API and its test case
2022-03-29 22:36:26 -07:00
Chris Lu 683581c412
Merge pull request #2844 from chrislusf/dependabot/go_modules/github.com/spf13/viper-1.10.1
Bump github.com/spf13/viper from 1.4.0 to 1.10.1
2022-03-29 13:01:15 -07:00
dependabot[bot] 7701a3008c
Bump github.com/spf13/viper from 1.4.0 to 1.10.1
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.4.0 to 1.10.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](https://github.com/spf13/viper/compare/v1.4.0...v1.10.1)

---
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-03-29 19:55:33 +00:00
Chris Lu 6a286a5ea9
Merge pull request #2846 from chrislusf/dependabot/go_modules/github.com/grpc-ecosystem/go-grpc-middleware-1.3.0
Bump github.com/grpc-ecosystem/go-grpc-middleware from 1.1.0 to 1.3.0
2022-03-29 12:53:50 -07:00
Chris Lu 4db7754cd6
Merge pull request #2845 from chrislusf/dependabot/go_modules/github.com/fluent/fluent-logger-golang-1.9.0
Bump github.com/fluent/fluent-logger-golang from 1.8.0 to 1.9.0
2022-03-29 12:53:37 -07:00
Chris Lu 996231c01d
Merge pull request #2843 from chrislusf/dependabot/go_modules/github.com/prometheus/client_golang-1.12.1
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.1
2022-03-29 12:53:19 -07:00
Chris Lu 50eaf59912
Merge pull request #2842 from chrislusf/dependabot/go_modules/github.com/go-redsync/redsync/v4-4.5.0
Bump github.com/go-redsync/redsync/v4 from 4.4.1 to 4.5.0
2022-03-29 12:52:15 -07:00
Chris Lu e0e8cbc501
Merge pull request #2841 from kmlebedev/fix_multipart_upload_incorrect_etag
fix s3 tests
2022-03-29 11:54:07 -07:00
dependabot[bot] 47871f8389
Bump github.com/grpc-ecosystem/go-grpc-middleware from 1.1.0 to 1.3.0
Bumps [github.com/grpc-ecosystem/go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) from 1.1.0 to 1.3.0.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Changelog](https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.1.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/go-grpc-middleware
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 15:35:56 +00:00
dependabot[bot] 5d59f2b191
Bump github.com/fluent/fluent-logger-golang from 1.8.0 to 1.9.0
Bumps [github.com/fluent/fluent-logger-golang](https://github.com/fluent/fluent-logger-golang) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/fluent/fluent-logger-golang/releases)
- [Changelog](https://github.com/fluent/fluent-logger-golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluent/fluent-logger-golang/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/fluent/fluent-logger-golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 15:35:51 +00:00
dependabot[bot] 1ff39c0cf9
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 15:35:40 +00:00
dependabot[bot] a3c18ec82c
Bump github.com/go-redsync/redsync/v4 from 4.4.1 to 4.5.0
Bumps [github.com/go-redsync/redsync/v4](https://github.com/go-redsync/redsync) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/go-redsync/redsync/releases)
- [Commits](https://github.com/go-redsync/redsync/compare/v4.4.1...v4.5.0)

---
updated-dependencies:
- dependency-name: github.com/go-redsync/redsync/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 15:35:35 +00:00
Konstantin Lebedev 993283bb1d revert sort.Search 2022-03-29 19:53:12 +05:00
Konstantin Lebedev 5b90a39954 fix s3 tests:
multipart_upload_incorrect_etag
multipart_resend_first_finishes_last
2022-03-29 19:21:09 +05:00
Konstantin Lebedev 9231971c88 fix test_s3.test_multi_object_delete_key_limit and
test_multi_objectv2_delete_key_limit
2022-03-29 16:55:09 +05:00
guosj ed07e76f0e add test function 2022-03-29 17:21:59 +08:00
Chris Lu 51bd015179
Merge pull request #2835 from chrislusf/dependabot/go_modules/github.com/Shopify/sarama-1.32.0
Bump github.com/Shopify/sarama from 1.23.1 to 1.32.0
2022-03-28 11:49:31 -07:00
dependabot[bot] 66583e7827
Bump github.com/Shopify/sarama from 1.23.1 to 1.32.0
Bumps [github.com/Shopify/sarama](https://github.com/Shopify/sarama) from 1.23.1 to 1.32.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.23.1...v1.32.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-03-28 18:38:03 +00:00
Chris Lu b208996153
Merge pull request #2837 from chrislusf/dependabot/go_modules/github.com/klauspost/reedsolomon-1.9.16
Bump github.com/klauspost/reedsolomon from 1.9.2 to 1.9.16
2022-03-28 11:36:15 -07:00
Chris Lu 80ddd4c7c8
Merge pull request #2838 from chrislusf/dependabot/go_modules/github.com/gorilla/mux-1.8.0
Bump github.com/gorilla/mux from 1.7.4 to 1.8.0
2022-03-28 11:34:08 -07:00
dependabot[bot] 9b118c6f76
Bump github.com/klauspost/reedsolomon from 1.9.2 to 1.9.16
Bumps [github.com/klauspost/reedsolomon](https://github.com/klauspost/reedsolomon) from 1.9.2 to 1.9.16.
- [Release notes](https://github.com/klauspost/reedsolomon/releases)
- [Commits](https://github.com/klauspost/reedsolomon/compare/v1.9.2...v1.9.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 18:31:20 +00:00
Chris Lu fed9a96501
Merge pull request #2836 from chrislusf/dependabot/go_modules/github.com/OneOfOne/xxhash-1.2.8
Bump github.com/OneOfOne/xxhash from 1.2.2 to 1.2.8
2022-03-28 11:29:56 -07:00
Chris Lu 2fdf766fe5
Merge pull request #2834 from chrislusf/dependabot/go_modules/gocloud.dev/pubsub/natspubsub-0.24.0
Bump gocloud.dev/pubsub/natspubsub from 0.20.0 to 0.24.0
2022-03-28 11:28:45 -07:00
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