aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/filer_pb
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu2-5/+5
2025-06-24Changes logging function (#6919)Aleksey Kosov2-14/+14
* updated logging methods for stores * updated logging methods for stores * updated logging methods for filer * updated logging methods for uploader and http_util * updated logging methods for weed server --------- Co-authored-by: akosov <a.kosov@kryptonite.ru>
2025-06-16add version to volume protochrislu2-2391/+1048
2025-05-22added context to filer_client method calls (#6808)Aleksey Kosov3-35/+35
Co-authored-by: akosov <a.kosov@kryptonite.ru>
2025-01-20Add message queue agent (#6463)Chris Lu2-2/+2
* scaffold message queue agent * adjust proto, add mq_agent * add agent client implementation * remove unused function * agent publish server implementation * adding agent
2024-12-31worm grace period and retention time support (#6404)Guang Jiong Lou1-655/+689
Signed-off-by: lou <alex1988@outlook.com>
2024-12-19"golang.org/x/exp/slices" => "slices" and go fmtchrislu1-2/+2
2024-10-24rename proto field from DestroyTime to expire_at_secchrislu2-274/+190
For TTL volume converted into EC volume, this change may leave the volumes staying.
2024-09-16improve worm support (#5983)Guang Jiong Lou1-199/+209
* 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-08-01conditional deletechrislu1-495/+506
2024-07-21add version to filerchrislu1-321/+342
2024-07-20Revert "add collection for buckets"chrislu1-13/+3
This reverts commit 96af5712195be37b309115795066f17c7cc6126d.
2024-07-17add collection for bucketschrislu1-3/+13
2024-06-28bootstrap filer from one peerchrislu3-453/+703
2024-06-15optionally skip deleting file chunkschrislu1-209/+220
2024-03-07include key in LogEntrychrislu1-261/+270
2024-02-29latest protoc-gen-gochrislu1-1/+1
2024-02-29go fmtchrislu2-3/+3
2024-02-05upgrade protocChris Lu2-3/+3
2024-02-02lock returns host and ownerchrislu1-174/+185
2023-10-12upgrading grpcchrislu2-2/+2
2023-10-12 fix: disallow file name too long when writing a file (#4881)Konstantin Lebedev2-237/+276
* fix: disallow file name too long when writing a file * bool LongerName to MaxFilenameLength --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
2023-09-30update proto generated fileschrislu1-1/+1
2023-09-26rename functionchrislu1-1/+1
2023-09-16balancer workschrislu2-233/+433
2023-08-28protoc versionchrislu1-1/+1
2023-08-27rename to lookupchrislu1-1/+1
2023-06-25adjust filer.protochrislu1-9/+9
2023-06-25filer can proxy to peer filer holding the lockchrislu1-172/+191
2023-06-25add distributed lock managerchrislu1-139/+139
2023-06-25add distributed lock managerchrislu2-174/+813
2023-06-19remove unused cluster node leaderchrislu2-62/+39
2023-06-05Fix no more writable volumes by delay judgment (#4548)wusong2-40/+63
* fix nomore writables volumes while disk free space is sufficient by time delay * reset --------- Co-authored-by: wang wusong <wangwusong@virtaitech.com>
2023-04-25allow deleting only older empty dir without recursion (#4430)Konstantin Lebedev1-0/+11
2023-02-05adding support for B2 region (#4177)Muhammad Hallaj bin Subery2-7/+11
Co-authored-by: Muhammad Hallaj bin Subery <hallaj@tuta.io>
2022-12-28support enable/disable vacuum (#4087)Guo Lei2-7/+3
* stop vacuum * suspend/resume vacuum * remove unused code * rename * rename param
2022-11-15refactor filer_pb.Entry and filer.Entry to use GetChunks()chrislu2-2/+2
for later locking on reading chunks
2022-10-28refactor filer proto chunk variable from mtime to modified_ts_nschrislu1-15/+16
2022-10-24ADHOC: volume fsck using append at ns (#3906)Eric Yang2-8/+12
* ADHOC: volume fsck using append at ns * nit * nit Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2022-10-16avoid data race of TraverseBfs (#3856)Konstantin Lebedev1-18/+22
* avoid data race of TraverseBfs * close is enough avoid panic I1014 12:29:59.207120 volume_loading.go:131 loading sorted db /tmp/sw/test2_19.sdx error: unexpected file /tmp/sw/test2_19.idx size: 255 I1014 12:29:59.207125 volume_loading.go:119 open to write file /tmp/sw/test4_26.idx panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5260a4c] goroutine 287 [running]: github.com/seaweedfs/seaweedfs/weed/storage.(*SortedFileNeedleMap).Close(0x0) /Users/tochka/GolandProjects/seaweedfs/weed/storage/needle_map_sorted_file.go:97 +0x2c github.com/seaweedfs/seaweedfs/weed/storage.(*Volume).load.func1() /Users/tochka/GolandProjects/seaweedfs/weed/storage/volume_loading.go:32 +0x8e github.com/seaweedfs/seaweedfs/weed/storage.(*Volume).load(0xc001b36280, 0x1, 0x1, 0x0, 0x69228c0?) /Users/tochka/GolandProjects/seaweedfs/weed/storage/volume_loading.go:205 +0x256c github.com/seaweedfs/seaweedfs/weed/storage.NewVolume({0x7ffeefbff6e0, 0x7}, {0x7ffeefbff6e0, 0x7}, {0xc0009a9284, 0x5}, 0x13, 0x0, 0x0, 0x0, ...) /Users/tochka/GolandProjects/seaweedfs/weed/storage/volume.go:62 +0x30f github.com/seaweedfs/seaweedfs/weed/storage.(*DiskLocation).loadExistingVolume(0xc0006f40c0, {0x846c8d0, 0xc0009ce600}, 0x0?, 0x1) /Users/tochka/GolandProjects/seaweedfs/weed/storage/disk_location.go:161 +0x4da github.com/seaweedfs/seaweedfs/weed/storage.(*DiskLocation).concurrentLoadingVolumes.func2() /Users/tochka/GolandProjects/seaweedfs/weed/storage/disk_location.go:201 +0xf9 created by github.com/seaweedfs/seaweedfs/weed/storage.(*DiskLocation).concurrentLoadingVolumes /Users/tochka/GolandProjects/seaweedfs/weed/storage/disk_location.go:198 +0x150
2022-09-20grpc: watch metadata changes by directorychrislu1-212/+223
2022-09-14go fmtchrislu2-6/+2
2022-09-14refactor(filer_client): `EachEntryFunciton` -> `EachEntryFunction` (#3671)Ryan Russell1-6/+6
Signed-off-by: Ryan Russell <git@ryanrussell.org> Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-09-06ADHOC: add read needle meta grpc (#3581)Eric Yang2-1/+6
* ADHOC: add read needle meta grpc * add test * nit Co-authored-by: root <root@HQ-10MSTD3EY.roblox.local>
2022-08-17move proto packagechrislu2-2/+2
2022-08-04filer prefer volume server in same data center (#3405)Konstantin Lebedev2-318/+329
* initial prefer same data center https://github.com/seaweedfs/seaweedfs/issues/3404 * GetDataCenter * prefer same data center for ReplicationSource * GetDataCenterId * remove glog
2022-08-01Merge branch 'master' into gentle_vacuumKonstantin Lebedev5-172/+53
# Conflicts: # weed/pb/messaging_pb/messaging.pb.go # weed/pb/messaging_pb/messaging_grpc.pb.go # weed/pb/s3_pb/s3.pb.go # weed/pb/volume_server_pb/volume_server.pb.go # weed/server/volume_grpc_vacuum.go
2022-07-31scaffoldchrislu1-1/+1
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu3-5/+5
2022-07-29vacuum show LAKonstantin Lebedev2-3/+2