Chris Lu
c48fc8b4de
grpc send error via response instead of grpc error
2020-01-25 09:17:19 -08:00
Chris Lu
ccf3859152
log
2020-01-25 08:16:43 -08:00
Chris Lu
4433c7bdca
logs
2020-01-25 07:34:09 -08:00
Chris Lu
8cccccce9f
mount: reuse the entry object for the new directory
...
avoid mkdir and then query for the same directory
reduces these "context canceled" issues
attr read directory:"/seaweedfs/other/java/s3copier/src/main/java/com" name:"seaweedfs" : rpc error: code = Canceled desc = context canceled
2020-01-25 01:15:54 -08:00
Chris Lu
90e30c0170
log
2020-01-25 00:32:18 -08:00
Chris Lu
8a42aa8221
adjust logging
2020-01-25 00:31:53 -08:00
Chris Lu
24f62ebe76
minor changes
2020-01-24 10:02:53 -08:00
Chris Lu
5f1109f143
reduce log
2020-01-24 01:41:51 -08:00
Chris Lu
9d93c83654
mount: return IO error for mkdir
2020-01-24 01:41:31 -08:00
Chris Lu
107e8a56ea
retry context canceled request
2020-01-24 01:40:51 -08:00
Chris Lu
2f75264ec7
mount: avoid use uint64 for greater than zero test
2020-01-23 22:12:57 -08:00
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.
2020-01-23 21:59:58 -08:00
Chris Lu
c2e589f202
mount: better combines connected intervals to write to volume servers
2020-01-22 23:00:04 -08:00
Chris Lu
72e1aff237
add lock on dirty pages
2020-01-22 15:38:25 -08:00
Chris Lu
66ded8804a
adjust logging
2020-01-22 15:37:59 -08:00
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
2020-01-22 13:42:03 -08:00
Chris Lu
09f4ceef3a
mount: reuse previous file node
2020-01-22 11:43:43 -08:00
Chris Lu
d4e75a0d18
filer: option to create file only if it is new, O_EXCL
2020-01-22 11:42:40 -08:00
Chris Lu
fca6152c3a
fix print format
2020-01-20 20:24:23 -08:00
Chris Lu
a990ef2106
mount: fix problems found in issue 1182
...
fix https://github.com/chrislusf/seaweedfs/issues/1182
always use the non-duplicated fs.Node
Forget() the fs.Node
Rename will also use the right fs.Node
Avoid using the same file handle for the same file
2020-01-20 20:21:01 -08:00
Chris Lu
630f72f8c5
mount: able to trim a file
2020-01-20 00:00:08 -08:00
Chris Lu
1b0bfbaf59
refactoring
2020-01-19 23:59:46 -08:00
Chris Lu
2f15e93466
mount: rename also clear the cache
...
fix https://github.com/chrislusf/seaweedfs/issues/1182
2020-01-19 12:31:56 -08:00
Chris Lu
04019aa161
mount: deletion ignore old vid
2020-01-19 12:07:26 -08:00
Chris Lu
6a40c688e0
mount: modify file size
2020-01-19 12:07:04 -08:00
Chris Lu
39edcfde4c
filer: set inode
...
avoid "getcwd: No such file or directory"
2020-01-19 12:06:19 -08:00
Chris Lu
e9bb0c179f
adjust logs
2020-01-18 13:25:17 -08:00
Chris Lu
061a61e018
logs
2020-01-15 19:09:00 -08:00
Chris Lu
230a0e4a33
filer: no entry if not found
2020-01-15 19:08:54 -08:00
Chris Lu
8a2d529759
go fmt
2019-12-23 12:48:53 -08:00
Chris Lu
2f21beaccd
loading xattr value
2019-12-17 21:45:32 -08:00
Chris Lu
c42b023960
mount: invalidate xattr
2019-12-17 20:38:56 -08:00
Chris Lu
9c781da34a
mount: fix nil directory problem
2019-12-17 15:08:38 -08:00
Chris Lu
ee6952fddd
twaking
2019-12-17 14:03:57 -08:00
Chris Lu
f27a1abf1c
mount: fix dir nil
2019-12-17 13:50:32 -08:00
bs106
ce79a31448
Fix missing leading dot in extension
2019-12-17 09:47:12 +00:00
Chris Lu
5961e0d9eb
fix logging
2019-12-15 22:24:06 -08:00
Chris Lu
33b4b1868b
mount: support extended attributes
2019-12-15 21:07:01 -08:00
Chris Lu
392678f8f3
upload skipping mimetype if not needed
2019-12-15 20:57:08 -08:00
Chris Lu
33da30d2b1
tweak
2019-12-14 11:04:20 -08:00
Chris Lu
de3eb7c380
update cache if updating the attributes
2019-12-13 11:14:09 -08:00
Chris Lu
357ea4b944
rm will clean the cache first
2019-12-13 11:08:26 -08:00
Chris Lu
deb249736e
fix nill
2019-12-13 10:35:23 -08:00
Chris Lu
f59119cd1d
mount: rename to dirListCacheLimit to configure cache for long format directory list
2019-12-13 10:22:24 -08:00
Chris Lu
3e0cd122d8
mount: directory listing cache ttl set to 5 minutes
2019-12-13 10:08:27 -08:00
Chris Lu
05c3b795dc
filer: configurable directory list cache size
2019-12-13 10:05:43 -08:00
Chris Lu
0fa1269bc7
filer: streaming file listing
2019-12-13 00:22:37 -08:00
Chris Lu
d0b423bbc0
filer: increase directory listing pagination size
2019-12-12 09:11:10 -08:00
Chris Lu
f51a6d8ba5
increase filer pagination limit
2019-12-11 22:21:37 -08:00
Chris Lu
40ff4eea14
fix nil problem
2019-12-10 23:13:14 -08:00