Commit Graph

36 Commits

Author SHA1 Message Date
clinx
24baf89ef5 feat(flashnode): specify the number of origin-fetching goroutines
. #1000150848

Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-11 17:21:19 +08:00
clinx
07d2ba0be6 fix(flashnode): wait for the cache to start successfully before providing HTTP service #1000082949
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
baihailong
97612b6b20 feat(flashnode): enable statistic slot hit rate.#1000037792
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
f5783cd728 fix(flashnode): add write limit for flashnode
close:#1000023889

Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:02 +08:00
chihe
6a89226dc5 feat(flashnode): supports return to client directly if data is not cached
close:#1000014246

Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:01 +08:00
baihailong
5eef58052b feat(master): enable master config flashnode read timeout dynamically.#1000020016
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-08 14:51:45 +08:00
chihe
baa7412321 fix(flashnode): do not close channel twice
close:#1000016077

Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:51:44 +08:00
clinx
238bfdc555 feat(warmup): create flash manual task #22883846
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:42:10 +08:00
chihe
380b8dde52 fix(flashnode): reply to client as soon as possible
close:#23109728

Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:39:41 +08:00
clinx
19e4fdc075 fix(flashnode): record disk dimension to file read and write operations #23131609
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:30 +08:00
chihe
91965b0b44 fix(flashnode): use limitRead for read cache
close:#23123752

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:30 +08:00
chihe
9a1adf8212 fix(flashnode): use limitWrite for flashnode instead of disk
close:#23123752

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:30 +08:00
chihe
be79605ea0 fix(flashnode): read data source one by one
close:#23095482

Signed-off-by: chihe <chihe@oppo.com>
2025-08-07 16:00:30 +08:00
clinx
c27769e9f0 fix(flashnode): wait group for woker goroutine #23092015
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
clinx
28d975ce10 feat(flashnode): init load files using a separate coroutine for handling #23092015
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-07 16:00:29 +08:00
shuqiang-zheng
6c5f62ba89 feat(flashnode): load each disk's cacheBlock concurrently
close:#23103621

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:28 +08:00
shuqiang-zheng
72358a9bc0 feat(flashnode): Add a configurable item to control the number of cache loading goroutines.
close:#22831482

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +08:00
shuqiang-zheng
3cdea7d89f feat(flashnode): modify the upper limit of cachePercent and the defaultMaxUseRatio of lru.
close:#23080181

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 16:00:27 +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
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
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
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
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
cf338f6fa5 feat(flashnode): supports configurable lru capacity.
close:#22834016

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
607b49d953 fix(flashnode): optimize metrics of flashnode.#22876448
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
e56db1be36 fix(flashnode): enable config dataPath for flashnode. #22780994
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
bc5a500a5d fix(sdk): Optimize the delay of client obtaining flashnode connection.#22707944
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
bc7c769457 fix(flashnode): flashnode enable config enableTmpfs.#22664221
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
46d19b3182 fix(flashnode): fix some bug after rebase 3.4.0 #22665391
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
e0db394306 feat(flashnode): alerting when the hit rate is lower.#22633499
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:33 +08:00
baihailong
1998c55397 fix(flashnode): add statistical metrics for flashnode.#22559602
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:30 +08:00
slasher
459ec2f5e5 test(flashnode): add test case of flash node
. #22200518

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:03 +08:00
slasher
a3e89bcfaf feat(flashnode): refinement flashnode
. #22200504 #22200509

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:59 +08:00
slasher
b150a10a36 feat(flashnode): add service of flashnode
. #22115361 #22200518 of #21957840

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:18:46 +08:00