chrislu
11549706ef
refactor
2 years ago
chrislu
8ec1bc2c99
remove unused cluster node leader
2 years ago
dependabot[bot]
f97e663f0d
Bump golang.org/x/tools from 0.9.1 to 0.10.0 ( #4596 )
2 years ago
dependabot[bot]
656283519b
Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 ( #4597 )
2 years ago
dependabot[bot]
88b292fb3f
Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 ( #4595 )
2 years ago
dependabot[bot]
ccec3acd5b
Bump github.com/gocql/gocql from 1.5.1 to 1.5.2 ( #4594 )
2 years ago
dependabot[bot]
149082f8ac
Bump docker/setup-buildx-action from 2.6.0 to 2.7.0 ( #4592 )
2 years ago
dependabot[bot]
f1883a9975
Bump docker/build-push-action from 4.1.0 to 4.1.1 ( #4591 )
2 years ago
dependabot[bot]
63b415bdf4
Bump docker/metadata-action from 4.5.0 to 4.6.0 ( #4590 )
2 years ago
dependabot[bot]
152fc4890a
Bump golang.org/x/net from 0.10.0 to 0.11.0 ( #4593 )
2 years ago
Bai Jie
3b88ab42aa
remove duplicate `fileCount` query ( #4588 )
2 years ago
Bai Jie
44b9d72ef0
doIsEmpty() return error if v.DataBackend is nil ( #4587 )
2 years ago
chrislu
572cc440ce
a simple example of using aws-sdk-go-v2
2 years ago
chrislu
94fbf02ea2
generate jwt token when looking up needle id
fix https://github.com/seaweedfs/seaweedfs/issues/4577
2 years ago
Alby Hernández
75f7893c11
feat: Add datasource as variable ( #4584 )
2 years ago
dependabot[bot]
8f99e1defe
Bump hadoop-common from 2.10.1 to 3.2.3 in /other/java/examples ( #2912 )
* Bump hadoop-common from 2.10.1 to 3.2.3 in /other/java/examples
Bumps hadoop-common from 2.10.1 to 3.2.3.
---
updated-dependencies:
- dependency-name: org.apache.hadoop:hadoop-common
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update other/java/examples/pom.xml
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2 years ago
dependabot[bot]
b6a516fed6
build(deps): bump guava from 30.0-jre to 32.0.0-jre in /test/random_access ( #4579 )
build(deps): bump guava in /test/random_access
Bumps [guava](https://github.com/google/guava ) from 30.0-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
柏杰
0b0fb9b9e4
avoid data race read volume.IsEmpty ( #4574 )
* avoid data race read volume.IsEmpty
- avoid phantom read isEmpty for onlyEmpty
- use `v.DataBackend.GetStat()` in v.dataFileAccessLock scope
* add Destroy(onlyEmpty: true) test
* add Destroy(onlyEmpty: false) test
* remove unused `IsEmpty()`
* change literal `8` to `SuperBlockSize`
2 years ago
Konstantin Lebedev
1e22d5caf2
fix get file stats for IsEmpty ( #4576 )
2 years ago
Konstantin Lebedev
4dd890d4a2
optional https port for s3 ( #4482 )
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
chrislu
3fbf4f6189
Revert "Initial patch for redis version 7 support ( #4572 )"
This reverts commit a25bca0692
.
2 years ago
Konstantin Lebedev
4527ead295
fix from comment delete volume is empty ( #4573 )
* fix from coments
https://github.com/seaweedfs/seaweedfs/pull/4561
* fix tests
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
Aaron Gipson
a25bca0692
Initial patch for redis version 7 support ( #4572 )
2 years ago
Konstantin Lebedev
25535e9c36
Delete volume is empty ( #4561 )
* use onlyEmpty for deleteVolume
https://github.com/seaweedfs/seaweedfs/issues/4559
* fix IsEmpty
* fix test
---------
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
dependabot[bot]
2e42cdeb22
build(deps): bump docker/metadata-action from 4.4.0 to 4.5.0 ( #4564 )
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](c4ee3adeed
...2c0bd771b40637d97bf205cbccdd294a32112176)
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
5abb78bbd4
build(deps): bump docker/login-action from 2.1.0 to 2.2.0 ( #4565 )
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](f4ef78c080
...465a07811f14bebb1938fbed4728c6a1ff8901fc)
---
updated-dependencies:
- dependency-name: docker/login-action
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>
2 years ago
dependabot[bot]
c0a0b84c66
build(deps): bump docker/build-push-action from 4.0.0 to 4.1.0 ( #4566 )
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](3b5e8027fc
...44ea916f6c540f9302d50c2b1e5a8dc071f15cdf)
---
updated-dependencies:
- dependency-name: docker/build-push-action
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>
2 years ago
dependabot[bot]
a5740619e1
build(deps): bump modernc.org/sqlite from 1.22.1 to 1.23.1 ( #4567 )
Bumps [modernc.org/sqlite](https://gitlab.com/cznic/sqlite ) from 1.22.1 to 1.23.1.
- [Commits](https://gitlab.com/cznic/sqlite/compare/v1.22.1...v1.23.1 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
273d677ebd
build(deps): bump google.golang.org/api from 0.124.0 to 0.126.0 ( #4569 )
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.124.0 to 0.126.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.124.0...v0.126.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>
2 years ago
dependabot[bot]
afbef0044a
build(deps): bump github.com/spf13/viper from 1.15.0 to 1.16.0 ( #4570 )
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
609902f0cf
build(deps): bump github.com/gocql/gocql from 1.4.0 to 1.5.1 ( #4571 )
Bumps [github.com/gocql/gocql](https://github.com/gocql/gocql ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/gocql/gocql/releases )
- [Changelog](https://github.com/gocql/gocql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gocql/gocql/compare/v1.4.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/gocql/gocql
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>
2 years ago
dependabot[bot]
cd3bc35b8d
build(deps): bump docker/setup-buildx-action from 2.5.0 to 2.6.0 ( #4563 )
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](4b4e9c3e2d
...6a58db7e0d21ca03e6c44877909e80e45217eed2)
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
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>
2 years ago
dependabot[bot]
2c14e9ac9f
build(deps): bump docker/setup-qemu-action from 2.1.0 to 2.2.0 ( #4562 )
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](e81a89b173
...2b82ce82d56a2a04d2637cd93a637ae1b359c0a7)
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
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>
2 years ago
dependabot[bot]
476022c2dc
build(deps): bump github.com/aws/aws-sdk-go from 1.44.271 to 1.44.280 ( #4568 )
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.44.271 to 1.44.280.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.271...v1.44.280 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
柏杰
68feffa4e6
avoid overwriting non-nil uploadReaderToChunks.uploadErr with nil value ( #4560 )
2 years ago
Konstantin Lebedev
5ee04d20fa
Healthz check for deadlocks ( #4558 )
2 years ago
wusong
670e2185e4
fix: fid mismatch ( #4554 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
wusong
d6af3a8eb6
fix 404 not found ( #4536 )
Signed-off-by: wang wusong <wangwusong@virtaitech.com>
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
Konstantin Lebedev
5caff2c0f0
fix: deletes newly created volumes ( #4551 )
https://github.com/seaweedfs/seaweedfs/issues/4531
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2 years ago
wusong
9bdbf9c880
revert #4491 ( #4550 )
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago
chrislu
0bffb3770f
support TTL when creating folders
related to https://github.com/seaweedfs/seaweedfs/discussions/4549
2 years ago
Andrew Garrett
abef448c51
Fix Helm chart enableSecurity flag ( #4537 )
Fix Helm chart enableSecurity flag:
- Add parameter for whether to use v1alpha cert-manager CRDs, default off.
- Use self-signed Issuer only for the initial CA certificates, create a new
Issuer that uses the generated CA certificate and use that for all the others
2 years ago
Andrew Garrett
65b4dc6448
Add secret support for filer environment variables. ( #4538 )
Instead of providing a literal value as a string, you can provide the contents of valueFrom as a map.
2 years ago
Andrew Garrett
19fd0f7d5b
Helm chart fixes: ( #4539 )
- Allow TLS and Host name to be specified in values.yaml
2 years ago
dependabot[bot]
0bd4f5ea61
build(deps): bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1 ( #4546 )
build(deps): bump github.com/prometheus/client_golang
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.0 to 1.15.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.15.0...v1.15.1 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
17b0a94419
build(deps): bump github.com/arangodb/go-driver from 1.5.2 to 1.6.0 ( #4545 )
Bumps [github.com/arangodb/go-driver](https://github.com/arangodb/go-driver ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/arangodb/go-driver/releases )
- [Changelog](https://github.com/arangodb/go-driver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/arangodb/go-driver/compare/v1.5.2...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/arangodb/go-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>
2 years ago
dependabot[bot]
5230bb3656
build(deps): bump actions/dependency-review-action from 3.0.4 to 3.0.6 ( #4541 )
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](f46c48ed6d
...1360a344ccb0ab6e9475edef90ad2f46bf8003b1)
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
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>
2 years ago
dependabot[bot]
a6b360b9f1
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 ( #4542 )
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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>
2 years ago
dependabot[bot]
6812a5933c
build(deps): bump github.com/ydb-platform/ydb-go-sdk-auth-environ from 0.1.3 to 0.2.0 ( #4544 )
build(deps): bump github.com/ydb-platform/ydb-go-sdk-auth-environ
Bumps [github.com/ydb-platform/ydb-go-sdk-auth-environ](https://github.com/ydb-platform/ydb-go-sdk-auth-environ ) from 0.1.3 to 0.2.0.
- [Commits](https://github.com/ydb-platform/ydb-go-sdk-auth-environ/compare/v0.1.3...v0.2.0 )
---
updated-dependencies:
- dependency-name: github.com/ydb-platform/ydb-go-sdk-auth-environ
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>
2 years ago
wusong
26f15d0079
Fix no more writable volumes by delay judgment ( #4548 )
* fix nomore writables volumes while disk free space is sufficient by time delay
* reset
---------
Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2 years ago