aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/assign_file_id.go
AgeCommit message (Collapse)AuthorFilesLines
2025-07-16convert error fromating to %w everywhere (#6995)Chris Lu1-2/+2
2025-05-28Add context with request (#6824)Aleksey Kosov1-3/+3
2024-09-09[shell] fix volume grow in shell (#5992)Konstantin Lebedev1-1/+0
* fix volume grow in shell * revert add Async * check available volume space * create a VolumeGrowRequest and remove unnecessary fields
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov1-3/+3
* 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-03-29[master] grow volumes if no writable volumes in current dataCenter (#5434)Konstantin Lebedev1-0/+3
* grow volumes if no writable volumes in current dataCenter https://github.com/seaweedfs/seaweedfs/issues/3886 * fix tests with volume grow * automatic volume grow one volume * add ErrorChunkAssign metrics
2023-10-12 fix: disallow file name too long when writing a file (#4881)Konstantin Lebedev1-1/+2
* 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-10ensure single threaded accesschrislu1-0/+5
2023-08-23streaming assign file idschrislu1-3/+102
2023-04-29[Filer] post add param:saveInside (#4434)zemul1-0/+1
* fix:mount deadlock * feat: filer http upload to metadata * feat: /etc save inside --------- Co-authored-by: zemul <zhouzemiao@ihuman.com>
2022-08-04filer prefer volume server in same data center (#3405)Konstantin Lebedev1-3/+3
* initial prefer same data center https://github.com/seaweedfs/seaweedfs/issues/3404 * GetDataCenter * prefer same data center for ReplicationSource * GetDataCenterId * remove glog
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-4/+4
2021-12-26use streaming mode for long poll grpc callschrislu1-2/+2
streaming mode would create separate grpc connections for each call. this is to ensure the long poll connections are properly closed.
2021-12-22filer server: allow upload file to specific dataNodebanjiaojuhao1-1/+4
2021-10-11return error earlyChris Lu1-4/+4
fix https://github.com/chrislusf/seaweedfs/issues/2370
2021-09-12change server address from string to a typeChris Lu1-15/+14
2021-09-08replicated remote.cacheChris Lu1-1/+1
2021-09-05add other replica locations when assigning volumesChris Lu1-6/+17
2021-08-12use grpc and jwtChris Lu1-11/+18
2021-07-23filer.copy: fail early if assign request failedChris Lu1-0/+4
fix https://github.com/chrislusf/seaweedfs/issues/2216
2021-04-14fix #1996qieqieplus1-0/+1
2021-02-17refactoring to get master function, instead of passing master values directlyChris Lu1-2/+2
this will enable retrying later
2020-12-16go fmtChris Lu1-5/+5
2020-12-13rename from volumeType to diskTypeChris Lu1-5/+5
2020-12-13adding volume typeChris Lu1-0/+5
2020-11-17fs.configure: configurable volume growthChris Lu1-18/+21
2020-11-17use alternative assign requestChris Lu1-8/+8
2020-11-15go fmtChris Lu1-1/+0
2020-11-15refactoringChris Lu1-0/+37
2020-02-25avoid reusing context objectChris Lu1-1/+1
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-02-24filer: dynamically create bucket under /buckets folderChris Lu1-2/+4
2020-02-10Revert "HEAD operation changes to fasthttp"Chris Lu1-14/+6
This reverts commit 58f126fd27bb2f366f76f42223b93ba3b31a0bd8.
2020-02-10HEAD operation changes to fasthttpChris Lu1-6/+14
2020-01-26use the same context object in order to retryChris Lu1-1/+1
2019-11-12fix master maintenance logicLei Liu1-7/+7
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
2019-11-10add volume number param in assign operationzhangsong1-7/+9
2019-05-27caching ec shard locationsChris Lu1-1/+1
2019-02-20avoid grpc 5 seconds timeoutChris Lu1-7/+3
some operations may take longer than 5 seconds. only keep the timeout for raft operations
2019-02-18adding grpc mutual tlsChris Lu1-2/+3
2019-02-15benchmark can work in secure modeChris Lu1-5/+24
2019-01-10Set timeout for master and volume non-streaming rpcchenwanli1-1/+5
2018-11-23go fmtChris Lu1-1/+2
2018-11-20master add grpc API for fileid assigningChris Lu1-38/+36
2018-07-21add s3 upload, and removing mono and multi part upload analyzerChris Lu1-2/+3
removing mono and multi part upload analyzer, which were used just to determine the file name
2018-07-09add primary request and backup request when requesting volumes for a data centerChris Lu1-35/+46
2018-05-16cp file can workChris Lu1-1/+1
1. consolidate to filer_pb.FileChunk 2. dir add file, mkdir 3. file flush, write updates having issue
2016-06-26refactor Volume Assign function霍晓栋1-35/+24
2016-06-23add options params for the Assign func霍晓栋1-1/+32
2016-06-02directory structure change to work with glideChris Lu1-0/+48
glide has its own requirements. My previous workaround caused me some code checkin errors. Need to fix this.