Commit Graph

1514 Commits

Author SHA1 Message Date
chihe
81643df8cb fix(master): add triggerCondition for dataNode balance
@formatter:off

Signed-off-by: chihe <chihe@oppo.com>
2025-12-24 19:31:51 +08:00
Victor1319
d8638e22b5 refactor(master): use IsDeleted for volume status checks.
close:#1000542120

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 0ad5c80c05)
2025-12-24 17:01:36 +08:00
chihe
b47bc52042 fix(client): fix putAheadReadBlock Blocking issue
close:#1000412030

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit ccb7de44bb)
2025-12-24 17:01:35 +08:00
shuqiang-zheng
846adfbad5 fix(master): adjust shutdown order of disk/DP decommission goroutines on leader change.
close: #1000520724

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 31aaaf00ad)
2025-12-24 17:01:34 +08:00
shuqiang-zheng
34bdb46979 fix(master): check diskErr only for markDecommission DPs.
close: #1000511821

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit e485333226)
2025-12-24 17:01:34 +08:00
zhumingze
a1c14cbcb3 fix(master): logic adapts for decommission parts of the dp on the node. #1000441588
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit 09adcf3912)
2025-12-24 17:01:33 +08:00
shuqiang-zheng
606dd18675 fix(master): set decommissionFail only after removing all failed DPs from queue
close: #1000479261

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 54d63c4424)
2025-12-24 17:01:32 +08:00
Victor1319
cbbead5859 fix(master): avoid to invoke partition lock in dpmap func.
close:#1000459767

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 03cb604303)
2025-12-24 17:01:31 +08:00
shuqiang-zheng
61ff222b32 fix(master): fixed an issue where disks successfully decommissioned were re-marked .
close: #1000412387

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit d4ecea0527)
2025-12-24 17:01:25 +08:00
zhumingze
7b39125377 fix(master): Modify the display information of lostDisk status. #1000409772
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit f384d50b27)
2025-12-24 17:01:25 +08:00
clinx
c02f9bc031 fix(flash): check for a stop event when receiving a pause command
with: #1000394421

Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 7f484f126f)
2025-12-24 17:01:23 +08:00
clinx
cd086fcb46 fix(flash): warm up task set force remote cache true
with: #1000390069

Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 272660d7cb)
2025-12-24 17:01:22 +08:00
clinx
144674ee30 feat(falsh): check file size limits for warm up task
with: #1000383519

Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 03ae1861c7)
2025-12-24 17:01:22 +08:00
shuqiang-zheng
5251e6a78f feat(master): Record the decommission term when the dataNode is decommissioned.
close: #1000362788

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 8a0b0e5b67)
2025-12-24 17:01:21 +08:00
shuqiang-zheng
2b3734bdad fix(master): fix the issue about dp marked decommission state.
close: #1000365149

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit e17f460bd2)
2025-12-24 17:01:21 +08:00
shuqiang-zheng
1c580ae8ab fix(master): display the weight and decommission type.
close: #1000362788

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit ef8d06e97e)
2025-12-24 17:01:20 +08:00
shuqiang-zheng
a721af2489 fix(master): fix issue about querying the decommissioning progress of a disk.
close: #1000362788

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 45d91e1387)
2025-12-24 17:01:18 +08:00
shuqiang-zheng
f4ff24068e fix(master): fix an issue about maximum rollback count.
close: #1000359057

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 53ef100852)
2025-12-24 17:01:18 +08:00
shuqiang-zheng
97855da728 fix(master): fix the issue of inaccurate disk and node decommission progress due to leader changes.
close: #1000349627

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 65ac8ca7b2)
2025-12-24 17:01:17 +08:00
clinx
e9e4a82869 fix(flash): the master distributes the flashkeylimit value
with: #1000356686

Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:16 +08:00
Victor1319
d1291ff9f0 fix(cluster): update infos to handle discard partitions.
close:#1000355377

