Skip to content

Conversation

@georgmangold
Copy link
Owner

@georgmangold georgmangold commented Jun 28, 2025

Reverts

Well it does something, but I am not sure how useful it is. Needs more testing.
image
JSON Response:

{
    "healDuration": 1,
    "bytesScanned": 24884786,
    "objectsScanned": 5,
    "itemsScanned": 6,
    "objectsHealed": 0,
    "itemsHealed": 0,
    "itemsHealthStatus": [
        {
            "status": "success",
            "type": "object",
            "name": "asd/console_1.7.7_linux_amd64.deb",
            "before": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "after": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "size": 24729658
        },
        {
            "status": "success",
            "type": "object",
            "name": "asd/diagnostic (2).json",
            "before": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "after": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "size": 20438
        },
        {
            "status": "success",
            "type": "object",
            "name": "asd/inspect-test-_.enc",
            "before": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "after": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "size": 1899
        },
        {
            "status": "success",
            "type": "object",
            "name": "asd/inspect-test-_.zip",
            "before": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "after": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "size": 597
        },
        {
            "status": "success",
            "type": "object",
            "name": "asd/profile(3).zip",
            "before": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "after": {
                "color": "green",
                "offline": 0,
                "online": 4,
                "missing": 0,
                "corrupted": 0,
                "drives": [
                    {
                        "uuid": "",
                        "endpoint": "/data1",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data2",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data3",
                        "state": "ok"
                    },
                    {
                        "uuid": "",
                        "endpoint": "/data4",
                        "state": "ok"
                    }
                ]
            },
            "size": 132194
        }
    ],
    "healthBeforeCols": {
        "Green": 5
    },
    "healthAfterCols": {
        "Green": 5
    }
}

On Console CLI you get errors like

heal started
error on updateStats: invalid parity shard count/surplus shard count given
heal stopped

And on other Options as "Recursive"

heal started
error on heal: Invalid Request
original ws error: Invalid Request
heal stopped

@georgmangold georgmangold changed the title Reverts-deprectated-features Undeprecate Heal (Drives) functionality Jun 28, 2025
@georgmangold georgmangold added the help wanted Extra attention is needed label Jun 28, 2025
@georgmangold
Copy link
Owner Author

Also !distributedSetup Check does not work, since Single Node Single Disk (SNSD) is also Erasure Coded with EC:0 since some time, but this obviously needs more than 1 Drive.
Backend gets the real error message, but shows no error on the frontend:

error initializing healing: This 'admin' API is not supported by server in 'mode-server-xl-single'
original ws error: This 'admin' API is not supported by server in 'mode-server-xl-single'

@georgmangold georgmangold added the enhancement New feature or request label Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants