Commit graph

8292 commits

Author SHA1 Message Date
guol-fnst 076595fbdd just exit in case of duplicated volume directories were loaded 2022-05-17 15:41:49 +08:00
guol-fnst 8fab39e775 rename UUID file
fix typo
move locationUUID  into DiskLocation
2022-05-17 15:41:47 +08:00
Chris Lu 36309e824d
Merge pull request #3063 from chrislusf/dependabot/github_actions/actions/dependency-review-action-39e692fa323107ef86d8fdac0067ce647f239bd7
Bump actions/dependency-review-action from 3f943b86c9a289f4e632c632695e2e0898d9d67d to 1
2022-05-16 09:35:06 -07:00
Chris Lu abe311e64e
Merge pull request #3068 from chrislusf/dependabot/go_modules/github.com/Shopify/sarama-1.33.0
Bump github.com/Shopify/sarama from 1.32.0 to 1.33.0
2022-05-16 09:33:05 -07:00
Chris Lu a045f97eea
Merge branch 'master' into dependabot/go_modules/github.com/Shopify/sarama-1.33.0 2022-05-16 09:16:15 -07:00
Chris Lu d415596be0
Merge pull request #3067 from chrislusf/dependabot/go_modules/github.com/prometheus/client_golang-1.12.2
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
2022-05-16 09:15:30 -07:00
Chris Lu 9a0cf3cf54
Merge pull request #3066 from chrislusf/dependabot/go_modules/google.golang.org/api-0.79.0
Bump google.golang.org/api from 0.78.0 to 0.79.0
2022-05-16 09:15:24 -07:00
Chris Lu f04efe710f
Merge pull request #3065 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.14
Bump github.com/aws/aws-sdk-go from 1.44.9 to 1.44.14
2022-05-16 09:15:19 -07:00
Chris Lu d3b8a82813
Merge pull request #3064 from chrislusf/dependabot/go_modules/github.com/ydb-platform/ydb-go-sdk-auth-environ-0.1.2
Bump github.com/ydb-platform/ydb-go-sdk-auth-environ from 0.1.0 to 0.1.2
2022-05-16 09:15:13 -07:00
Chris Lu f496629d3b
Merge pull request #3062 from chrislusf/dependabot/github_actions/actions/setup-go-3.1.0
Bump actions/setup-go from 3.0.0 to 3.1.0
2022-05-16 09:14:58 -07:00
dependabot[bot] 1a7e02174c
Bump github.com/Shopify/sarama from 1.32.0 to 1.33.0
Bumps [github.com/Shopify/sarama](https://github.com/Shopify/sarama) from 1.32.0 to 1.33.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.32.0...v1.33.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-05-16 15:29:57 +00:00
dependabot[bot] e085dcfb38
Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.12.2.
- [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.12.1...v1.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 15:29:49 +00:00
dependabot[bot] 397b8b20b1
Bump google.golang.org/api from 0.78.0 to 0.79.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.78.0 to 0.79.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.78.0...v0.79.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-05-16 15:29:43 +00:00
dependabot[bot] 07e7cf3171
Bump github.com/aws/aws-sdk-go from 1.44.9 to 1.44.14
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.9 to 1.44.14.
- [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.44.9...v1.44.14)

---
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-05-16 15:29:33 +00:00
dependabot[bot] f4656f677a
Bump github.com/ydb-platform/ydb-go-sdk-auth-environ from 0.1.0 to 0.1.2
Bumps [github.com/ydb-platform/ydb-go-sdk-auth-environ](https://github.com/ydb-platform/ydb-go-sdk-auth-environ) from 0.1.0 to 0.1.2.
- [Release notes](https://github.com/ydb-platform/ydb-go-sdk-auth-environ/releases)
- [Commits](https://github.com/ydb-platform/ydb-go-sdk-auth-environ/compare/v0.1.0...v0.1.2)

---
updated-dependencies:
- dependency-name: github.com/ydb-platform/ydb-go-sdk-auth-environ
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 15:29:23 +00:00
dependabot[bot] 99ffbcea7f
Bump actions/dependency-review-action
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3f943b86c9a289f4e632c632695e2e0898d9d67d to 1. This release includes the previously tagged commit.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](3f943b86c9...39e692fa32)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 15:28:53 +00:00
dependabot[bot] 70779df038
Bump actions/setup-go from 3.0.0 to 3.1.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](f6164bd8c8...fcdc43634a)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 15:28:49 +00:00
Chris Lu 72e7dcde51
Merge pull request #3060 from natmaka/master 2022-05-16 07:42:58 -07:00
Chris Lu a84f4eefc2
Merge pull request #3058 from kmlebedev/fix_collectionIsMismatch 2022-05-16 07:38:26 -07:00
Nat Makarevitch b72f0634d7
minor (typos...), done while reading around 2022-05-16 22:11:33 +08:00
guol-fnst de6aa9cce8 avoid duplicated volume directory 2022-05-16 19:33:51 +08:00
Konstantin Lebedev 44f53ceda6 fix collectionIsMismatch charset 2022-05-16 13:23:23 +05:00
Chris Lu 17c676cb86
Merge pull request #3056 from kmlebedev/avoid_del_volume
avoid delete volume replica if collection mismatch
2022-05-16 01:17:53 -07:00
Konstantin Lebedev 10d435f2c2 fix skip loop 2022-05-16 13:16:27 +05:00
Konstantin Lebedev 279053572c avoid delete volume replica if collection mismatch 2022-05-16 13:07:05 +05:00
chrislu ca85b66511 fix build 2022-05-16 00:58:11 -07:00
chrislu 9ff0d99002 3.04 2022-05-15 21:32:21 -07:00
chrislu 866fed1eab avoid grpc name conflict
fix https://github.com/chrislusf/seaweedfs/issues/3055
2022-05-15 21:31:29 -07:00
chrislu cd2d10118c 3.03 2022-05-15 18:17:07 -07:00
chrislu 271b5aed96 shell: volume.fsck add a note for -reallyDeleteFromVolume option 2022-05-15 11:07:04 -07:00
chrislu 4076d74813 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-05-15 00:43:39 -07:00
chrislu 29198720f2 s3: add grpc server to accept configuration changes 2022-05-15 00:43:37 -07:00
Chris Lu 05f16ba4d2
Merge pull request #3050 from turrisxyz/CodeQL-GitHub
chore: Enable codeql action
2022-05-14 22:33:38 -07:00
Chris Lu 6dc183824a
Merge pull request #3054 from kmlebedev/rocksdb_up_version 2022-05-14 18:44:10 -07:00
Konstantin Lebedev 59435e4a2e rocksdb up version to v7.2.2 2022-05-15 01:22:55 +05:00
Chris Lu 867ffc3f28
Merge pull request #3052 from kmlebedev/build_binary_full 2022-05-14 11:59:55 -07:00
Konstantin Lebedev 5ee51f7cbd build binaries for linux with all tags 2022-05-14 23:36:04 +05:00
Chris Lu 55b525be43
Merge pull request #3051 from kmlebedev/build_all_tags 2022-05-14 08:41:56 -07:00
Konstantin Lebedev 8f762a1a06 build release containers for all tags 2022-05-14 18:40:32 +05:00
Chris Lu ea4918394c
Merge pull request #3047 from shichanglin5/master
fix the problem of metadata and tagging loss when files are copied
2022-05-13 22:52:48 -07:00
shichanglin5 688d55488c test(s3api_object_copy_handlers_test.go): some unit tests have been added to the processMetadata & processMetadataBytes methods of s3api_object_copy_handlers.go 2022-05-14 10:40:29 +08:00
Naveen 21c95d9b29
Update codeql.yml 2022-05-13 16:30:38 -05:00
naveen 417d0a441d chore: Enable codeql action
This action runs GitHub's industry-leading semantic code analysis engine,
CodeQL, against a repository's source code to find security vulnerabilities.

https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql

https://github.com/ossf/scorecard/blob/main/docs/checks.md#sast
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-13 20:59:19 +00:00
chrislu 735038b2c1 backup do not need to use preallocation
fix https://github.com/chrislusf/seaweedfs/issues/3044
2022-05-13 13:46:52 -07:00
shichanglin5 1166dead00 fix the problem of metadata and tagging loss when files are copied
by adding processing of metadata and tagging in s3 api CopyObject (judging whether to copy or overwrite according to the directive header)
2022-05-13 19:46:20 +08:00
Chris Lu 8f103ae613
Merge pull request #3043 from kmlebedev/ydb_refactor
ydb test&refactor
2022-05-12 00:50:07 -07:00
Konstantin Lebedev d12a423aa0 refactor
add some tests

https://github.com/chrislusf/seaweedfs/pull/2996
2022-05-12 12:23:02 +05:00
Chris Lu e41b11b004
Merge pull request #3040 from kmlebedev/ydb_fix
fixes from comments
2022-05-11 10:11:16 -07:00
Konstantin Lebedev f523aed3c9 fixes from comments
https://github.com/chrislusf/seaweedfs/pull/2996
2022-05-11 21:50:09 +05:00
chrislu bff1ccc1de fix compilation 2022-05-11 00:52:15 -07:00