diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2024-03-07 21:35:51 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-07 08:35:51 -0800 |
| commit | 170b63d6f89284b804b153343380537fd09e0025 (patch) | |
| tree | cd9b178690790b49f9aead7de4f59103f46c047f /weed/command/filer_backup.go | |
| parent | ecc154fa9e9bd11f2a664d2d11bd15c76d8b6c49 (diff) | |
| download | seaweedfs-170b63d6f89284b804b153343380537fd09e0025.tar.xz seaweedfs-170b63d6f89284b804b153343380537fd09e0025.zip | |
[filer.backup] add param uploader_part_size for S3sink (#5352)
* fix: install cronie
* chore: refactor configure S3Sink
* chore: refactor cinfig
* add filer-backup compose file
* fix: X-Amz-Meta-Mtime and resolve with comments
* fix: attr mtime
* fix: MaxUploadPartst is reduced to the maximum allowable
* fix: env and force set max MaxUploadParts
* fix: env WEED_SINK_S3_UPLOADER_PART_SIZE_MB
Diffstat (limited to 'weed/command/filer_backup.go')
| -rw-r--r-- | weed/command/filer_backup.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/command/filer_backup.go b/weed/command/filer_backup.go index 691b1c0b5..4aeab60f2 100644 --- a/weed/command/filer_backup.go +++ b/weed/command/filer_backup.go @@ -85,8 +85,7 @@ const ( func doFilerBackup(grpcDialOption grpc.DialOption, backupOption *FilerBackupOptions, clientId int32, clientEpoch int32) error { // find data sink - config := util.GetViper() - dataSink := findSink(config) + dataSink := findSink(util.GetViper()) if dataSink == nil { return fmt.Errorf("no data sink configured in replication.toml") } |
