-
Type: Task
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: mongostat
-
None
Currently, if a replica is too stale to catch up, the status changes to 'UNK'. This is a catch-all status and does not help me see that it's still running but unable to catch up due to it being too far behind.
This status indicator should be changed so it indicates 'STA' for STALE, meaning it CANNOT catch up and needs to be killed and re-synced from the primary.
Of course, in a perfect world, MongoDB would detect this situation and one could configure a replicaset to automatically re-sync from the primary when this STALE state occurs. In the mean time, however, indicating it on the MongoStat would be a good start.
- depends on
-
SERVER-3600 "too stale to catch up" leaves state in RECOVERING
- Closed