Commit Graph

4649 Commits

Author SHA1 Message Date
chihe
ecc4444490 fix(master): modify logic for reporting metric for diskError
close:#22771554

Signed-off-by: chihe <chihe@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
498260102c feat(util): set the default rotate size for audit logs to 1G #22858505
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
72e458fb73 fix(metanode): not close syncAtime chan. #22871509
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
23bf2cd91f fix(bcache): no cubefscache directory causes an error when starting bcache.#22870633
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3b6905a825 fix(sdk): support refresh dir log automatically. #22862286
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2cf7602bda refactor(meta): refactor delete migration eks log. #22869219
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d6630cb0e9 feat(sdk): use dir lock to prevent multiple trash from running concurrently. #22862286
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
edcad2d620 refactor(lcnode): rename variable name writeGen to leaseExpire. #22855673
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
306132d83d fix(util): modify clean logic of audit log and add test case #22858505
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
eec42fcec6 feat(cli): support cli to display vol used size based on dp media type #22853006
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
0b81daa151 refactor(meta): refactor client lease logic. #22855673
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
tangdeyi
3461b0873d fix(objectnode): close volume loadOSSMeta task when volume is deleted
with #22861848

Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
1f5145a4a2 feat(fsck): add CheckMP command to detect inconsistency among mp copies #22779997
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
zhumingze
18ae97d850 feat(cmd): enable pprof configuration for signle-node deployment #22779997
Signed-off-by: zhumingze <zhumingze@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
0a7b6fda95 fix(meta): to avoid write EXTENT_DEL_V2_xx header twice. #22860885
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
14a53f9143 fix(libsdk): when start client NewStatistic one time.#22784741
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
78a4d47548 fix(sdk): optimize refreshSummary code.#22854234
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
791f044a45 fix(sdk): if not find inode of dentry when refreshSummary, skip it.#22828321
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
bc661949db fix(skd): add total access file size.#22826411
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
97583eba3c fix(skd): add directory access file info statistics of storage type.#22789777
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
d07f5c4fd0 fix(skd): add directory access file capacity statistics.#22784741
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
42b068c4e6 fix(sdk): optimize tool, use ReadDirLimit_ll instead of ReadDir_ll when get dentry.#22724074
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
43e1e007b7 fix(sdk): according to the access time statistics directory files.#22724074
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
leonrayang
498f7ecbbc feat(metanode): disable the process related to snapshots if snapshots are switched off
close:#22404072

Signed-off-by: leonrayang <chl696@sina.com>
2024-12-26 09:24:22 +08:00
Victor1319
b99f674824 feat(meta): support return real atime for batchIget api. #22853172
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
f9c2f49204 fix(meta): don't block extent delete req when no success exts. #22852635
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
e3abe5fc97 fix(master): update bcache report info. #22845037
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
02c720959b fix(meta): when no error break for loop. #22832968
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
fa2e7a4cdf feat(master): support report whether enable bcache for client. #22845037
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a5be7f5c7b fix(sdk): add panic log when invoke getRetryIntervalTimeOut.
#22840499

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3a8f5eb3f8 feat(master): support query all client ip from master. #22834669
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
824098f801 refactor(lcnode): hybrid cloud lifecycle rule prefix check #22726594
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
d15462b427 fix(master): check zone type when add datanode node. #22832968
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
2030e66068 fix(meta): ignore get dp partitions error when create mp. #22832968
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Cloudstriff
c822f9de20 feat(rpc): add metrics filter config for auditlog
with #22357724

Signed-off-by: Cloudstriff <chenjiongwendao@qq.com>
2024-12-26 09:24:22 +08:00
Victor1319
ced8ca0978 feat(masterdata): add config to control whether vol read direct disk. #22818122
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
ab8217379e refactor(datanode): refactor data read and write performance. #22504692
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
6e9caa9131 refactor(meta): refactor dir lock and unlock logic. #22659556
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
8a7a949f96 refactor(master): set forbidWriteOfProtoVer0 as true for new vol. #22825400
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
a3a34e787f fix(master): fix RUnlock failed when invoke AllPartitionForbidVer0. #22822061
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
b894dfa082 fix(bcache): fixed bcache server can start multiple processes.#22808275
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
1fa202e06d refactor(sdk): for inner req, only support request mp leader . #22818553
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
2015d02b78 fix(client): optimize bcache switch names and debug logs.#22814877
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
7b8801af4e test(docker): support run in hybrid way for docker mod. #22816675
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
fba5a5d6f3 refactor(master): check vol forbidden write type when add vol storage class. #22814514
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
7c9e2aa7f9 fix(master): not show Unspecified storage class in allowed storage class. #22812125
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
3825cad310 refactor(sdk): support limit tiny extent buf size. #22811542
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00
baihailong
d6c575eff4 fix(sdk): when enable bcache maybe leadto bad file descriptor.#22812246
Signed-off-by: baihailong <baihailong@oppo.com>
2024-12-26 09:24:22 +08:00
zhaochenyang
ad04648370 refactor(lcnode): hybrid cloud lc scanner skip trash dir #22797969
Signed-off-by: zhaochenyang <zhaochenyang@oppo.com>
2024-12-26 09:24:22 +08:00
Victor1319
07762e229e refactor(meta): use bufio to write sanpshot data. #22785311
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2024-12-26 09:24:22 +08:00