Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many VDisks when no Whiteboard data #1362

Closed
artemmufazalov opened this issue Sep 26, 2024 · 0 comments · Fixed by #1420
Closed

Too many VDisks when no Whiteboard data #1362

artemmufazalov opened this issue Sep 26, 2024 · 0 comments · Fixed by #1420
Assignees
Labels
🐞 type/bug Something isn't working

Comments

@artemmufazalov
Copy link
Member

artemmufazalov commented Sep 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant