Commit Graph

8 Commits

Author SHA1 Message Date
leonrayang
d6e066f899 fix(util): improve the code style according to warnings from code check 2024-12-26 09:24:22 +08:00
slasher
b34dfb8de0 chore(util): add default of switch, update err judgment
@formatter:off

Signed-off-by: slasher <shenjie1@oppo.com>
Signed-off-by: JasonHu520 <huzongchao@oppo.com>
2024-07-29 15:13:21 +08:00
leonrayang
7c1382d762 feat(reconstruct): reconstruct code
Signed-off-by: leonrayang <changliang@oppo.com>
2024-03-27 14:24:50 +08:00
S9054862
54fad0d873 fix(util): disable gohook by default
close: #21985685

Signed-off-by: S9054862 <huangzhibin1@oppo.com>
2024-03-27 14:24:50 +08:00
NaturalSelect
39ea37d240 enhance(all): flush log before panic
close: #1910

Signed-off-by: NaturalSelect <2145973003@qq.com>
2024-02-08 14:45:55 +08:00
lily-lee
a8620dc1e9 fix(code scan): fix code-scanning problems.
Signed-off-by: lily-lee <lilylee88756@gmail.com>
2023-11-28 12:32:15 +08:00
leonrayang
9a30b9f884 update: update to CubeFS
Signed-off-by: leonrayang <chl696@sina.com>
2022-08-22 18:16:09 +08:00
awzhgw
36d97f1034 master:
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
2019-04-30 09:31:58 +08:00