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

Command to verify Consistency of Indexes within a Cluster

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Under certain circumstances, a node that is currently acting as Primary - Host A - dies suddenly during an index build process resulting in an election of a new primary - Host C. The index build then will conclude on the node that was previously primary (Host A). As Host A is not the Primary the index build isn't replicated to the other nodes and resulting inconsistent indexes between the cluster members (Host A versus B and C). Additionally, this behavior is detailed in SERVER-14746.

      In these cases, it might be useful to have a command to view inconsistent indexes or indexes across the nodes in a replica set in order troubleshoot differences in behavior by running rs.checkIndexes(), for example. Such a command might also be able to be leveraged on our Cloud offerings in order to proactively identify such circumstances before an election causes a change in behavior for the customer's application.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              andy.walsh Andrew Walsh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: