Commit Graph

5152 Commits

Author SHA1 Message Date
Wu Huocheng
46bb136ee8 chore(master): update the codes according to review comments.#22834621
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
242eedf13d chore(client): restore the client codes.#22834621
Delete the codes that removing empty meta partitions.

Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
Wu Huocheng
6d881229b4 feat(master): Add freeze and clean empty meta partitions apis.#22834621
Signed-off-by: wu huocheng <wuhuocheng@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
4a30d7164c fix(master): Optimizing some http registration function of remotecache.#22913153
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
zhumingze
410e4545e1 feat(master): Support setting dp and mp cnt limit for different machines #22883514
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
6d18b6251e fix(flashnode): parent directory permission wrong cause block file creation failure.#22906620
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:37 +08:00
baihailong
057d9605da fix(cli): Restrict the valid and default values of the volume's remoteCache parameter.#22897624
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:26 +08:00
baihailong
a04d110270 fix(flashnode): when removing a flashnode it adds an idle one.#22890663
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
db3099e619 fix(flashnode): fix unit test error.#22876448
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +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
00b082d8d3 fix(flashnode): format some code and fix some test case error.#22692038
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
5083a406f0 fix(flashnode): add some metric for flashnode.#22837445
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
b550c3f4d8 fix(sdk): client can only select one flashnode in the same fg.#22802475
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:25 +08:00
baihailong
4a373f4b23 fix(flashcache): format some code and remove unsued code.#22692038
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
027f3aa40c fix(flashcache): use NewExtentRequestV2 instead of NewExtentRequest.#22696653
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
90798863ca fix(flashcache): format some code of flashcache.#22692038
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +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
7f31888f79 fix(flashnode): add block createtime and print it when expired.#22692038
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
e99b6e1af5 fix(master): add some debug log for flashnode.#22692038
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
18ca290acb fix(master): 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
0290520f25 fix(sdk): client remotecache connection pool capacity too small.#22687920
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
3d7896fc65 fix(client): client not release connection of flashnode immediately.#22653259
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
9025274e8e fix(flashnode): open file for block failed.#22642538
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
df36c10f1e fix(flashnode): flashnode hit count is not accurate.#22634423
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:45:09 +08:00
baihailong
034d6d36d5 fix(sdk): The client no longer updates the fg.#22636239
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:42:38 +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
2dbcda285b fix(client): client support configure remoteCacheFollowerRead.#22588611
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:31 +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
baihailong
4a6527d101 fix(master): The remotecache parameter is supported when creating a volume.#22575809
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:27 +08:00
baihailong
ecaa92b1be fix(flashcache): remoteCache update flashgroug twice one time.#22559610
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:26 +08:00
baihailong
5a6d4a70d9 fix(flashcache): volume remotecache configuration is invalid after restart leader master.#22550872
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:25 +08:00
baihailong
6f6d29a493 fix(flashcache): volume remotecache configuration is invalid after restart leader master.#22550872
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:24 +08:00
baihailong
d6b862922d fix(flash_cache): optimize get inode meta info when prepareCacheRequests.#22240020
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:23 +08:00
baihailong
3cbf7153ea fix(flash_cache): cache expires randomly in the 10% expiration time range.#22240020
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:20 +08:00
baihailong
7d186c8d52 fix(cache): overwrite or truncate leadto flashcache inconsistent.#22240020
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-07 15:19:18 +08:00
leonrayang
96bb7b66ef feat(doc): Add pic for introduction of flash cache
Signed-off-by: leonrayang <chl696@sina.com>

@formatter:off
2025-08-07 15:19:17 +08:00
leonrayang
30659caa84 enhance(client): enhance the check of slots for flashGroup create
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 15:19:15 +08:00
leonrayang
3f6243d8b4 update(client): debug and pass remote read process
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 15:19:14 +08:00
slasher
bf26b4bc3d feat(sdk): add common headers in sdk http client
. #22115371

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:13 +08:00
slasher
ecb0b49016 feat(util): add go ping for flash sdk
. #22200563

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:12 +08:00
slasher
c98e438814 feat(flash): enable volume config in master
. #22200580

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:11 +08:00
leonrayang
2e497bcd73 update(flashsdk): enable remote cache
Signed-off-by: leonrayang <chl696@sina.com>
2025-08-07 15:19:08 +08:00
slasher
d8396639d5 chore(cli): return errors to root of cmd
. #22200600

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:08 +08:00
slasher
a53b757e6d fix(flashnode): run testing in docker with no tmpfs
. #22200600

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:07 +08:00
slasher
2742e1ddb7 feat(master): add http args parser in master
. #22200600

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:06 +08:00
slasher
1877c03de8 feat(flashnode): turn on off client cache in master
. #22115371

Signed-off-by: slasher <mcq.sejust@gmail.com>
2025-08-07 15:19:05 +08:00
slasher
fccb8d1947 feat(flashnode): update client cache when status changed
. #22115371

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