Set out message buffer size to max read size, since we won't be needing
such a big buffer if it is larger than max read size.
Signed-off-by: Shuoran Liu <shuoranliu@gmail.com>
Enable FUSE async read feature by default, so that readahead can take
effect to improve sequential read performance.
Signed-off-by: Shuoran Liu <shuoranliu@gmail.com>
1.add ump warn packet
2.partition has recover,but the status don't change
3.remove redundancy calling loadMetaData method
4.reload meta data when change leader
metanode:
1. add totalMem in configFile
2.change not raft leader to tryOtherAddr error
datanode:
1.when datapartition not exsit,tell client with proto.OptryAgain resultcode
2.change disk retrain default space to 20gb
3.heartbeat report add volname
raft:
1.use raft.ErrNotLeader replace ErrNotLeader
2.raft became leader must apply from oldapplyid to commitid
client:
1. create a dummy node instance if inode does not exist
2. add ump alarm for read/write/fsync errors
log:
1. auto create subdir to logdir
error:
1.delete juju error packet
1.try other hosts for network errors
2.use single instance for File and Dir object
metanode:
1.use tcp packet notify all raft followers to free inodes
datanode:
1.remove read check appliedID
2.change extentcache fp to 100
3.fix always repair has delete extents
repl:
1.modify funcName from reciveFromFollower to checkLocalResultAndReceiveFromFollower