ydb-embedded-ui icon indicating copy to clipboard operation
ydb-embedded-ui copied to clipboard

if pdisk in error state and available size is 0 - do not show usage percent, it will be wrong

Open adameat opened this issue 9 months ago • 1 comments

Image

adameat avatar Apr 10 '25 12:04 adameat

It is applicable to all pdisk errors that gives red state

    [TPDiskState.InitialFormatReadError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.InitialSysLogReadError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.InitialSysLogParseError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.InitialCommonLogReadError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.InitialCommonLogParseError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.CommonLoggerInitError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.OpenFileError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.ChunkQuotaError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,
    [TPDiskState.DeviceIoError]: DISK_COLOR_STATE_TO_NUMERIC_SEVERITY.Red,

artemmufazalov avatar Apr 17 '25 12:04 artemmufazalov

the right way to fix this issue to fix problem on backend: https://github.com/ydb-platform/ydb/issues/17414

adameat avatar Jun 06 '25 10:06 adameat