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

Add metrics on the backlog OpLog entries as seen by the secondaries to mongostat

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • mongostat
    • None

    Description

      To more accurately gauge replication lag and the rate that replication lag is increasing, as well as diagnose specific issues on particular secondaries it would be very useful to add a stat to the output of mongostat. This new metric would indicate the size of the back log of OpLog entries as seen by each secondary. This would be the count of op-log records in the range between T(last op-log on the primary) and T(last op-log received by this client). This would give an objective idea of a real replication lag. The way the lag is measured today - T(local)-T(last op-log received), - is an interesting measure which is easy and cheap to obtain but is not sufficient to give a real view of how big the replication lag really is.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-tools Backlog - Server Tools Team
              andre.defrere@mongodb.com Andre de Frere
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: