Skip to content

Commit

Permalink
Add a TEMPORARY_DEGRADED condition
Browse files Browse the repository at this point in the history
  • Loading branch information
xing-yang committed Feb 13, 2020
1 parent 5c862b2 commit dcd82db
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 257 deletions.
16 changes: 10 additions & 6 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1332,19 +1332,23 @@ message VolumeHealth {
UNKNOWN = 0;
// Volume is accessible and no problems are detected.
HEALTHY = 1;
// Volume has degrading performance or is not accessible currently,
// but there's no reason to expect data loss. Examples: power
// outage, network outage, maintenance.
TEMPORARY_UNHEALTHY = 2;
// Volume is not accessible currently, but there's no reason to
// expect data loss. Examples: power outage, network outage,
// maintenance.
TEMPORARY_INACCESSIBLE = 2;
// Volume is accessible currently, but is degraded. Data loss
// is unlikely as the storage system is fixing the problem
// automatically.
TEMPORARY_DEGRADED = 3;
// Volume is accessible currently, but a problem is detected that
// could lead to eventual data loss. Examples: recoverable hardware
// failure, cooling failure, equipment significantly past end of
// life.
FATAL_IMMINENT = 3;
FATAL_IMMINENT = 4;
// Volume is not accessible currently, and there is reason to
// believe the outage may be permanent. Examples: unrecoverable
// hardware failure, natural disasters, damage to equipment.
FATAL = 4;
FATAL = 5;
}

// The level of the health condition of the volume.
Expand Down
Loading

0 comments on commit dcd82db

Please sign in to comment.