cubefs/master
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
..
mocktest feat(datamaster): Supplement test cases related to lost and bad disks. #1000004886 2025-08-08 14:59:25 +08:00
admin_task_manager.go fix(flashnode): fixed the infinite loop issue in GetObject. 2025-12-24 17:00:59 +08:00
api_args_parse.go fix(flash): set read and write flow by master 2025-12-24 17:01:02 +08:00
api_limiter.go chore(format): format all code with gofumpt 2024-01-12 14:21:16 +08:00
api_service_balance.go style(api): improve code comments for clarity and consistency. #3942 2025-11-11 20:23:43 +08:00
api_service_test.go fix(master): fix dp restore failure due to datanode not found. 2025-08-11 17:21:17 +08:00
api_service_user.go chore(master): Add audit log for modification api.#1000099738 2025-08-08 14:59:28 +08:00
api_service.go fix(master): enhance error handling in getVolSimpleInfo 2025-12-24 17:01:10 +08:00
client_info.go fix(client): add default value #23062821 2025-08-07 16:00:26 +08:00
cluster_balance_test.go fix(master): check the migrate plan destination not in mp hosts.#1000222192 2025-08-11 17:21:18 +08:00
cluster_balance.go style(api): improve code comments for clarity and consistency. #3942 2025-11-11 20:23:43 +08:00
cluster_stat.go refactor(master): remove dp cache code from master. #1000063482 2025-08-08 14:59:27 +08:00
cluster_task.go fix(master): add some log to locate migrate mp problem. #1000295064 2025-12-24 17:01:04 +08:00
cluster_test.go fix(flash): store fg slots when slots changed 2025-12-24 17:01:06 +08:00
cluster.go feat(master): add status update records to dp decommission process for querying. 2025-12-24 17:01:10 +08:00
config.go feat(master): call sdk of flashgroupmanager 2025-12-24 17:01:03 +08:00
const.go feat(master): call sdk of flashgroupmanager 2025-12-24 17:01:03 +08:00
data_node_test.go feat(datamaster): Supplement test cases related to lost and bad disks. #1000004886 2025-08-08 14:59:25 +08:00
data_node.go feat(master): add status update records to dp decommission process for querying. 2025-12-24 17:01:10 +08:00
data_partition_check.go feat(datameta): Record the read-only reason for dp&mp replicas. #1000060034 2025-08-08 14:59:26 +08:00
data_partition_map.go fix(master): fix log and interface display issues. #1000230771 2025-08-11 17:21:19 +08:00
data_partition_test.go feat(master): forbidden to create data partition when the writable number reach config value 2025-08-08 14:59:28 +08:00
data_partition.go fix(master): Optimize the reporting metrics for bad disks that fail to decommission promptly. 2025-12-24 17:01:12 +08:00
data_replica.go fix(master): limit the last dp replica can't be deleted. #1000182796 2025-08-11 17:21:15 +08:00
disk_manager.go feat(master): check vol deletion when traversing dp decommission queue. 2025-12-24 17:01:10 +08:00
filecheck.go feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00
filecrc.go fix(datanode):Refactor the paramter of storage write at datanode 2024-07-22 17:10:59 +08:00
filemeta.go style(all): format all codes with golangci tools 2024-05-14 09:54:13 +08:00
flash_group_test.go fix(flashnode): check the deletion operation of the flashnode #1000020535 2025-08-08 14:51:45 +08:00
flash_group.go feat(master): call sdk of flashgroupmanager 2025-12-24 17:01:03 +08:00
flash_manual_task.go feat(master): call sdk of flashgroupmanager 2025-12-24 17:01:03 +08:00
flash_node_test.go fix(flashnode): valid args for fla flashnode list#1000020535 2025-08-08 14:51:45 +08:00
flash_node_topology_test.go feat(master): call sdk of flashgroupmanager 2025-12-24 17:01:03 +08:00
flash_node_topology.go fix(master): long-term unused slot activation employs a gradual addition approach. 2025-12-24 17:01:06 +08:00
flash_node.go feat(master): call sdk of flashgroupmanager 2025-12-24 17:01:03 +08:00
gapi_cluster.go feat(data): limitIO strategy for separating repair io from business io. #1000095860 2025-08-08 14:59:30 +08:00
gapi_user.go style(all): format all codes with golangci tools 2024-05-14 09:54:13 +08:00
gapi_volume.go refactor(all): refactor go code with golint. #22906448 2024-12-26 09:24:22 +08:00
http_server.go feat(master): add status update records to dp decommission process for querying. 2025-12-24 17:01:10 +08:00
id_allocator_test.go chore(master): turn off logging of testing in docker 2024-01-04 17:37:31 +08:00
id_allocator.go fix(master): expand quota id range to support more quota settings 2025-12-16 14:30:56 +08:00
lifecycle_manager.go refactor(all): refactor go code with golint. #22906448 2024-12-26 09:24:22 +08:00
lifecycle_node.go fix(lcnode): hybrid cloud support start vol task and stop vol task #22326199 2024-12-26 09:24:22 +08:00
lifecycle_task.go refactor(lcnode): hybrid cloud admin lcnode auditlog #22675357 #22680253 2024-12-26 09:24:22 +08:00
limiter.go fix(master): Reduce the warning logs generated by the UID process.#23059813 2025-08-11 17:21:18 +08:00
master_manager_test.go fix(master): check raft leader before handle leader change. #1000228487 2025-08-11 17:21:19 +08:00
master_manager.go fix(flash): store fg slots when slots changed 2025-12-24 17:01:06 +08:00
master_quota_manager.go feat(datanode): Enable crc check for BaseExtentID information #23118077 2025-08-07 16:00:29 +08:00
meta_node_test.go chore(master): turn off logging of testing in docker 2024-01-04 17:37:31 +08:00
meta_node.go refactor(fmt): use gofumpt to format code. #1000063488 2025-08-08 14:59:27 +08:00
meta_partition_manager.go feat(metanode): Add raft members consistent check with master hosts in metanode member check 2025-08-11 17:21:14 +08:00
meta_partition_test.go feat(master): Keep discard dp information in master and avoid panic when dp is nil. #23036742 2025-08-07 16:00:27 +08:00
meta_partition.go refactor(master): limit the interval between deleteing mp replica to 5 minutes. #1000230481 2025-08-11 17:21:19 +08:00
metadata_fsm_op.go feat(master): add status update records to dp decommission process for querying. 2025-12-24 17:01:10 +08:00
metadata_fsm_test.go fix(master): use DeleteRange to clear rocksdb 2024-03-01 15:27:39 +08:00
metadata_fsm.go feat(warmup): create flash manual task #22883846 2025-08-08 14:42:10 +08:00
metadata_snapshot.go chore(format): format all code with gofumpt 2024-01-12 14:21:16 +08:00
monitor_metrics.go fix(master): Optimize the reporting metrics for bad disks that fail to decommission promptly. 2025-12-24 17:01:12 +08:00
multi_ver_snapshot.go style(all): format all codes with golangci tools 2024-05-14 09:54:13 +08:00
node_selector_test.go fix(master): Optimize TestStrawNodeSelector test case. #1000217026 2025-08-11 17:21:18 +08:00
node_selector.go feat(master): Support setting dp and mp cnt limit for different machines #22883514 2025-08-07 15:45:37 +08:00
nodeset_selector_test.go feat(master): Support setting dp and mp cnt limit for different machines #22883514 2025-08-07 15:45:37 +08:00
nodeset_selector.go refactor(master): refactor the code of zone moudule 2024-07-22 17:10:59 +08:00
operate_util.go fix(master): clear the repairingStatus when removing the raft member. 2025-08-11 17:21:15 +08:00
server.go feature(master): Automated data distribution balance of datanode 2025-10-31 23:38:50 +08:00
snapshot_manager.go fix(lcnode): hybrid cloud optimize lcnode scanning #22347010 #22401484 2024-12-26 09:24:22 +08:00
topology_test.go feat(master): Support setting dp and mp cnt limit for different machines #22883514 2025-08-07 15:45:37 +08:00
topology.go feat(master): check vol deletion when traversing dp decommission queue. 2025-12-24 17:01:10 +08:00
user.go style(all): format all codes with golangci tools 2024-05-14 09:54:13 +08:00
userdata_fsm_op.go update: update to CubeFS 2022-08-22 18:16:09 +08:00
vol_test.go refactor(all): remove cache rule and cache threshold. #1000142823 2025-08-08 14:59:31 +08:00
vol.go fix(master): skip discard dp in checkDataReplicaMeta. #1000210172 2025-08-11 17:21:17 +08:00