@@ -27,6 +27,7 @@ const propTypes = {
2727 Replicated : PropTypes . bool ,
2828 PoolName : PropTypes . string ,
2929 VDiskId : PropTypes . object ,
30+ DonorMode : PropTypes . bool ,
3031 nodes : PropTypes . object ,
3132} ;
3233
@@ -55,7 +56,7 @@ function Vdisk(props) {
5556
5657 // determine disk status severity
5758 useEffect ( ( ) => {
58- const { DiskSpace, VDiskState, FrontQueues, Replicated} = props ;
59+ const { DiskSpace, VDiskState, FrontQueues, Replicated, DonorMode } = props ;
5960
6061 // if the disk is not available, this determines its status severity regardless of other features
6162 if ( ! VDiskState ) {
@@ -68,7 +69,10 @@ function Vdisk(props) {
6869 const FrontQueuesSeverity = Math . min ( colorSeverity . Orange , getColorSeverity ( FrontQueues ) ) ;
6970
7071 let newSeverity = Math . max ( DiskSpaceSeverity , VDiskSpaceSeverity , FrontQueuesSeverity ) ;
71- if ( ! Replicated && newSeverity === colorSeverity . Green ) {
72+
73+ // donors are always in the not replicated state since they are leftovers
74+ // painting them blue is useless
75+ if ( ! Replicated && ! DonorMode && newSeverity === colorSeverity . Green ) {
7276 newSeverity = colorSeverity . Blue ;
7377 }
7478
0 commit comments