Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1371

mongorestore assumes admin.system.version only contains authSchema document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.12, 3.2.10, 3.3.14
    • Component/s: None
    • Labels:
      None
    • Backport Requested:
      v3.2
    • Sprint:
      Platforms 2016-08-26

      Description

      In GetDumpAuthVersion(), we try to read the authSchema document from the admin.system.version collection by reading the first document from the collection. In SERVER-25155, we are adding a new document called featureCompatibilityVersion to the admin.system.version collection. Then if the first document in the collection is featureCompatibilityVersion, we will think it is the authSchema document and fail here. Instead of reading the first document from the collection, we should check that _id is 'authSchema'.

      For example, SERVER-25155 will cause this test to fail. To commit SERVER-25155, we will need to ban this test until this issue is fixed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gabriel.russell Gabriel Russell
                Reporter:
                tess.avitabile Tess Avitabile
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: