Commit Graph

5240 Commits

Author SHA1 Message Date
leonrayang
88ca620bf8 fix(datanode): Optimize io limiter exit process. #23059813
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
leonrayang
e0b6ed4060 feat(client): Reducing the log output of flow limiter #23059813
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
clinx
9df10b2063 fix(flashnode): reset test limiter#23061931
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
f3b98b69b1 fix(flashnode): open readlimiter for OpFlashNodeCachePrepare. #23061931
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
baihailong
58e68d9ef3 fix(flashnode): OpFlashNodeCachePrepare operation with flow control.#23061931
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
0152d00450 fix(objectnode): create reader or writer with corrected volume's type #23077454
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
ed5c20840b fix(master): prevent reentrant locking #22935828
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
9c29ebadac fix(client): add default value #23062821
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
chihe
279817ca50 fix(client): modify default value for remoteCacheReadTimeoutSec
close:#23047275

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
clinx
2de99277d2 fix(client): show client remote cache flag when call master client info #23062821
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:26 +08:00
zhumingze
c4f524a52f feat(master): Add state transition for fail status when deleting excess copie. #23036843
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:26 +08:00
chihe
07a308a7de fix(flashnode): change the type of metric for ReadBytes and ReadCount
close:#22200531

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:26 +08:00
Wu Huocheng
45afc5aee0 fix(raft): use raftfsm.replicas instead of get peers.@formatter:off
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:26 +08:00
Wu Huocheng
ed61daa568 feat(raft): display raft peers.@formatter:off
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 16:00:26 +08:00
leonrayang
30b221b2af feat(datanode): Return error if request is hung by io limiter and exceeds maximum wait time
. #23057829

Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 16:00:26 +08:00
zhumingze
da9e00409d fix(sdk): Cancel the check whether leaderAddr is empty when getting dataPartition. #23046693
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:26 +08:00
zhumingze
bb15923446 fix(sdk): Before quorum read, read requests to the leader are no longer retried. #23046791
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:26 +08:00
zhumingze
86f3053ed8 fix(sdk): Fix bug in quorum read. #23045300
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
596b79c286 fix(flashnode): check the type of error returned by flashnode
close:#23047275

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
b4a9c85ae6 feat(flashnode): add interfaces for manual inactive disk.
@formatter:off

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
fc3cddfc20 feat(flashnode): modify the name of the disk statistics in heartbeat reporting.
@formatter:off

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
ca7739bb6a feat(flashnode): fix possible eof issues when reading cacheBlock files.
close:#23037080

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
e0880fa4d0 feat(flashnode): clears the cache on flashNode when removing it.
close:#23003554

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
08639d8b52 feat(flashnode): add multi disk support.
close:#23021760

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
e90a0e933e feat(flashnode): clears the cache on flashNodes when removing them from the flashGroup.
close: #23003554

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
0054b8e5d4 fix(datanode): fix opening file error caused by not limiting the number of file handles.
close: #23013594

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
shuqiang-zheng
75d6aca05e fix(datanode): fixes for 1.read/write requests still being processed
2.log files not being found after service stopped.

close: #23013195

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
077d35fc53 fix(sdk): client not update fg even if flashgroup turn true after turn false last time.#23026799
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
fa1ce7515c fix(cli): if parameter remoteCacheMaxFileSizeGB not changed when update volume, stay the same.
. #23047778

Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
9a5d48ca84 fix(client): folder renamed or moved out of the cache directory will no longer be cached.
close:#23022505

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
f36f62b80c fix(client): update fullpath and pinos when excuting rename opration
close:#21990545

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
tangdeyi
77979034f5 fix(objectnode): add range get check
with #23042024

Signed-off-by: tangdeyi <tangdeyi@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
fe6e5acf47 fix(cubefs): fix some code format.
@formatter:off

Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
45b7ffdf60 feat(flashnode): Querying flashnode status prints the expiration time of the key value.#23040431
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
4d7e0c1997 fix(cli): when create or update volume, remoteCacheMaxFileSizeGB must greater than 0.#23034629
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
chihe
c999baf001 fix(client): try read from flashnode if dp is not avaliable
close:#23034648

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
6d04ae146c fix(cli): fix remotecache params when create volume.#23030205
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:25 +08:00
baihailong
e19232f374 feat(mastersdkcli): enable config remoteCache parameter by volume.
. #23020464

Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 16:00:11 +08:00
clinx
0d875b0a33 fix(object): stop update volume meta info when vol is deleted #22861848
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:57 +08:00
clinx
82ffd69b6b fix(object): stop update volume meta info when vol is deleted #22861848
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
a111204db9 fix(sdk): lcnode not register to master.#23017532
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
7bcd569001 fix(flashnode): add volume, clientIp, inode for DataSource.#23013250
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
zhumingze
eb88697dac feat(sdk): for inner req, only support request dp leader. #22931456
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
7e294e7f00 fix(master): deduplicate and remove contained for remote cache path
close:#23011064

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
6e662d30d9 fix(client): add full path for Dir and File
close:##21990545

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
3fa7ba4482 fix(clinet): remove node for dir when released
close:#21990545

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
chihe
c147758ca1 fix(client): remove node cache when file is released
close:#21990545

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
5c7dfe077f feat(flashnode): enable flashnode read timeout configured by the master.#22965528
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
eff580aea8 fix(flashnode): optimize flashnode log level.#22985948
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00
baihailong
f5d59a2eaa fix(sdk): not initial remotecache when NewExtentClient for lcnode and objectNode.#23010877
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:57 +08:00