Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2022

Missing support for fsync in connection uri

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.0
    • None
    • None
    • None

    Description

      diff --git a/tests/json/connection_uri/valid-warnings.json b/tests/json/connection_uri/valid-warnings.json
      index 6775fae..a0d5552 100644
      --- a/tests/json/connection_uri/valid-warnings.json
      +++ b/tests/json/connection_uri/valid-warnings.json
      @@ -16,21 +16,6 @@
             "options": null
           },
           {
      -      "description": "Unsupported option values are ignored",
      -      "uri": "mongodb://example.com/?fsync=ifPossible",
      -      "valid": true,
      -      "warning": true,
      -      "hosts": [
      -        {
      -          "type": "hostname",
      -          "host": "example.com",
      -          "port": null
      -        }
      -      ],
      -      "auth": null,
      -      "options": null
      -    },
      -    {
             "description": "Repeated option keys",
             "uri": "mongodb://example.com/?replicaSet=test&replicaSet=test",
             "valid": true,
      @@ -65,4 +50,4 @@
             }
           }
         ]
      -}
      \ No newline at end of file
      +}
      

      This test is failing because we don't support fsync in the connection URI. Should we? This might be a spec test bug

      Attachments

        Activity

          People

            bjori Hannes Magnusson
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: