Commit graph

8102 commits

Author SHA1 Message Date
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
chrislu 76da688176 adjust log level 2022-05-11 00:45:19 -07:00
chrislu 3e20336bde fix atomic add int64
fix https://github.com/chrislusf/seaweedfs/issues/3038#issuecomment-1123269831
2022-05-11 00:44:35 -07:00
chrislu a85720f0f6 remove deprecated function 2022-05-10 00:02:23 -07:00
chrislu 25559eeb92 Merge branch 'master' of https://github.com/chrislusf/seaweedfs 2022-05-10 00:01:46 -07:00
chrislu 791c29ae93 remove deprecated function
WithQueryCachePolicyKeepInCache is deprecated and already default behavior
2022-05-10 00:01:43 -07:00
Chris Lu 8ac959e41b
Merge pull request #3034 from chrislusf/dependabot/go_modules/github.com/ydb-platform/ydb-go-sdk/v3-3.25.0 2022-05-09 08:35:24 -07:00
dependabot[bot] 167faeb9bb
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.24.2 to 3.25.0
Bumps [github.com/ydb-platform/ydb-go-sdk/v3](https://github.com/ydb-platform/ydb-go-sdk) from 3.24.2 to 3.25.0.
- [Release notes](https://github.com/ydb-platform/ydb-go-sdk/releases)
- [Changelog](https://github.com/ydb-platform/ydb-go-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ydb-platform/ydb-go-sdk/compare/v3.24.2...v3.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:35:19 +00:00
Chris Lu ba2f80d1f8
Merge pull request #3035 from chrislusf/dependabot/go_modules/go.mongodb.org/mongo-driver-1.9.1 2022-05-09 08:34:48 -07:00
Chris Lu 4e07afb45f
Merge pull request #3031 from chrislusf/dependabot/go_modules/google.golang.org/api-0.78.0 2022-05-09 08:34:37 -07:00
dependabot[bot] 37a8049e3e
Bump google.golang.org/api from 0.77.0 to 0.78.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.77.0 to 0.78.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.77.0...v0.78.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-09 15:34:01 +00:00
Chris Lu ffa413a16f
Merge pull request #3029 from chrislusf/dependabot/go_modules/github.com/Azure/azure-storage-blob-go-0.15.0 2022-05-09 08:33:40 -07:00
Chris Lu 07b1d10f26
Merge pull request #3028 from chrislusf/dependabot/github_actions/docker/build-push-action-3 2022-05-09 08:33:26 -07:00
Chris Lu 89688d9147
Merge pull request #3027 from chrislusf/dependabot/github_actions/docker/login-action-2 2022-05-09 08:33:16 -07:00
Chris Lu ddc61a0af9
Merge pull request #3026 from chrislusf/dependabot/github_actions/docker/metadata-action-4.0.1 2022-05-09 08:33:05 -07:00
Chris Lu 108b7faef4
Merge pull request #3025 from chrislusf/dependabot/github_actions/docker/setup-qemu-action-2 2022-05-09 08:32:52 -07:00
dependabot[bot] 6e94ff8105
Bump go.mongodb.org/mongo-driver from 1.9.0 to 1.9.1
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.9.0...v1.9.1)

---
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-05-09 15:32:43 +00:00
dependabot[bot] 13bd6794e2
Bump github.com/Azure/azure-storage-blob-go from 0.14.0 to 0.15.0
Bumps [github.com/Azure/azure-storage-blob-go](https://github.com/Azure/azure-storage-blob-go) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/Azure/azure-storage-blob-go/releases)
- [Changelog](https://github.com/Azure/azure-storage-blob-go/blob/master/ChangeLog.md)
- [Commits](https://github.com/Azure/azure-storage-blob-go/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: github.com/Azure/azure-storage-blob-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:32:40 +00:00
Chris Lu f38adceb83
Merge pull request #3024 from chrislusf/dependabot/github_actions/docker/setup-buildx-action-2 2022-05-09 08:32:37 -07:00
Chris Lu 6a24f22c25
Merge pull request #3032 from chrislusf/dependabot/go_modules/cloud.google.com/go/pubsub-1.21.1 2022-05-09 08:32:02 -07:00
Chris Lu 9b04b8bd53
Merge pull request #3033 from chrislusf/dependabot/go_modules/github.com/aws/aws-sdk-go-1.44.9 2022-05-09 08:31:37 -07:00
Chris Lu 7f30706fd3
Merge pull request #3030 from chrislusf/dependabot/go_modules/modernc.org/sqlite-1.17.2 2022-05-09 08:31:21 -07:00
dependabot[bot] 51150227a0
Bump github.com/aws/aws-sdk-go from 1.43.45 to 1.44.9
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.45 to 1.44.9.
- [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.45...v1.44.9)

---
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-05-09 15:24:16 +00:00
dependabot[bot] 008dc19cbd
Bump cloud.google.com/go/pubsub from 1.21.0 to 1.21.1
Bumps [cloud.google.com/go/pubsub](https://github.com/googleapis/google-cloud-go) from 1.21.0 to 1.21.1.
- [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.21.0...pubsub/v1.21.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/pubsub
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:24:06 +00:00
dependabot[bot] dfb8141665
Bump modernc.org/sqlite from 1.17.0 to 1.17.2
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) from 1.17.0 to 1.17.2.
- [Release notes](https://gitlab.com/cznic/sqlite/tags)
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.17.0...v1.17.2)

---
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-05-09 15:23:43 +00:00
dependabot[bot] 82fb8f9333
Bump docker/build-push-action from 2.10.0 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.10.0 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](ac9327eae2...e551b19e49)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:22:43 +00:00
dependabot[bot] 3a21196fc3
Bump docker/login-action from 1.14.1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.14.1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](dd4fa0671b...49ed152c8e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:22:39 +00:00
dependabot[bot] 607ba90f62
Bump docker/metadata-action from 3.8.0 to 4.0.1
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.8.0 to 4.0.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](b2391d37b4...69f6fc9d46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:22:35 +00:00
dependabot[bot] 4093459630
Bump docker/setup-qemu-action from 1.2.0 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.2.0 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](27d0a4f181...8b122486ce)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:22:29 +00:00
dependabot[bot] a50828d8f8
Bump docker/setup-buildx-action from 1.7.0 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.7.0 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](f211e3e9de...dc7b9719a9)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 15:22:26 +00:00
Chris Lu 5082ed7176
Merge pull request #3022 from carlos19960601/fix-typo
fix typo
2022-05-08 23:52:29 -07:00
qiang.zeng 06cb337b82 fix typo 2022-05-09 14:21:16 +08:00
chrislu a4ca3ed1f0 3.02 2022-05-08 22:28:32 -07:00
Chris Lu a3a718284b
Merge pull request #3020 from joy717/fix-filer-helm-value
fix filer helm pvc configuration
2022-05-07 00:16:20 -07:00
vincent da2fe78ac2 fix filer helm pvc configuration 2022-05-07 14:47:13 +08:00
chrislu 8bc16f1149 rename 2022-05-06 23:38:22 -07:00
chrislu bbd3c586f6 docker compose: use ip.bind=0.0.0.0 2022-05-06 22:58:46 -07:00
chrislu 139e039c44 filer.sync: pass attributes for mount
fix https://github.com/chrislusf/seaweedfs/issues/3012
2022-05-06 03:54:12 -07:00
chrislu 22fbce8fd5 add docker compose file to sync 2 mounts 2022-05-06 03:53:36 -07:00
chrislu 10207a48a4 how to setup local test env 2022-05-06 02:25:56 -07:00