Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33546

Add numeric syncing field to replSetGetStatus members array

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6, v3.4
    • Sprint:
      Repl 2018-04-23, Repl 2018-05-07

      Description

      An important consideration in debugging issues in the field is which members are syncing from which. It is currently difficult to obtain the history of this and correlate it with other events because this information is currently only available as a string field, which is not preserved as a metric in FTDC.

      It would be helpful if the members array had a numeric field which is the _id of the current sync source for that member, or -1 if it has no sync source.

      (It is currently possible, but difficult, to obtain this information fro FTDC from the full reference documents stored once per chunk: due to SERVER-27230, when there is a change of sync source typically we also start a new chunk. Once SERVER-27230 is fixed, it will then be impossible to obtain accurate information about changes of sync source from FTDC.)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: