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

mongofiles w, j, and fsync URI parameters unsupported

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongofiles

      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'

       

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

              Created:
              Updated:
              Resolved: