mongoimport should check server before setting write concern

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Write concern 'majority' issued to a pre-2.6 standalone mongod causes the server to return a 'norepl' error. We should check whether or not the connected server is a replica set before setting the write concern. If it is a standalone, we should only set it to 0 or 1.

              Assignee:
              Adinoyi Omuya (Inactive)
              Reporter:
              Adinoyi Omuya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: