aboutsummaryrefslogtreecommitdiff
path: root/weed/command
AgeCommit message (Collapse)AuthorFilesLines
2025-01-17fix S3 per-user-directory Policy (#6443)Tom Crasset1-2/+3
* fix S3 per-user-directory Policy * Delete docker/config.json * add tests * remove logs * undo modifications of weed/shell/command_volume_balance.go * remove modifications of docker-compose * fix failing test --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu1-1/+1
2024-12-16mount metacache add ttl (#6360)zemul2-0/+3
* fix:mount deadlock * fix * feat: metaCache ttl * Update weed/command/mount.go Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> * fix InodeEntry --------- Co-authored-by: zemul <zhouzemiao@ihuman.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2024-12-05Replaced https.client.enabled with false in scaffold/security (#6320)vadimartynov1-1/+1
2024-12-02[security] reload whiteList on http seerver (#6302)Konstantin Lebedev2-0/+5
* reload whiteList * white_list add to scaffold
2024-11-21filer sync: source path and exclude path support dir suffix (#6268)Numblgw1-8/+13
filer sync: source path and exclude paht support dir suffix Co-authored-by: liguowei <liguowei@xinye.com>
2024-11-17Adjust threshold config (#6246)zemul1-0/+1
* fix:mount deadlock * fix --------- Co-authored-by: zemul <zhouzemiao@ihuman.com>
2024-11-14feat(filer.backup): add ignore errors option (#6235)Max Denushev2-16/+44
* feat(filer.backup): add ignore errors option * feat(filer.backup): fix 404 error wrap * feat(filer.backup): fix wrapping function * feat(filer.backup): fix wrapping errors in genProcessFunction * Update weed/command/filer_backup.go * Update weed/command/filer_backup.go * Update weed/command/filer_backup.go --------- Co-authored-by: Max Denushev <denushev@tochka.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2024-11-07remove the direct_io flag, as it is not well-supported on macOSchrislu1-0/+1
2024-11-04merge current message queue code changes (#6201)Chris Lu2-4/+18
* listing files to convert to parquet * write parquet files * save logs into parquet files * pass by value * compact logs into parquet format * can skip existing files * refactor * refactor * fix compilation * when no partition found * refactor * add untested parquet file read * rename package * refactor * rename files * remove unused * add merged log read func * parquet wants to know the file size * rewind by time * pass in stop ts * add stop ts * adjust log * minor * adjust log * skip .parquet files when reading message logs * skip non message files * Update subscriber_record.go * send messages * skip message data with only ts * skip non log files * update parquet-go package * ensure a valid record type * add new field to a record type * Update read_parquet_to_log.go * fix parquet file name generation * separating reading parquet and logs * add key field * add skipped logs * use in memory cache * refactor * refactor * refactor * refactor, and change compact log * refactor * rename * refactor * fix format * prefix v to version directory
2024-10-21consistent sorted tags elastic,gocdk,rclone,sqlite,tikv,ydbchrislu1-2/+2
2024-10-13remove unusedchrislu1-2/+0
2024-09-16improve worm support (#5983)Guang Jiong Lou2-12/+14
* improve worm support Signed-off-by: lou <alex1988@outlook.com> * worm mode in filer Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * move to fs configure Signed-off-by: lou <alex1988@outlook.com> * remove flag Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * support worm hardlink Signed-off-by: lou <alex1988@outlook.com> * update after review Signed-off-by: lou <alex1988@outlook.com> * typo Signed-off-by: lou <alex1988@outlook.com> * sync filer conf Signed-off-by: lou <alex1988@outlook.com> --------- Signed-off-by: lou <alex1988@outlook.com>
2024-09-13[master] master missing start LoopPushingMetric routine fixed. (#6018)zouyixiong1-1/+1
2024-09-10increasing default cache sizechrislu1-1/+1
2024-09-04support write once read manychrislu2-0/+3
fix https://github.com/seaweedfs/seaweedfs/issues/5954
2024-09-04Revert "weed mount, weed dav add option to force cache"chrislu3-6/+0
This reverts commit 7367b976b05bfa69158a60f205dec970c48f50f0.
2024-09-04weed mount, weed dav add option to force cachechrislu3-0/+6
2024-09-04default cacheDirWrite to cacheDirchrislu2-2/+7
2024-08-23filer.remote.gateway not filer.remote.sync for filer.remote.gateway help ↵Shaun Alexander1-1/+1
string. (#5935)
2024-08-21add parallel vacuumingchrislu2-12/+16
2024-08-08fix invalid tomlchrislu1-1/+1
2024-08-02Fix KeyMaterial nil bug (#5849)qinguoyi1-0/+3
2024-08-02Fix KeyMaterial nil bug (#5848)qinguoyi1-2/+5
2024-08-02Fix extractToFile gz file nil bug (#5847)qinguoyi1-2/+7
2024-08-02add command backup destory volume error log (#5846)qinguoyi1-1/+3
2024-08-01rename functionschrislu1-1/+1
2024-08-01fix CVE-2016-2183 (#5844)zuzuviewer1-0/+4
* fix CVE-2016-2183 * allow tls.min_version and tls.max_version not set
2024-07-27[filer] fix panic filer on webdav.maxMB (#5822)Konstantin Lebedev1-0/+1
fix panic filer on webdav.maxMB
2024-07-16Added tls for http clients (#5766)vadimartynov5-13/+35
* Added global http client * Added Do func for global http client * Changed the code to use the global http client * Fix http client in volume uploader * Fixed pkg name * Fixed http util funcs * Fixed http client for bench_filer_upload * Fixed http client for stress_filer_upload * Fixed http client for filer_server_handlers_proxy * Fixed http client for command_fs_merge_volumes * Fixed http client for command_fs_merge_volumes and command_volume_fsck * Fixed http client for s3api_server * Added init global client for main funcs * Rename global_client to client * Changed: - fixed NewHttpClient; - added CheckIsHttpsClientEnabled func - updated security.toml in scaffold * Reduce the visibility of some functions in the util/http/client pkg * Added the loadSecurityConfig function * Use util.LoadSecurityConfiguration() in NewHttpClient func
2024-07-16minorchrislu1-3/+3
2024-07-16Added loadSecurityConfigOnce (#5792)vadimartynov24-24/+24
2024-07-12ensure metadata follow a specific folderchrislu5-5/+26
fix https://github.com/seaweedfs/seaweedfs/issues/5774
2024-07-12-metricsIp cmd flag (#5773)vadimartynov5-5/+48
* Added/Updated: - Added metrics ip options for all servers; - Fixed a bug with the selection of the binIp or ip parameter for the metrics handler; * Fixed cmd flags
2024-07-11Added tls for http handlers (#5764)vadimartynov2-13/+79
* Added https handler for filer * Added example for security.toml
2024-07-03log error messagechrislu1-2/+2
2024-07-01refactor all methods strings to const (#5726)Konstantin Lebedev1-3/+3
2024-06-30using fixed bootstrap from peer filer3.69chrislu2-4/+0
2024-06-22fix: correct command flag for master.raftBootstrap option in server.go (#5701)Nikita Borzykh1-1/+1
2024-06-17adjust error handlingchrislu4-4/+4
fix https://github.com/seaweedfs/seaweedfs/issues/5677
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov7-10/+15
* Added context for the MasterClient's methods to avoid endless loops * Returned WithClient function. Added WithClientCustomGetMaster function * Hid unused ctx arguments * Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions * Changed the context termination check in the tryConnectToMaster function * Added a child context to the tryConnectToMaster function * Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
2024-06-10Meenakshi fix filer sync (#5672)MeenakshiSachdeva1-0/+1
* Fix Filer Sync Issue: 5455 * Fix Filer Sync Issue: 5455
2024-06-10Fix Filer Sync Issue: 5455 (#5663)MeenakshiSachdeva1-0/+3
2024-05-18Feature/mongodb security (#5602)sb1-0/+1
2024-05-18add filer configuration options for username/password and tls (#5601)sb1-0/+6
2024-05-12fix: recreate index include deleted files (#5579)Konstantin Lebedev1-12/+46
* fix: recreate index include deleted files https://github.com/seaweedfs/seaweedfs/issues/5508 * fix: counting the number of files * fix: log
2024-03-24fix filer address parsing (#5415)Nikita Korolev1-13/+17
2024-03-24Add TLS support, initial etcd connection check, fix key_prefix handling for ↵Nikita Borzykh1-0/+6
etcd backend meta storage (#5403)
2024-03-20fix: sync without dir /buckets/some/.uploads/hash_hash (#5402)Konstantin Lebedev1-1/+1
2024-03-15Document default method used by compact (#5379)Michał Frąckiewicz1-1/+1