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

Secondary should take into account error status of node it chooses to sync from - not just ping time.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Replication
    • Environment:
    • Linux

      when I use multhiThread to call insert , it cause tow secondaryNode Disk fully, but check the rs.status() I have confuse why the 10.224.88.160 not sync the right optlog with 10.224.88.109(PRI) 10.224.88.110(normally Secondary), seems it only keep in touch with other two nodes which have disk fully\

      detail pls check the two attachments

      EDIT: in this replica set, 10.224.88.160 is syncing from either 10.224.88.161 or 10.224.88.163 - both have the same error (out of disk space) and have stopped syncing from the PRIMARY. This means that 10.224.88.60 is now also falling behind the primary even though it is not in error. This issue to be fixed here is that a node should check the error status of the node it is syncing from and switch to sync from another node if there is an error status.

      https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/k0XaKb0vH3s

        1. sycdiskFailure.PNG
          sycdiskFailure.PNG
          29 kB
        2. sycOptlog.PNG
          sycOptlog.PNG
          23 kB

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            xzhan@cisco.com Xuguang zhan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: