lfhy
1976ca9160
add -disk to filer command ( #4247 )
* add -disk to filer command
* add diskType to filer.grpc
* use filer.disk when filerWebDavOptions.disk is empty
* add filer.disk to weed server command.
---------
Co-authored-by: 三千院羽 <3000y@MacBook-Pro.lan>
2 years ago
chrislu
70a4c98b00
refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
4fd5f96598
filer: remove replication, collection, disk_type info from entry metadata
these metadata can change and are not used
3 years ago
chrislu
8402af0882
filer: detect ttl based on fs configure setting
3 years ago
chrislu
2305508b65
refactor: separate into two files
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
chrislu
4042fdf3bb
rename to skipCheckParentDir
related to https://github.com/chrislusf/seaweedfs/pull/2761
It's better to default to false.
3 years ago
zzq09494
40b0033fa7
go fmt
3 years ago
zzq09494
81cce4b4c3
filer: support uploading file without needEnsureParentDir
3 years ago
zzq09494
a6a8892255
Revert "filer: support uploading file without needEnsureParentDir"
This reverts commit a93c4947ba
.
3 years ago
zzq09494
a93c4947ba
filer: support uploading file without needEnsureParentDir
3 years ago
chrislu
9f9ef1340c
use streaming mode for long poll grpc calls
streaming mode would create separate grpc connections for each call.
this is to ensure the long poll connections are properly closed.
3 years ago
banjiaojuhao
08336be92e
filer server: allow upload file to specific dataNode
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
0128239c0f
handle ipv6 addresses
3 years ago
Chris Lu
05f32376eb
add cluster id in filer configuration response
3 years ago
Chris Lu
450222dd64
add remote to filer.Entry and filer_pb entry, add RemoteConf
3 years ago
Chris Lu
b194f91f47
add version to filer configuration response
4 years ago
Chris Lu
ab606dec2a
filer: add path-specific option to enforce readonly
4 years ago
Chris Lu
ddc8643ee0
filer: directory listing adds namePatternExclude
fix https://github.com/chrislusf/seaweedfs/issues/2023
4 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
a4063a5437
add stream list directory entries
4 years ago
Chris Lu
f002e668de
change limit to int64 in case of overflow
4 years ago
Chris Lu
2c3c2c27d7
separate prefix from namePattern
fix https://github.com/chrislusf/seaweedfs/issues/1722
4 years ago
Chris Lu
2e6cf541e7
filer: avoid deletion error when item is not found
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Chris Lu
765b3ef1be
save /etc/iam/identity.json inside filer store
4 years ago
Chris Lu
f4abd01adf
filer: cache small file to filer store
4 years ago
Chris Lu
95c0de285d
refactoring
4 years ago
Chris Lu
500bcab953
refactoring
4 years ago
Chris Lu
f375b93aef
renaming
4 years ago
Chris Lu
e9d40b80b2
less verbose logs
4 years ago
Chris Lu
6c92fa349d
filer: support default rack
fix https://github.com/chrislusf/seaweedfs/issues/1546
4 years ago
Chris Lu
ace0ea3d28
s3: avoid duplicated bucket
4 years ago
Chris Lu
62d3d3aea0
go fmt
4 years ago
Chris Lu
a8624c2e4f
read from alternative replica
related to https://github.com/chrislusf/seaweedfs/issues/1512
4 years ago
Chris Lu
1012df7bb5
switch hardlink id from int64 to bytes
4 years ago
Chris Lu
5e239afdfc
hardlink works now
4 years ago
Chris Lu
63373a9f9f
filer: add file extended properties
4 years ago
Chris Lu
cb427d48fa
filer report metrics configuration
4 years ago
Chris Lu
387ab6796f
filer: cross cluster synchronization
4 years ago
Chris Lu
bba90ff3c8
read filer signature
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago