Skip to content

Too many VDisks when no Whiteboard data #1362

@artemmufazalov

Description

@artemmufazalov

In storage/groups we use VDisk fields from Whiteboard for compatibility with viewer/storage. When Whiteboard is unavailable, we don't have VDiskId that is used as key in React. As a result, there is render issue when app renders more VDisks that are in the group.

How to reproduce - add such code to prepareGroupsResponse:

const VDiskId = Math.random() > 0.5 ? whiteboardVDisk?.VDiskId : undefined;

const whiteboardVDiskData = {
    ...whiteboardVDisk,
    VDiskId,

2024-09-26 12 26 24

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions