Skip to content

bug: rc admin heal status show incorrect info #250

Description

@majinghe

When i try to check the status of heal, all info is 0

rc admin heal status rustfs-new --json
{
  "healId": "",
  "healing": false,
  "bucket": "",
  "object": "",
  "scanMode": "normal",
  "scanCycle": 0,
  "healQueueLength": 0,
  "healActiveTasks": 0,
  "itemsScanned": 0,
  "itemsHealed": 0,
  "itemsFailed": 0,
  "bytesScanned": 0,
  "bytesHealed": 0,
  "started": "2026-06-26T02:54:21.795496307Z"
}

And the healing is false.

rc admin heal status rustfs-new
Heal Status: Idle

  No heal operation currently running.

But from the disk capacity, the heal is in progess

ansible testing1 -m shell -a "df -h | grep rustfs" -b -f 4
10.0.0.10 | CHANGED | rc=0 >>
/dev/nvme0n3     300G  132G  169G  44% /data/rustfs1
/dev/nvme0n2     300G  132G  169G  44% /data/rustfs3
/dev/nvme0n5     300G  132G  169G  44% /data/rustfs4
/dev/nvme0n4     300G  132G  169G  44% /data/rustfs2
10.0.0.12 | CHANGED | rc=0 >>
/dev/nvme0n1     300G  132G  169G  44% /data/rustfs1
/dev/nvme0n2     300G  132G  169G  44% /data/rustfs3
/dev/nvme0n4     300G  132G  169G  44% /data/rustfs2
/dev/nvme0n5     300G  132G  169G  44% /data/rustfs4
10.0.0.11 | CHANGED | rc=0 >>
/dev/nvme0n3     300G  132G  169G  44% /data/rustfs3
/dev/nvme0n4     300G  132G  169G  44% /data/rustfs1
/dev/nvme0n5     300G  132G  169G  44% /data/rustfs4
/dev/nvme0n1     300G  132G  169G  44% /data/rustfs2
10.0.0.9 | CHANGED | rc=0 >>
/dev/nvme0n3     300G  122G  179G  41% /data/rustfs3
/dev/nvme0n4     300G  126G  175G  42% /data/rustfs1
/dev/nvme0n2     300G  122G  179G  41% /data/rustfs2
/dev/nvme0n5     300G  121G  180G  41% /data/rustfs4

For 10.0.0.9, the initial capacity is 30GB, after the node is online again, the data increases from 30GB to 100GB+.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions