chrislu
d341db8861
Update ec_vacuum_task.go
4 months ago
chrislu
cf5f0b8e74
cleanupGracePeriod
4 months ago
chrislu
0bcb64140f
Add activation step to EC vacuum: call ActivateEcGeneration when G+1 ready
4 months ago
chrislu
62d89fa60b
EC vacuum distribution updated for generation-aware mount/copy RPCs
4 months ago
chrislu
de9399761b
EC vacuum task updated for generation-aware operation
4 months ago
chrislu
8797e73523
cachedLookupEcShardLocations updated for generation-specific caching
4 months ago
chrislu
f00dc46607
VolumeEcShardRead to read from correct (vid, generation) EcVolume
4 months ago
chrislu
1b41544f97
detecting ec volumes
4 months ago
chrislu
e9033136aa
todo
4 months ago
chrislu
56d1ed77c1
copy file
4 months ago
chrislu
9e2e600b6d
VolumeEcShardsGenerate updated for generation-specific file creation
4 months ago
chrislu
99f132729c
MountEcShards/UnmountEcShards updated for generation support
4 months ago
chrislu
8c31d5e331
EcVolume creation properly refactored
4 months ago
chrislu
ef5f9f629a
Generation file layout
4 months ago
chrislu
50cc17e8fa
ActivateEcGeneration RPC implemented
4 months ago
chrislu
870b2ffe07
LookupEcVolume handle generation parameter
4 months ago
chrislu
e4f266d927
Active generation tracking implemented
4 months ago
chrislu
5650b6f505
Add master_pb.ActivateEcGenerationRequest/Response RPC definition
4 months ago
chrislu
09d740db47
Add `generation` field to volume_server_pb.VolumeEcShardReadRequest
4 months ago
chrislu
8c54b72af3
Add `generation` field to volume_server_pb VolumeEcShards{Copy,Generate,Rebuild,ToVolume}Request
4 months ago
chrislu
312fee4ddf
Add `generation` field to volume_server_pb VolumeEcShards{Mount,Unmount}Request
4 months ago
chrislu
03ad8f2490
Add `generation` field to master_pb.VolumeEcShardInformationMessage
4 months ago
chrislu
fc666e2e48
collect ec volume deleted bytes
4 months ago
chrislu
3a9ec6f30c
Update worker.go
4 months ago
chrislu
8603a3a1e9
ec vacuum task need to register itself
4 months ago
chrislu
bea9ca3616
generate ec data and deleted data
4 months ago
chrislu
32e7ba2f9d
adding ec vacuum
4 months ago
chrislu
05a0cc156b
Self-Contained Design
To prove the system is truly self-contained:
To add a new task:
Create a task package (e.g., worker/tasks/compression/)
Import it: _ "github.com/.../worker/tasks/compression"
That's it! No other changes needed.
To remove a task:
Delete the task package directory
Remove the import line
That's it! No other changes needed.
4 months ago
chrislu
96d6d27607
remove ❌ Vacuum - Completely removed ❌ Balance - Completely removed
4 months ago
chrislu
c7f291e4e4
simplify logging
4 months ago
Chris Lu
25bbf4c3d4
Admin UI: Fetch task logs ( #7114 )
* show task details
* loading tasks
* task UI works
* generic rendering
* rendering the export link
* removing placementConflicts from task parameters
* remove TaskSourceLocation
* remove "Server ID" column
* rendering balance task source
* sources and targets
* fix ec task generation
* move info
* render timeline
* simplified worker id
* simplify
* read task logs from worker
* isValidTaskID
* address comments
* Update weed/worker/tasks/balance/execution.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/worker/tasks/erasure_coding/ec_task.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/worker/tasks/task_log_handler.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix shard ids
* plan distributing shard id
* rendering planned shards in task details
* remove Conflicts
* worker logs correctly
* pass in dc and rack
* task logging
* Update weed/admin/maintenance/maintenance_queue.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* display log details
* logs have fields now
* sort field keys
* fix link
* fix collection filtering
* avoid hard coded ec shard counts
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
4 months ago
Chris Lu
3ac2a2e22d
fix tikv listing due to expired entries ( #7115 )
* fix tikv listing due to expired entries
When there are many entries with empty fileName values (which can happen after TTL cleanup), the continue statements prevent the loop counter from incrementing, creating an infinite loop.
* address comments
* Update weed/filer/tikv/tikv_store.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* address comments
Update weed/filer/tikv/tikv_store.go
Co-Authored-By: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4 months ago
Devin Lauderdale
fae416586b
Move helm templates into folders ( #7113 )
* refactor: move helm templates into respective service folders
* fix: update template path reference in filer-statefulset for s3-secret
4 months ago
Devin Lauderdale
92cebe12f0
chore: remove default replica count for all-in-one deployment ( #7111 )
4 months ago
Chris Lu
535985adb6
Shell: add verbose ec encoding mode ( #7105 )
* add verbose ec encoding mode
* address comments
4 months ago
Chris Lu
cde2d65c16
ec candidate selection needs to adjust same rack count compare ( #7106 )
ec needs to adjust same rack count compare
4 months ago
Chris Lu
b4d9618efc
volume server UI: fix ec volume ui ( #7104 )
* fix ec volume ui
* Update weed/storage/erasure_coding/ec_volume.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4 months ago
chrislu
dd4880d55a
fix for baidu cloud storage
4 months ago
Chris Lu
4af182f880
Context cancellation during reading range reading large files ( #7093 )
* context cancellation during reading range reading large files
* address comments
* cancellation for fuse read
* fix cancellation
* pass in context for each function to avoid racing condition
* Update reader_at_test.go
* remove dead code
* Update weed/filer/reader_at.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/filer/filechunk_group.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/filer/filechunk_group.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* address comments
* Update weed/mount/weedfs_file_read.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/mount/weedfs_file_lseek.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/mount/weedfs_file_read.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/filer/reader_at.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/mount/weedfs_file_lseek.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* test cancellation
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4 months ago
Chris Lu
e446234e9c
remove spoof-able request header ( #7103 )
* remove spoof-able request header
https://github.com/seaweedfs/seaweedfs/issues/7094#issuecomment-3158320497
* Update weed/security/guard.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4 months ago
Chris Lu
0703308270
remote address parsing should handle special cases ( #7101 )
* remote address parsing should handle special cases
* handling ipv6
* simplify
* Update weed/security/guard.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* x-real-ip
* Update guard.go
* fixes
Hostname Whitelisting: Fully restored - supports localhost, example.com, etc.
IP Whitelisting: Still works - supports exact IPs and CIDR ranges
Header Support: Consistent handling of X-Forwarded-For, X-Real-IP
* simplify
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update guard.go
* adjust function signature
* Update weed/security/guard.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* indention
* skip empty host
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
4 months ago
Chris Lu
c6d9756933
fix signature hashing for iam ( #7100 )
* fix signature hashing for iam
* add tests
* address comments
* Update weed/s3api/auto_signature_v4_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* indention
* fix test
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
b01b5e0f34
chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.29.18 to 1.30.2 ( #7099 )
chore(deps): bump github.com/aws/aws-sdk-go-v2/config
Bumps [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) from 1.29.18 to 1.30.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.29.18...v1.30.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-version: 1.30.2
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>
4 months ago
dependabot[bot]
315e089d41
chore(deps): bump github.com/aws/aws-sdk-go-v2/credentials from 1.17.71 to 1.18.2 ( #7084 )
chore(deps): bump github.com/aws/aws-sdk-go-v2/credentials
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2 ) from 1.17.71 to 1.18.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.2/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/credentials/v1.17.71...config/v1.18.2 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
dependency-version: 1.18.2
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>
4 months ago
dependabot[bot]
ec56e7e8d9
chore(deps): bump github.com/getsentry/sentry-go from 0.34.1 to 0.35.0 ( #7098 )
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.34.1 to 0.35.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.34.1...v0.35.0 )
---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
dependency-version: 0.35.0
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>
4 months ago
dependabot[bot]
bc19d144b5
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.84.1 to 1.85.1 ( #7083 )
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3
Bumps [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2 ) from 1.84.1 to 1.85.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.84.1...service/s3/v1.85.1 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/s3
dependency-version: 1.85.1
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>
4 months ago
dependabot[bot]
69fb524e36
chore(deps): bump google.golang.org/api from 0.243.0 to 0.244.0 ( #7096 )
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.243.0 to 0.244.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.243.0...v0.244.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-version: 0.244.0
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>
4 months ago
chrislu
2d11e9bc1a
Pin helm-gh-pages action to stable version v1.7.0
- Use stable release instead of @master to avoid potential regressions
- This should help resolve the 'gzip: invalid magic' error
4 months ago
chrislu
4f38b7c3b9
Revert "Fix helm-gh-pages action configuration"
This reverts commit 26ef76b7b9 .
4 months ago
chrislu
26ef76b7b9
Fix helm-gh-pages action configuration
- Add missing commit_username and commit_email parameters
- This should resolve the 'gzip: invalid magic' error in the Helm GitHub Pages action
4 months ago