Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2392

mongofiles w, j, and fsync URI parameters unsupported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Won't Fix
    • None
    • None
    • mongofiles

    Description

      It looks like it is intended that mongofiles should parse the following URI options:

      KnownURIOptionsWriteConcern   = []string{"wtimeout""w""j""fsync"} 

      However, using w, j, and fsync cause the following error:

      mongofiles --uri="mongodb://localhost:27019/filestest?w=majority" put <file>
      2019-10-07T17:53:16.866+0200    WARNING: ignoring unsupported URI parameter 'w'

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tim.fogarty@mongodb.com Tim Fogarty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: