<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:20:49 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DRIVERS-125] update description of &apos;fsync&apos; write concern flag</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-125</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Please ensure that drivers accurately describe the current behavior of the &apos;fsync&apos; write concern flag, which is:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;&apos;fsync&apos; is identical to &apos;j&apos; if mongod is running with a journal (today, 99% of users should be here)&lt;/li&gt;
	&lt;li&gt;&apos;fsync&apos; requests that database files proper be msync()&apos;d &lt;b&gt;only&lt;/b&gt; if mongod is &lt;b&gt;not&lt;/b&gt; running with a journal&lt;/li&gt;
	&lt;li&gt;&apos;fsync&apos; cannot be used simultaneously with the &apos;j&apos; flag&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Or in other words:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&apos;j&apos; means &apos;sync via the journal if present, or error if not, or if &apos;fsync&apos; is also set&apos;&lt;/li&gt;
	&lt;li&gt;&apos;fsync&apos; means &apos;sync via the journal if present, or sync via msync() if there is no journal, but error if &apos;j&apos; is also set&apos;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11399&quot; title=&quot;merge fsync and j flags&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11399&quot;&gt;&lt;del&gt;SERVER-11399&lt;/del&gt;&lt;/a&gt; for background.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;

&lt;p&gt;---------------------------------------------------------------------------------------------------------------&lt;/p&gt;

&lt;p&gt;The following text covers all the bases, adapt for your driver:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;j: If true block until write operations have been committed to the journal. Cannot be used in combination with `fsync`. Prior to MongoDB 2.6 this option was ignored if the server was running without journaling. Starting with MongoDB 2.6 write operations will fail with an exception if this option is used when the server is running without journaling.&lt;/li&gt;
	&lt;li&gt;fsync: If true and the server is running without journaling, blocks until the server has synced all data files to disk. If the server is running with journaling, this acts the same as the `j` option, blocking until write operations have been committed to the journal. Cannot be used in combination with `j`.&lt;/li&gt;
&lt;/ul&gt;



</description>
                <environment></environment>
        <key id="96494">DRIVERS-125</key>
            <summary>update description of &apos;fsync&apos; write concern flag</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="barrie">Barrie Segal</assignee>
                                    <reporter username="duraid.madina@10gen.com">Duraid Madina</reporter>
                        <labels>
                            <label>documentation</label>
                    </labels>
                <created>Wed, 30 Oct 2013 22:14:00 +0000</created>
                <updated>Mon, 15 Apr 2019 17:29:34 +0000</updated>
                            <resolved>Wed, 11 Nov 2015 20:18:10 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="183356">CXX-514</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95911">SERVER-11399</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="112001">NODE-131</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96327">CDRIVER-246</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96323">CSHARP-856</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96313">JAVA-1033</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96326">PYTHON-593</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96328">RUBY-702</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-514'>CXX-514</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>legacy-1.0.1</td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrtwfj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>88386</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10942"><![CDATA[2.6]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>