Chris Lu
f4abd01adf
filer: cache small file to filer store
4 years ago
Chris Lu
06ee199ef3
ensure entryViewCache is in sync with the chunks
4 years ago
Chris Lu
7d5db73d98
go fmt
4 years ago
Chris Lu
a9662d44ac
avoid closing chunkSaveErrChan too early
4 years ago
Chris Lu
e219c57849
passing full path when assign volume locations
4 years ago
Chris Lu
da36abf033
go fmt
4 years ago
Chris Lu
71624858af
avoid reusing cached []byte
this logic is just to ensure 100% correct.
fuse message, data+message hearder > 512 will not be cached.
4 years ago
Chris Lu
3bf0116de1
mount: less channel waiting
4 years ago
Chris Lu
ad652ffb97
avoid close closed channel
4 years ago
Chris Lu
20442dc1bc
avoid extra data copying
4 years ago
Chris Lu
c0ab458671
report nil instead of EOF for empty files
related to https://github.com/chrislusf/seaweedfs/issues/1541
4 years ago
Chris Lu
09bab17aff
mount: avoid "send on closed channel"
4 years ago
Chris Lu
d598c47136
log errors
4 years ago
Chris Lu
5039aff310
release the goroutine to read errors
4 years ago
Chris Lu
e714c28a02
mount: async write file chunk
4 years ago
Chris Lu
cff8bb6554
return proper error
4 years ago
Chris Lu
7e1aad0b54
mount: map uid/gid between local and filer
4 years ago
Chris Lu
eb7929a971
rename filer2 to filer
4 years ago
Chris Lu
33d8c6c617
change log to warning
4 years ago
Chris Lu
e62d7f221f
a bit more logs
4 years ago
Chris Lu
22fe4ae573
mount: fix for UrBackup
4 years ago
Chris Lu
063c9ddac5
adjust logs
4 years ago
Chris Lu
ca658a97c5
add signatures to messages to avoid double processing
4 years ago
Chris Lu
51346a5930
always keep the manifest list of chunks
4 years ago
Chris Lu
c1d1677a28
keep manifest chunks forever
4 years ago
Chris Lu
aee27ccbe1
multiple fixes
* adjust isOpen count
* move ContinuousDirtyPages lock to filehandle
* fix problem with MergeIntoVisibles, avoid reusing slices
* let filer delete the garbage
4 years ago
Chris Lu
f48567c5c6
remove unused function
4 years ago
Chris Lu
839634097f
also do flush on release
4 years ago
Chris Lu
618b2f6829
release resources only when needed to
4 years ago
Chris Lu
208849702d
logs
4 years ago
Chris Lu
1fcd083db3
printout data size
4 years ago
Chris Lu
abdaf9958d
possibly read more
4 years ago
Chris Lu
9d46c7bc78
rename
4 years ago
Chris Lu
f5837b7000
report error first
4 years ago
Chris Lu
2ac27616bc
fix possible out of range bytes
avoid buff out of range resp.Data = buff[:totalRead]
4 years ago
Chris Lu
22e5132b3a
adjust log level
4 years ago
Chris Lu
ee0f92a6be
reduce memory allocation
4 years ago
Chris Lu
4a77f0820a
clean up logs
4 years ago
Chris Lu
aec7f32b02
fix reader_at
4 years ago
Chris Lu
003d48da21
adjust logs
4 years ago
Chris Lu
c647deace1
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
4 years ago
Chris Lu
edfa73782f
adjust log level
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago
Chris Lu
d40de39e75
FUSE: do not change crtime, uid, gid on save
4 years ago
Chris Lu
8dfeba8023
FUSE: skip changing to empty uid and gid during flush
Skip uid and gid changes if request uid and gid are zero
mongodb lock file, and many interim files, has empty uid and gid
I0724 10:05:51 93643 filehandle.go:173] /db/diagnostic.data/metrics.interim fh 1333342842031408359 flush Flush [ID=0x3 Node=0x50 Uid=0 Gid=0 Pid=178] 0x10 fl=0x0 lk=0x0
4 years ago
Chris Lu
97d97f3528
go code can read and write chunk manifest
4 years ago
Chris Lu
9033a7d369
removed async option
5 years ago
Chris Lu
1bb8cae65d
reverting and working
5 years ago
Chris Lu
e8e0d629af
ensure correct file mode
5 years ago
Chris Lu
628b27ef3b
purge old cache implementation
5 years ago