[CDRIVER-2022] Missing support for fsync in connection uri Created: 03/Feb/17  Updated: 03/May/17  Resolved: 24/Feb/17

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.7.0

Type: Task Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: C Driver Connection String Spec

 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



 Comments   
Comment by Githook User [ 24/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Revert "CDRIVER-2022 Missing support for fsync in connection uri"

This reverts commit 632da6a1b97cccf31121bc043e350de5b8e95e6c.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/49c1eafbc7eccdd74bc3aa7055042c8f11e0b36b

Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Merge branch 'CDRIVER-784-connection-uri-spec'

Comment by Githook User [ 06/Feb/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-2022 Missing support for fsync in connection uri
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/632da6a1b97cccf31121bc043e350de5b8e95e6c

Generated at Wed Feb 07 21:13:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.