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

Ensure that a node performing an initial sync from a secondary with a in-progress index build creates the index before initial sync is done

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.7, 4.1.9
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.0
    • Storage NYC 2019-02-25, Storage NYC 2019-03-11

      This issue arose from the work done in SERVER-25175.
      A secondary node that is initial syncing from another secondary node with an in-progress index build, will not build the in-progress index build during the initial sync phase. It will only build the finished indexes from the secondary node that it is initial syncing from.

      The work for this ticket is to write a test to showcase the correct behaviour. We will need to revert the work done in SERVER-25175 to make the test work.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: