Commit Graph

5212 Commits

Author SHA1 Message Date
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
clinx
56fc4fa9b1 fix(data): outofslice error #22883846
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:57 +08:00
clinx
2b0f857d01 feat(data): compatible json serialization for old datanode. #22883846
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:56 +08:00
clinx
0eb05bd9f7 feat(data): compatible json serialization for old datanode. #22883846
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:56 +08:00
clinx
e3ae2ea3f1 feat(data): change extentinfo serialize for getting remote extend info#22883846
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
b0807770c3 fix(objectnode): return error message when encountering internal err
close:#22997834

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
c65d6c19df fix(lcnode): init ExtentConfig with metaWrapper
close:#23007284

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
621017b3b3 fix(client): cache all files if remoteCachePath is empty.
close:#23002423

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
639a696545 fix(bcache): reduce memory consumption for bcache-service
close:#22775703

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
zhumingze
1a20920be2 feat(datameta): Modify gcRecyclePercent to be configurable. #22995150
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
8d81c6d2f0 fix(cli): Restrict cli only execute httpStat and httpEvict on the flashnode of the cluster.#22983845
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
12917180d4 fix(master): fix dead lock for flashnode
close:#22985995

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
zhumingze
5e57eb1ecd feat(master): Add maximally-read config in master for better management. #22931456
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:56 +08:00
zhumingze
cbdcb01411 feat(sdk): support read quorum when dp no leader. #22931456
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
dcc1b828ab refactor(client): Increase the timeout period for blobstore client
close:#22897285

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
745261d31a fix(flashnode): modify log level for cacheBlock load failures.
close:#22985948

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
3d7c4917c2 fix(flashnode): optimize flashnode list cost time.#22989953
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
836108a02c fix(flashnode): optimize log level when cachePrepareTaskCh has been full.#22985948
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
46c323c25e fix(sdk): if not enable followerread, flashnode only read from dp leader.#22972336
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
969df96cb7 fix(cli): fix flashgroup info too many blank line and limit max weight of flashgroup.#22981269
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
fbc5634f63 fix(master): when master not find flashnode zone leadto panic.#22983373
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
baihailong
f6a8a544c2 feat(flashnode): supplement flashnode info for http interface flashnode/get.#22975706
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:57:56 +08:00
chihe
94253b719d feat(client): remote cache supports specify dir
close:#22897285

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
ca2eb33605 fix(flashnode): modify the name of the cache size and ratio configuration item.
close:#22963423

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
f883980012 fix(flashnode): fix slow source return in case of concurrent cache reads.
@formatter:off

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:56 +08:00
shuqiang-zheng
76007c2d8d fix(flashnode): same cacheBlock may be created multiple times.
close:#22922141

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:57:40 +08:00
shuqiang-zheng
110075c431 feat(flashnode): data cache supports persistence and caching limit the number of file handle.
close:#22886884 #22886873

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:54 +08:00
shuqiang-zheng
101f0e0099 fix(flashnode): fix the problem of high cpu due to frequent gc on flashnode.
close:#22872898

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:54 +08:00
shuqiang-zheng
1cfd66ec91 fix(flashnode): fix low performance due to traversing keys in fetch status.
close:#22838790

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:37 +08:00