Commit graph

9562 commits

Author SHA1 Message Date
Nikita Mochalov e6a49dc533
Fix resource leaks (#4737)
* Fix division by zero

* Fix file handle leak

* Fix file handle leak

* Fix file handle leak

* Fix goroutine leak
2023-08-09 15:30:36 -07:00
chrislu 3365468d0d added an error message 2023-08-08 20:35:21 -07:00
dependabot[bot] cc065b8bf3
Bump gocloud.dev/pubsub/rabbitpubsub from 0.30.0 to 0.33.0 (#4731)
Bumps [gocloud.dev/pubsub/rabbitpubsub](https://github.com/google/go-cloud) from 0.30.0 to 0.33.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.30.0...v0.33.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 10:32:27 -07:00
dependabot[bot] 59fa612478
Bump github.com/aws/aws-sdk-go-v2 from 1.19.1 to 1.20.0 (#4733)
Bumps [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.19.1...v1.20.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 10:22:44 -07:00
dependabot[bot] 862c3377f0
Bump go.mongodb.org/mongo-driver from 1.12.0 to 1.12.1 (#4735)
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.12.0...v1.12.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 10:22:29 -07:00
dependabot[bot] b52801b261
Bump golang.org/x/image from 0.9.0 to 0.11.0 (#4732)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.9.0 to 0.11.0.
- [Commits](https://github.com/golang/image/compare/v0.9.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 10:22:15 -07:00
wusong 3ec977cd6c
minor (#4723) 2023-08-01 02:34:59 -07:00
dependabot[bot] a80ea93efc
Bump gocloud.dev/pubsub/natspubsub from 0.30.0 to 0.32.0 (#4722)
Bumps [gocloud.dev/pubsub/natspubsub](https://github.com/google/go-cloud) from 0.30.0 to 0.32.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.30.0...v0.32.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 10:41:34 -07:00
dependabot[bot] e544ddb02c
Bump google.golang.org/api from 0.133.0 to 0.134.0 (#4721)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.133.0 to 0.134.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.133.0...v0.134.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 10:41:21 -07:00
dependabot[bot] 7af9f64807
Bump github.com/rclone/rclone from 1.63.0 to 1.63.1 (#4720)
Bumps [github.com/rclone/rclone](https://github.com/rclone/rclone) from 1.63.0 to 1.63.1.
- [Release notes](https://github.com/rclone/rclone/releases)
- [Changelog](https://github.com/rclone/rclone/blob/master/RELEASE.md)
- [Commits](https://github.com/rclone/rclone/compare/v1.63.0...v1.63.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 10:41:10 -07:00
dependabot[bot] 6b9e749d4f
Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.27 to 1.13.29 (#4719)
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) from 1.13.27 to 1.13.29.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.13.27...credentials/v1.13.29)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 10:40:56 -07:00
dependabot[bot] 4e3cfe995c
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.48.7 to 3.48.8 (#4718)
Bumps [github.com/ydb-platform/ydb-go-sdk/v3](https://github.com/ydb-platform/ydb-go-sdk) from 3.48.7 to 3.48.8.
- [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.48.7...v3.48.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 10:40:26 -07:00
chrislu c09100f928 fix building mongo index 2023-07-24 11:09:51 -07:00
dependabot[bot] a69be6fd3e
Bump google.golang.org/api from 0.132.0 to 0.133.0 (#4706)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.132.0 to 0.133.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.132.0...v0.133.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 11:07:57 -07:00
dependabot[bot] 6e2e69a5e7
Bump go.mongodb.org/mongo-driver from 1.11.6 to 1.12.0 (#4702)
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.11.6 to 1.12.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.11.6...v1.12.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 10:54:48 -07:00
dependabot[bot] a00f4eb1de
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.48.5 to 3.48.7 (#4704)
Bumps [github.com/ydb-platform/ydb-go-sdk/v3](https://github.com/ydb-platform/ydb-go-sdk) from 3.48.5 to 3.48.7.
- [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.48.5...v3.48.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 10:52:28 -07:00
dependabot[bot] 077c7dc896
Bump gocloud.dev from 0.30.0 to 0.32.0 (#4701)
Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.30.0 to 0.32.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.30.0...v0.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 10:52:10 -07:00
chrislu 7eafa3420b 3.55 2023-07-23 23:11:37 -07:00
SmoothDenis 51bcc219ea
s3api should return 500 code from filer (#4699) 2023-07-22 07:22:38 -07:00
Armand LEOPOLD 7ab8c6976e
Add variabilisation of RBAC (#4692)
* Add variabilisation of RBAC

* fix also filer reference
2023-07-18 21:44:19 -07:00
dependabot[bot] 90d7ec3b40
Bump github.com/aws/aws-sdk-go-v2/credentials from 1.13.26 to 1.13.27 (#4684) 2023-07-17 08:34:43 -07:00
dependabot[bot] a539dea830
Bump helm/kind-action from 1.7.0 to 1.8.0 (#4686) 2023-07-17 08:34:35 -07:00
dependabot[bot] 3bc30d3d28
Bump modernc.org/sqlite from 1.23.1 to 1.24.0 (#4685) 2023-07-17 08:34:24 -07:00
dependabot[bot] 95aab71587
Bump github.com/ydb-platform/ydb-go-sdk/v3 from 3.48.4 to 3.48.5 (#4683) 2023-07-17 08:34:11 -07:00
dependabot[bot] e68a3c76cd
Bump google.golang.org/api from 0.130.0 to 0.131.0 (#4682) 2023-07-17 08:33:56 -07:00
Rui Chen 8a880650ce
deps: patch go-m1cpu to build with macOS < 12 (#4679) 2023-07-17 08:33:39 -07:00
dependabot[bot] 696e597f69
Bump docker/setup-buildx-action from 2.9.0 to 2.9.1 (#4687) 2023-07-17 08:33:21 -07:00
dependabot[bot] 09178a3511
Bump golang.org/x/tools from 0.10.0 to 0.11.0 (#4681) 2023-07-17 08:33:00 -07:00
wusong 33b9192536
Fix large file chunks deleted by mistake (#4678) 2023-07-17 07:52:14 -07:00
chrislu 358b3a4894 3.54 2023-07-16 22:47:57 -07:00
chrislu 6f588b5b18 fix refactoring mistake
fix https://github.com/seaweedfs/seaweedfs/issues/4639
2023-07-16 11:22:48 -07:00
mervynzhang df400e6c71
Concurrency works better (#4663)
Co-authored-by: mervyn.zhang <mervyn.zhang@sap.com>
2023-07-12 23:04:54 -07:00
wusong 0cb9ddd8ec
Fix data loss: add lock for metacache (#4664)
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2023-07-11 22:23:32 -07:00
Henco Appel 89542db2d0
Fix S3 API multipart upload on Windows (#4666)
The file paths were being having '/' changed to '\' by filepath.Dir()
resulting in a file being created with '\' separators, but when trying
to read the files, the same wasn't happening.

Co-authored-by: Hendrik Appel <happel@europe.altair.com>
2023-07-11 09:05:14 -07:00
Henco Appel 680c2e76f1
Fix the segfault from not setting s3 https port (#4667) 2023-07-11 08:03:20 -07:00
Konstantin Lebedev 2c076ebd96
avoid logging nil error (#4659)
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-07-10 23:38:52 -07:00
LHHDZ 3730772e05
refresh max volume count after adjust (#4662)
Signed-off-by: changlin.shi <changlin.shi@ly.com>
2023-07-10 23:37:33 -07:00
dependabot[bot] 6f7008958e
Bump golang.org/x/image from 0.8.0 to 0.9.0 (#4655) 2023-07-10 09:14:28 -07:00
dependabot[bot] 700a382173
Bump golang.org/x/net from 0.11.0 to 0.12.0 (#4657) 2023-07-10 09:12:05 -07:00
dependabot[bot] a288665e63
Bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#4658) 2023-07-10 09:11:22 -07:00
dependabot[bot] 109c3f9e67
Bump google.golang.org/api from 0.128.0 to 0.130.0 (#4654) 2023-07-10 09:10:57 -07:00
dependabot[bot] c432ac9af2
Bump docker/setup-buildx-action from 2.8.0 to 2.9.0 (#4653) 2023-07-10 08:30:02 -07:00
Nat Makarevitch cd89ef5c73
README.md: minor fixes (#4652) 2023-07-10 07:34:45 -07:00
chrislu c278bac263 avoid nil needle map
fix https://github.com/seaweedfs/seaweedfs/issues/4640
2023-07-07 22:16:58 -07:00
chrislu 0606b59a3e mount: create mount root on filer
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/127
2023-07-07 09:30:32 -07:00
chrislu 14546f0ad8 minor 2023-07-06 09:12:28 -07:00
chrislu ab30f489c3 Merge branch 'master' of https://github.com/seaweedfs/seaweedfs 2023-07-06 00:33:02 -07:00
chrislu 31b2751aff clone volume locations in case they are changed
fix https://github.com/seaweedfs/seaweedfs/issues/4642
2023-07-06 00:32:58 -07:00
wusong 61553beba2
Fix DataBackend nil pointer (#4641) 2023-07-04 23:22:10 -07:00
chrislu a315490f7d proxy to master uses http address
fix https://github.com/seaweedfs/seaweedfs/issues/4607
2023-07-04 11:45:21 -07:00