<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:02:50 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>[DOCS-11447] Documentation of &quot;linearizable&quot; read concern misstates  writeConcernMajorityJournalDefault:false behavior</title>
                <link>https://jira.mongodb.org/browse/DOCS-11447</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The documentation of &lt;a href=&quot;https://docs.mongodb.com/manual/reference/read-concern/#readconcern._dq_linearizable_dq_&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;linearizable read concern&lt;/a&gt; contains the following incorrect statement:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;With `writeConcernMajorityJournalDefault` set to &lt;b&gt;false&lt;/b&gt;, MongoDB will not wait for `w: &quot;majority&quot;` writes to be durable before acknowledging the writes. As such, &quot;majority&quot; write operations could possibly roll back in the event of a loss of a replica set member.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;But this is not quite right. Rather, the last sentence of the above paragraph should read:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;As such, &quot;majority&quot; write operations could possibly roll back in the event of a transient loss (e.g. crash and restart) of a majority of nodes in a given replica set.&lt;/p&gt;&lt;/blockquote&gt;
</description>
                <environment></environment>
        <key id="510614">DOCS-11447</key>
            <summary>Documentation of &quot;linearizable&quot; read concern misstates  writeConcernMajorityJournalDefault:false behavior</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="ravind.kumar">Ravind Kumar</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Mar 2018 17:18:03 +0000</created>
                <updated>Mon, 30 Oct 2023 19:35:18 +0000</updated>
                            <resolved>Fri, 16 Mar 2018 15:41:57 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1836759" author="xgen-internal-githook" created="Fri, 16 Mar 2018 15:49:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;ravind.kumar@10gen.com&apos;, &apos;name&apos;: &apos;ravind&apos;, &apos;username&apos;: &apos;rkumar-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11447&quot; title=&quot;Documentation of &amp;quot;linearizable&amp;quot; read concern misstates  writeConcernMajorityJournalDefault:false behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11447&quot;&gt;&lt;del&gt;DOCS-11447&lt;/del&gt;&lt;/a&gt;: Improve docs on linearizable read concern&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/56bcf64b9d7711bd75a6e34710bcfb0535fe65e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/56bcf64b9d7711bd75a6e34710bcfb0535fe65e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1836748" author="xgen-internal-githook" created="Fri, 16 Mar 2018 15:45:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;ravind.kumar@10gen.com&apos;, &apos;name&apos;: &apos;ravind&apos;, &apos;username&apos;: &apos;rkumar-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-11447&quot; title=&quot;Documentation of &amp;quot;linearizable&amp;quot; read concern misstates  writeConcernMajorityJournalDefault:false behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-11447&quot;&gt;&lt;del&gt;DOCS-11447&lt;/del&gt;&lt;/a&gt;: Improve docs on linearizable read concern&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/ba1958bc62feaff64cff3e44a14ceadb22763014&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/ba1958bc62feaff64cff3e44a14ceadb22763014&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1836740" author="ravind.kumar" created="Fri, 16 Mar 2018 15:41:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/docs/pull/3264/files&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RFM&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1833533" author="schwerin" created="Wed, 14 Mar 2018 15:25:31 +0000"  >&lt;p&gt;I&apos;d remove the third sentence. It either is obvious (writes that start after the read completes aren&apos;t visible in the read) or isn&apos;t guaranteed (writes that start after the read starts and complete before the read completes &lt;em&gt;might&lt;/em&gt; be visible to the read).&lt;/p&gt;

&lt;p&gt;I&apos;d replace the second sentence with something less about the implementation and more about the risk &amp;#8211; the query may wait for concurrently executing writes to complete before returning results.&lt;/p&gt;</comment>
                            <comment id="1832518" author="ravind.kumar" created="Tue, 13 Mar 2018 18:22:42 +0000"  >&lt;p&gt;The second sentence just makes the waiting behavior explicit. The third sentence was suggested by John Page, to emphasize that the write operations returned wont reflect any updates made after the read, even if they have occurred by the time the read operation returns. I don&apos;t think its a bad thing to emphasize, though I suppose it should be implied given we&apos;re only talking about write ops before the read anyways.&lt;/p&gt;</comment>
                            <comment id="1832481" author="schwerin" created="Tue, 13 Mar 2018 18:09:32 +0000"  >&lt;p&gt;Re &quot;writeConcernMajorityJournalDefault&quot;, you should probably check that the docs for that replica set config option are also correct.&lt;/p&gt;

&lt;p&gt;RE the suggested copy, I suggest replacing &quot;occurred&quot; with &quot;completed&quot;. The second sentence sounds like an implementation detail. Is it necessary? I don&apos;t know what the third sentence is for.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The query returns data that reflects all successful majority-acknowledged writes that &lt;del&gt;occurred&lt;/del&gt; &lt;em&gt;completed&lt;/em&gt; prior to the start of the read operation. The query waits for any writes that are not yet majority-acknowledged to propagate to a majority of replica set members, which can result in slow read operations. The returned data reflects the state of documents at the time of the read operation, and does not reflect any write operations that modified the record after the read operation.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="1832445" author="ravind.kumar" created="Tue, 13 Mar 2018 17:51:21 +0000"  >&lt;p&gt;Additional suggestion for the second sentence of the first paragraph:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;If a majority of your nodes crash and restart, when writeConcernMajorityJournalDefault is set to true (the default), your confirmed w:majority writes survive&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="1832433" author="ravind.kumar" created="Tue, 13 Mar 2018 17:45:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=schwerin&quot; class=&quot;user-hover&quot; rel=&quot;schwerin&quot;&gt;schwerin&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spencer&quot; class=&quot;user-hover&quot; rel=&quot;spencer&quot;&gt;spencer&lt;/a&gt; cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alyson.cabral&quot; class=&quot;user-hover&quot; rel=&quot;alyson.cabral&quot;&gt;alyson.cabral&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Additionally, the first paragraph has inaccuracies regarding what write operations are returned, and can be interpreted incorrectly. Suggesting the following copy:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The query returns data that reflects all successful majority-acknowledged writes that occurred prior to the start of the read operation. The query waits for any writes that are not yet majority-acknowledged to propagate to a majority of replica set members, which can result in slow read operations. The returned data reflects the state of documents at the time of the read operation, and does not reflect any write operations that modified the record after the read operation.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Any objections?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 13 Mar 2018 17:45:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 47 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 47 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ravind.kumar</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htsjjb:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.1</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hts5q7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>