Handle missing parts in frostfs-cli object nodes #1564

Open
opened 2024-12-16 12:28:08 +00:00 by fyrchik · 0 comments
Owner

Having actual number of chunks (stores payload in 2 data objects) instead of the expected one rubs me the wrong way.
In the output we have some data unavailable, but nothing indicates this.

# frostfs-cli object nodes -c /etc/frostfs/storage/control.yml -r 127.0.0.1:8080 --cid AXNEbouuf1tTTKKjZmNCfFJT7p5tdUv2uEqFu6edeDdU --oid 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT
Object 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT stores payload in 2 data objects:
- 9YYqa8tYirCe4MZVGDJWFksrUNve5EgQT1hxJ1GmYhZq
    EC index: 1
    EC parent: 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT
    Required nodes:
        - 030d07c997f690ae8bec46b6124e6fc89a83f841beaaa2d8f0d3491b78dcb2de5d
    Confirmed nodes:
        - 030d07c997f690ae8bec46b6124e6fc89a83f841beaaa2d8f0d3491b78dcb2de5d
- MUj3zZxBveoxiGsZWzaTrbEm1mVVdsueandz3Q98SL4
    EC index: 2
    EC parent: 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT
    Required nodes:
        - 02bdb871a8797cc130d0a09902f8982cf2ba090c6765c0e0807501232ab6735953
    Confirmed nodes:
        - 02bdb871a8797cc130d0a09902f8982cf2ba090c6765c0e0807501232ab6735953 
Having actual number of chunks (`stores payload in 2 data objects`) instead of the expected one rubs me the wrong way. In the output we have some data unavailable, but nothing indicates this. ``` # frostfs-cli object nodes -c /etc/frostfs/storage/control.yml -r 127.0.0.1:8080 --cid AXNEbouuf1tTTKKjZmNCfFJT7p5tdUv2uEqFu6edeDdU --oid 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT Object 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT stores payload in 2 data objects: - 9YYqa8tYirCe4MZVGDJWFksrUNve5EgQT1hxJ1GmYhZq EC index: 1 EC parent: 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT Required nodes: - 030d07c997f690ae8bec46b6124e6fc89a83f841beaaa2d8f0d3491b78dcb2de5d Confirmed nodes: - 030d07c997f690ae8bec46b6124e6fc89a83f841beaaa2d8f0d3491b78dcb2de5d - MUj3zZxBveoxiGsZWzaTrbEm1mVVdsueandz3Q98SL4 EC index: 2 EC parent: 5MgVh9jGFknZPtQPxhM3ip2KMurauwGmDbpvNuxZEuT Required nodes: - 02bdb871a8797cc130d0a09902f8982cf2ba090c6765c0e0807501232ab6735953 Confirmed nodes: - 02bdb871a8797cc130d0a09902f8982cf2ba090c6765c0e0807501232ab6735953 ```
fyrchik added the
frostfs-cli
triage
labels 2024-12-16 12:28:08 +00:00
fyrchik added the
discussion
label 2024-12-25 09:53:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1564
No description provided.