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

mongofiles w, j, and fsync URI parameters unsupported

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: No version
    • Component/s: mongofiles
    • Labels:

      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

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

                Dates

                Created:
                Updated:
                Resolved: