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
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
cd47528a75
remove unused code
7 years ago
Chris Lu
cc66e25cd2
merge intervals
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
58954bf46f
pass file attributes from filer to mount
7 years ago
Chris Lu
c5cf9bd290
properly working filer
7 years ago