Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-45

MongoStat does not indicate if replica is STALE

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongostat
    • Labels:

      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.

            Unassigned Unassigned
            justanyone Kevin J. Rice
            0 Vote for this issue
            6 Start watching this issue