Chris Lu
338e6d60a5
refactor: prepare for snapshotting
6 years ago
Chris Lu
beaa2bd71a
weed filer: properly delete cached directory entry
fix https://github.com/chrislusf/seaweedfs/issues/910
6 years ago
Chris Lu
97406333a5
support atomic renaming for mysql/postgres filer store
6 years ago
Chris Lu
cece860bfd
add context to all filer APIs
6 years ago
Chris Lu
55c85f3a66
adding context
6 years ago
Chris Lu
d312c55bbe
file path supports windows, avoiding back slashes
fix https://github.com/chrislusf/seaweedfs/issues/868
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
3ac54792e1
paginate when filer deleting and FUSE mount renaming
6 years ago
Chris Lu
c6b646e92c
skip creation for root
6 years ago
Chris Lu
f0677c5af1
default root to 0755
6 years ago
Chris Lu
db22666a30
add default root directory
6 years ago
Chris Lu
7a6f49cd42
refactor a bit more
fix https://github.com/chrislusf/seaweedfs/issues/777
6 years ago
Chris Lu
ceca078acb
avoid overwriting file or directory
fix https://github.com/chrislusf/seaweedfs/issues/777
6 years ago
Chris Lu
b282e34dc2
async file chunk deletion
6 years ago
Chris Lu
b318167cd3
batch delete file ids
6 years ago
Chris Lu
4fcfc9410f
cleanup
6 years ago
Chris Lu
ff66269b62
use grpc to replace http APIs for batch volume id lookup and batch delete
1. remove batch volume id lookup http API /vol/lookup
2. remove batch delete http API /delete
6 years ago
Chris Lu
56a5d5af8d
ignore duplicated key error if the store has duplicated primary key prevention
fix https://github.com/chrislusf/seaweedfs/issues/741
6 years ago
Chris Lu
7bb62b9f21
delay file creation without chunks from dir.Create to file.Flush
6 years ago
Chris Lu
788acdf527
add WIP filer.replicate
6 years ago
Chris Lu
ee920d4f83
kafka set the right topic
6 years ago
Chris Lu
f036ef8a3c
add filer notification
6 years ago
Chris Lu
c81f1cda47
correctly recursively delete folders
6 years ago
Chris Lu
d3205a0070
go fmt
6 years ago
Chris Lu
888eb2abb5
filer read write all via locations from MasterClient
6 years ago
Chris Lu
1d779389cb
MasterClient replicates all vid locations
6 years ago
Chris Lu
01bcc89803
refactor into MasterClient
6 years ago
Chris Lu
6f30a78a6c
update also delete old chunks if different from latest chunks
7 years ago
Chris Lu
c7228fefa7
add bucket creation and deletion
1. option for "weed s3 -filer.dir.buckets" to choose a folder for buckets
2. create a bucket
3. delete a bucket, recursively delete all metadata on filer
7 years ago
聂鹏
1ed41f8b21
bugfix:check Directory attr before create it
7 years ago
聂鹏
c523bc4f07
bugfix:delete Directory cache when filer2 delete Directory
7 years ago
Chris Lu
db0c25b3d8
delete old entry only after successful insert
7 years ago
Chris Lu
5c25d29272
support renaming files
7 years ago
Chris Lu
43e3f5724c
use fixed list of masters in both filer and volume servers
7 years ago
Chris Lu
0301504184
add mime, use simple insert and update filer store API
1. add mime type to file in filer
2. purge old chunks if overwrite during insert
7 years ago
Chris Lu
458ada173e
go fmt
7 years ago
Chris Lu
9e77563c99
add leveldb store
1. switch to viper for filer store configuration
2. simplify FindEntry() return values, removing “found”
3. add leveldb store
7 years ago
Chris Lu
7362de9a18
weed mount can work well
TODO: somehow filer url is returning empty content
7 years ago
Chris Lu
9dd228747c
filer copy added uid/gid
7 years ago
Chris Lu
f07482382b
able to update file content
having some issue when vi reports file changed.
7 years ago
Chris Lu
793dd81ca2
skip permission checking when creating dir or files
7 years ago
Chris Lu
ab4ddb1e0e
fix directory creation, directory listing
7 years ago
Chris Lu
b303a02461
cp file can work
1. consolidate to filer_pb.FileChunk
2. dir add file, mkdir
3. file flush, write
updates having issue
7 years ago
Chris Lu
c5cf9bd290
properly working filer
7 years ago
Chris Lu
f01d5616b3
add better listing directory entries
7 years ago
Chris Lu
fc7f81f6e7
remove nlink property from directory node
7 years ago
Chris Lu
81af1bafba
file store adds memdb implementation
7 years ago
Chris Lu
a808df5019
visit parent folder first
7 years ago
Chris Lu
8a1d640dc4
starting filer2
7 years ago