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
7 years ago
Chris Lu
a12c7b86b0
broadcast messages of new and deleted volumes
7 years ago
Chris Lu
6f30a78a6c
update also delete old chunks if different from latest chunks
7 years ago
Chris Lu
7e2031b18f
go fmt
7 years ago
Chris Lu
80d80daf64
set filer2.ErrNotFound for not found entry
7 years ago
Chris Lu
d429b6296b
fix test
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
77fc8c5914
keep alive for gRpc calls
7 years ago
Chris Lu
14c6f12b0c
adjust interface parameter name and doc
7 years ago
Chris Lu
db0c25b3d8
delete old entry only after successful insert
7 years ago
Chris Lu
eb2acd11c2
decouple from viper for filer store
7 years ago
Chris Lu
98110c1697
add collection, replication, ttl to each file
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
74332e1a61
minor
7 years ago
Chris Lu
07e0d13d2d
filer support reading multiple chunks, with range support
7 years ago
Chris Lu
8db9319a06
refactoring: go fmt, reorg
7 years ago
Chris Lu
8b0718ac92
go vet
7 years ago
Chris Lu
458ada173e
go fmt
7 years ago
Chris Lu
03d76479a5
add reds
7 years ago
Chris Lu
a6a6b87f1b
adjust readme
7 years ago
Chris Lu
ab86d263c9
add Cassandra
7 years ago
Chris Lu
603de2d5db
skip deletion if entry not found
7 years ago
Chris Lu
f124ebab1d
fix ordering
7 years ago
Chris Lu
869161a261
support both mysql and postgres
7 years ago
Chris Lu
87b3b84471
simplifying dirhash to 64bit integer
7 years ago
Chris Lu
955eae3500
this works great and support long file names
7 years ago
Chris Lu
2da84ed331
working fine now
but index length can be improved
7 years ago
Chris Lu
68bcaff14d
mysql can compile, not yet tested!
7 years ago
Chris Lu
c1e353491a
refactoring variable names
7 years ago
Chris Lu
828e4a5ace
fix test error
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
c34feca59c
refactoring
7 years ago
Chris Lu
72fc001d0d
remove unused code
7 years ago
Chris Lu
0a223838bd
refactoring
7 years ago
Chris Lu
a01557f4cb
adjust filer web page
7 years ago
Chris Lu
e18c7e160c
avoid empty chunk view
7 years ago
Chris Lu
d773e11c7a
file handler directly read from volume servers
this mostly works fine now!
next: need to cache files to local disk
7 years ago
Chris Lu
00d0274fd7
prepare to read from multiple file chunks
7 years ago
Chris Lu
e97c60cc10
avoid overwriting variables
7 years ago
Chris Lu
468514f525
reduce logs
7 years ago
Chris Lu
873868cc10
not working now
need to add file handler
7 years ago