- Modify function signature to include ignoreDiscard parameter
- Update logic to skip discarded data partitions when requested
- Ensure compatibility with existing data node retrieval logic

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit d24e646004)
2025-12-24 17:01:15 +08:00
clinx
d10274f4a4 fix(flash): config client flow limit by master
with: #1000347719

Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:14 +08:00
clinx
3aa98d5fae fix(flash): pull handleReadTimeout when flashnode start
with: #1000347719

Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit dfa3e22413)
2025-12-24 17:01:14 +08:00
shuqiang-zheng
4b3a8708ce fix(master): Optimize the reporting metrics for bad disks that fail to decommission promptly.
close: #1000336199

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit dfcc603a03)
2025-12-24 17:01:12 +08:00
shuqiang-zheng
08b78954ca fix(master): fix an issue where token might consume twice.
close: #1000336199

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 654d5bfcf2)
2025-12-24 17:01:12 +08:00
zhumingze
8960c9388e fix(master): Don't show disk decommissionSuccess alerts triggered by node decommission.
.#1000336575

Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit 2f64db405b)
2025-12-24 17:01:11 +08:00
Victor1319
c68437384a fix(master): enhance error handling in getVolSimpleInfo
close:#1000337685

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit f47bc8ba9e)
2025-12-24 17:01:10 +08:00
shuqiang-zheng
0663e062b8 feat(master): check vol deletion when traversing dp decommission queue.
close: #1000329496

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 37db5cf3b1)
2025-12-24 17:01:10 +08:00
shuqiang-zheng
17b991b351 feat(master): add status update records to dp decommission process for querying.
close: #1000329528

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-12-24 17:01:10 +08:00
shuqiang-zheng
eab8a04023 feat(master): add retries for ignore dataPartitions during disk decommission.
close: #1000329518

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit e1165a242e)
2025-12-24 17:01:09 +08:00
shuqiang-zheng
1c0a800f93 fix(master): add display of remainingDpCnt when querying disk or dataNode decommission progress.
close: #1000329505

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit 83748a2a03)
2025-12-24 17:01:09 +08:00
Victor1319
e2ef7066d7 fix(master): reset leader node stat when leader change. #1000317232
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
(cherry picked from commit 2b7fe94f49)
2025-12-24 17:01:07 +08:00
clinx
82d52a297d fix(master): long-term unused slot activation employs a gradual addition approach.
with: #1000292905

Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit bdf08f93a5)
2025-12-24 17:01:06 +08:00
clinx
7b773fbebb fix(flash): store fg slots when slots changed
with: #1000292546

Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit bdf1f207bd)
2025-12-24 17:01:06 +08:00
zhumingze
ff1f157f20 fix(master): add some log to locate migrate mp problem. #1000295064
Signed-off-by: zhumingze <zhumingze@oppo.com>
(cherry picked from commit f6359bf1e8)
2025-12-24 17:01:04 +08:00
chihe
789acc67c5 feat(master): call sdk of flashgroupmanager
close:#1000151163

Signed-off-by: chihe <chihe@oppo.com>
2025-12-24 17:01:03 +08:00
clinx
763517e3c1 fix(flash): set read and write flow by master
with: #1000285575

Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:01:02 +08:00
clinx
62eece5dc5 fix(flashnode): change the flashnode report time during leader chang #1000275887
Signed-off-by: clinx <chenlin1@oppo.com>
(cherry picked from commit 94a90af9ae)
2025-12-24 17:01:01 +08:00
clinx
bab0f6d6a3 fix(flashnode): use the CLI to set the hot key miss count.
close:#1000150848

Signed-off-by: clinx <chenlin1@oppo.com>
2025-12-24 17:00:59 +08:00
chihe
45dcc10e6a fix(flashnode): fixed the infinite loop issue in GetObject.
close:#1000151055

Signed-off-by: chihe <chihe@oppo.com>
(cherry picked from commit c5e2315c7d)
2025-12-24 17:00:59 +08:00
tan changzhi
6915dfd4b6 fix(master): expand quota id range to support more quota settings
Signed-off-by: tan changzhi <544463199@qq.com>
2025-12-16 14:30:56 +08:00
Victor1319
070b82370d style(api): improve code comments for clarity and consistency. #3942
- Add spaces after comment slashes for better readability
- Standardize comment formatting across multiple files
- Enhance clarity of comments in data partition handling

Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-11-11 20:23:43 +08:00
RpLi
655dfbf4d9 feature(master): Automated data distribution balance of datanode
Signed-off-by: RpLi <vsian_v@outlook.com>
2025-10-31 23:38:50 +08:00
NaturezzZ
0a9673f266 fix(master): add retry to syncSendAdminTask to handle transient error
Signed-off-by: NaturezzZ <naturezzz@outlook.com>
2025-08-15 10:39:58 +08:00
shuqiang-zheng
c2120b249a fix(master): reported bad disk not complete decommission timely metric.
close:#1000242504

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:20 +08:00
zhumingze
77156bdb08 fix(master): Fixed the problem of repeated execution of disk decommission. #1000247984
Signed-off-by: zhumingze <zhumingze@oppo.com>
2025-08-11 17:21:20 +08:00
shuqiang-zheng
5229b942f0 fix(master): ignore dp that has the same srcAddr but are in the autoAddReplica status.
close:#1000242504

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:20 +08:00
shuqiang-zheng
5f458b8ff5 fix(master): remove the interface that resets the decommission state of the disk to avoid misuse.
close:#1000242504

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:20 +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
shuqiang-zheng
d22301841b fix(master): support adjusting the weight of the previous decommission.
close:#1000234137

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
2025-08-11 17:21:19 +08:00