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
5 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
Chris Lu
4598473251
fix possible EOF problem
5 years ago
Chris Lu
5d0e1d8d74
also writes to local meta cache
before waiting for subscribed meta events
5 years ago
Chris Lu
9cacaf5eca
better detect file mime type
5 years ago
Chris Lu
13ab1fdaf0
mount: use file default permission 0666
5 years ago
Chris Lu
56ec8c4513
fix to avoid nil file an dirty pages
5 years ago
Chris Lu
006f78b70b
make a copy of request data
to avoid concurrency issues
5 years ago
Chris Lu
6630541399
ensure correct file size when opening existing files
5 years ago
Chris Lu
9dc0b1df8f
refactoring to compile for windows OS
windows os does not like to work with fuse
5 years ago
Chris Lu
826bc0b7e3
FUSE: add chunk cache for recently accessed file chunks
5 years ago
Chris Lu
d1439c5bd3
fix FUSE read for large files
FUSE expects ReadAt do not return partial filled buffer with a nil error.
5 years ago
Chris Lu
7f0d87b206
tree structured fs cache
FsCache for FsNode, wrapping fs.Node
5 years ago
Chris Lu
ae2ee379c0
consistent 64bit size
5 years ago
Chris Lu
65d2ea9fb0
FUSE mount: stream read data with buffer
fix https://github.com/chrislusf/seaweedfs/issues/1244
5 years ago
Chris Lu
97ab8a1976
remove ctx if possible
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
6ab7368ef2
filer: dynamically create bucket under /buckets folder
5 years ago
Chris Lu
2f6bb57979
logging
5 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
5 years ago
Chris Lu
c48fc8b4de
grpc send error via response instead of grpc error
5 years ago
Chris Lu
4433c7bdca
logs
5 years ago
Chris Lu
24f62ebe76
minor changes
5 years ago
Chris Lu
9d93c83654
mount: return IO error for mkdir
5 years ago
Chris Lu
c936a12afa
mount: update the file size so file Attr() can read
if file Attr() during file writes, the OS, at least for Mac, may try to resend the data to write, which usually are empty.
5 years ago
Chris Lu
c2e589f202
mount: better combines connected intervals to write to volume servers
5 years ago
Chris Lu
6b48d246a5
mount: read data that is just written
able read on data not flushed
multiple file open shares the same file handle
fix https://github.com/chrislusf/seaweedfs/issues/1182 on linux
5 years ago
bs106
ce79a31448
Fix missing leading dot in extension
5 years ago