aboutsummaryrefslogtreecommitdiff
path: root/weed/command/backup.go
AgeCommit message (Collapse)AuthorFilesLines
2025-06-19pass volume version when creating a volumechrislu1-2/+5
2024-08-02add command backup destory volume error log (#5846)qinguoyi1-1/+3
2024-07-16Added loadSecurityConfigOnce (#5792)vadimartynov1-1/+1
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov1-1/+2
* 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
2023-06-14avoid data race read volume.IsEmpty (#4574)柏杰1-1/+1
* 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`
2022-11-14Lazy loading (#3958)Guo Lei1-2/+3
* types packages is imported more than onece * lazy-loading * fix bugs * fix bugs * fix unit tests * fix test error * rename function * unload ldb after initial startup * Don't load ldb when starting volume server if ldbtimeout is set. * remove uncessary unloadldb * Update weed/command/server.go Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> * Update weed/command/volume.go Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com> Co-authored-by: guol-fnst <goul-fnst@fujitsu.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-7/+7
2022-05-13backup do not need to use preallocationchrislu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/3044
2021-10-24volume vacuum: avoid timeout with streaming progress reportChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/2396
2021-09-12change server address from string to a typeChris Lu1-2/+3
2021-08-12move some volume lookup operations to grpcChris Lu1-1/+1
jwt related lookup will come in next commit
2021-02-17go fmtChris Lu1-1/+1
2021-02-17refactoring to get master function, instead of passing master values directlyChris Lu1-1/+1
this will enable retrying later
2020-11-27volume: add "-dir.idx" option for separate index storageChris Lu1-2/+2
fix https://github.com/chrislusf/seaweedfs/issues/1265
2020-07-16resolve directories if containing home directoryChris Lu1-2/+2
2020-03-11volume: follow compactionBytePerSecondChris Lu1-1/+1
related to https://github.com/chrislusf/seaweedfs/issues/1108
2020-01-29support env variables to overwrite toml fileChris Lu1-3/+1
2019-12-24compaction changed to .idx based deletionChris Lu1-1/+1
2019-12-23shell: add ec.decode commandChris Lu1-4/+6
2019-10-29changed from os.file to backend.DataStorageBackendChris Lu1-1/+1
2019-09-12Change joeslay paths to chrislusf pathsj.laycock1-5/+5
2019-09-04Changed the InMemory bool to a uint32 so that it can be used to alter how ↵Tom Maxwell1-2/+2
much space to reserve
2019-09-03Rename mem_map to mMap, remove some in_memory variables being passed around, ↵j.laycock1-1/+1
added MemoryMapped member to volume struct
2019-09-03Changes to try and pass the URL parameters through - in memory flag not ↵Tom Maxwell1-3/+3
working still
2019-09-02Swap imports to use joeslayj.laycock1-5/+5
2019-08-16weed backup: add ttl and replication parameterxushuxun1-13/+41
2019-06-05periodic scripts exeuction from leader masterChris Lu1-2/+2
2019-05-03volume: add option to limit compaction speedChris Lu1-1/+1
2019-04-19volume: atomic copying file, adds version and stopOffsetChris Lu1-2/+2
2019-04-19fix needle map entry sizeChris Lu1-1/+3
2019-04-18refactoringChris Lu1-2/+4
2019-04-17refactoringChris Lu1-1/+1
2019-04-11typo: remove blankWine931-4/+4
2019-03-25refactoring, go fmtChris Lu1-1/+1
2019-03-25WIPChris Lu1-1/+26
2019-02-18adding grpc mutual tlsChris Lu1-2/+9
2019-02-06fixing of typosSergey1-1/+1
2019-01-17go fmt and fix some typobingoohuang1-1/+1
2018-10-15migrate volume sync status to grpc API on volume serverChris Lu1-1/+1
2017-01-08support Fallocate on linuxChris Lu1-1/+1
2016-06-02directory structure change to work with glideChris Lu1-0/+90
glide has its own requirements. My previous workaround caused me some code checkin errors. Need to fix this.