Commit Graph

823 Commits

Author SHA1 Message Date
Victor1319
6283610ad4 fix(meta): fix meta panic when log extent info. #1000286609
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit aae1646931)
2025-12-24 17:01:07 +08:00
zhumingze
69c99eb657 fix(master): Optimize fileStats related interfaces. #1000240718
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:19 +08:00
Wu Huocheng
503a930226 fix(metanode): replace runtime.GC with debug.OsFreeMemory.#1000228535
The runtime.GC may cause metanode lose heartbeat.

Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:19 +08:00
zhumingze
d2c97826a1 fix(meta): fix log problem. #1000223743
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:19 +08:00
Wu Huocheng
8df607c853 fix(master): select another meta node as leader.#1000218883
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
Victor1319
0a6b6b0804 fix(meta): Compatible with cache read scenarios. #1000218172
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
0aabac43db fix(all): Downgrade some log levels from error to warn. #1000202936
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:18 +08:00
Wu Huocheng
2145fa9ec4 fix(master): Add freeze meta partition stage two.#1000208370
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:18 +08:00
zhumingze
0d4899662e fix(meta): Fix meta panic caused by fileStats. #1000183416
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:17 +08:00
baihailong
ebbc9c35a5 fix(clientmeta): remove client enableSummary and meta not support UpdateXAttr.#23129966
Signed-off-by: baihailong <baihailong@oppo.com>
2025-08-11 17:21:17 +08:00
Victor1319
809d023e9e refactor(vendor): user smux in depends to replace pkg in vendor. #1000193713
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
7cc6f6f361 fix(meta): Add logs to troubleshoot meta panic. #1000183416
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
zhumingze
12895d975f feat(meta): Add readDir iops limiter. #1000187434
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:16 +08:00
Victor1319
2d622c907d fix(meta): msg sent back to the master process async to prevent blocking the connection
. #1000187177

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
886c93c180 fix(meta): check and rename old raft dir if exist. #1000187608
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
Victor1319
cc29b3c706 refactor(meta): add warn log for mp create . #1000182796
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:15 +08:00
leonrayang
901614ae0b feat(metanode): Add interface of reloadMp to enable online reload metapartition #1000171136
Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:14 +08:00
leonrayang
7d5ad3adf4 feat(metanode): Add raft members consistent check with master hosts in metanode member check
. #1000165698

Signed-off-by: leonrayang <changliang@oppo.com>
2025-08-11 17:21:14 +08:00
Wu Huocheng
443770c908 fix(metanode): skip the deleted inodes.#1000172889
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
2025-08-11 17:21:14 +08:00
Victor1319
2729a407c7 fix(meta): start freelist after init objMetaWrapper. #1000161320
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-11 17:21:14 +08:00
Victor1319
bb22d0d0c9 refactor(meta): not output error log for not exist error. #1000139297
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
Victor1319
3b09c5205d fix(meta): getExtents func not update inode self. #1000152321
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
c8176fc7fc fix(master): add upper and lower limit judgment when setting gogc value
overwrite is been allowed when dp decommission.

close:#1000011090 #1000161090

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
shuqiang-zheng
a35f51ba73 fix(master): extent deletion and business writes are forbidden when dp is repair.
close:#1000121688

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-08 14:59:31 +08:00
zhumingze
c260b7db0c fix(meta): fix fileStats bug. #1000140349
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:30 +08:00
Victor1319
e5abe1b66c refactor(meta): add audit log for append operation. #1000132254
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
317a47f1d3 fix(meta): fix old inode delete file remove failed bug. #1000125136
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
leonrayang
4d7a690690 fix(metanode): Remove the logic of real-time calculation of the incremental data of the Quota
. #1000112797

Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:29 +08:00
leonrayang
0b58792d6d fix(metanode): Remove the logic of real-time calculation of the incremental data of the UID.
.  #1000112797

Signed-off-by: leonrayang <chl696@sina.com>
2025-08-08 14:59:29 +08:00
Victor1319
5ea1d37f21 refactor(meta): refactor inode and dentry muti version code. #1000114612
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
72dc99de1f refactor(meta): refactor code and testcases. #1000114612
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
388b1cb7cf refactor(meta): add bench testcase for inode marshal. #1000114612
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:29 +08:00
Victor1319
6f209ae5e9 feat(meta): Optimize the memory alignment of inode and dentry fields. #1000114802
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
c296a62206 feat(meta): add testcase for inode and dentry marshal. #1000114612
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
cd12bd7e6b feat(meta): use buf pool to refactor load snapshot. #1000105253
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
3059c4c9b7 feat(meta): use buf pool to refactor dentry marshal func. #1000100705
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
3ad0f3d01f feat(meta): use buf pool to refactor inode marshal func. #1000094350
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:28 +08:00
zhumingze
86aa5c6a06 fix(meta): Perform fileStat once during mp load and config change. #1000102780
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:28 +08:00
Victor1319
ae766477e7 fix(meta): fix file stats init issue. #1000094081
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
36936cafd8 feat(data): refactor tiny extent delete logic. #1000089221
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
62b28d0626 refactor(fmt): use gofumpt to format code. #1000063488
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
c3ccdfc7e2 refactor(sdk): remove dp cache code from sdk, client, cli. #1000063488
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
Victor1319
d66cd51bec refactor(meta): remove dp cache code from metanode. #1000063486
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
zhumingze
d7182d70bd feat(datameta): Record the read-only reason for dp&mp replicas. #1000060034
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
8986320af9 feat(mastermeta): support set fileStats thresholds. #1000047869
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
aafa2f3f87 feat(meta): Statistics of inode and dentry numbers by volume. #1000048141
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
zhumingze
4e54422a61 feat(meta): support volume file statistics. #1000047865
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-08 14:59:26 +08:00
clinx
8c35095b29 fix(metanode): change inode out of range message to warn #1000082017
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:59:24 +08:00
clinx
261d6068d9 fix(metanode): change over quota message to warn #1000082017
Signed-off-by: clinx <chenlin1@oppo.com>
2025-08-08 14:52:12 +08:00
chihe
964a6be097 fix(metanode): if vol is deleted, do not try to get the view of vol
close:#1000018506

Signed-off-by: chihe <chihe@oppo.com>
2025-08-08 14:52:03 +08:00