<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:52:33 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-6561] ReadConcern: Majority undefined with replication PV0</title>
                <link>https://jira.mongodb.org/browse/DOCS-6561</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;After some discussion, we&apos;ve decided to make readConcern: Majority&apos;s behavior be undefined when using protocolVersion 0. At some point in the future we will explicitly have readConcern:Majority reads throw errors when using Protocol Version 0, but for now the behaviour is undefined and provides no guarantees. &lt;/p&gt;

&lt;p&gt;We should recommend always using ProtocolVersion 1 when using readConcerns: Majorioty. &lt;/p&gt;

&lt;p&gt;Can we make sure this gets reflected in the docs?&lt;/p&gt;</description>
                <environment></environment>
        <key id="238490">DOCS-6561</key>
            <summary>ReadConcern: Majority undefined with replication PV0</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="kay.kim@mongodb.com">Kay Kim</assignee>
                                    <reporter username="osmar.olivo">Osmar Olivo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Nov 2015 20:19:02 +0000</created>
                <updated>Wed, 24 Feb 2016 20:21:59 +0000</updated>
                            <resolved>Thu, 17 Dec 2015 17:47:03 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="1117257" author="xgen-internal-githook" created="Thu, 17 Dec 2015 16:55:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;kay-kim&apos;, u&apos;name&apos;: u&apos;kay&apos;, u&apos;email&apos;: u&apos;kay.kim@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-6561&quot; title=&quot;ReadConcern: Majority undefined with replication PV0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-6561&quot;&gt;&lt;del&gt;DOCS-6561&lt;/del&gt;&lt;/a&gt; readConcern majority and repl protocolVersion&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/df48567c6a11960cfd1d22f4f117e7b1dd48b8f2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/df48567c6a11960cfd1d22f4f117e7b1dd48b8f2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1115053" author="schwerin" created="Tue, 15 Dec 2015 17:34:17 +0000"  >&lt;p&gt;Let&apos;s not change &quot;written&quot; to &quot;made durable&quot; just yet.&lt;/p&gt;</comment>
                            <comment id="1114952" author="osmar.olivo@10gen.com" created="Tue, 15 Dec 2015 16:26:15 +0000"  >&lt;p&gt;Ultimately, it does give an error if you try to use Read Concern Majority with pv0.  You will get a NotEnabled error and the message is &quot;Replica sets running protocol version 0 do not support readConcern: majority&quot;.  This went out with 3.2.0. &lt;/p&gt;

&lt;p&gt;Let&apos;s make sure this get&apos;s documented appropriately. &lt;/p&gt;

&lt;p&gt;Also, the definition for readConcern: Majority is currently &quot;The query will return the node&#8217;s most recent copy of the data confirmed as having been written to a majority of the nodes.&quot;  I think since it&apos;s only supported in pv1 it&apos;s safe to replace the word &quot;written&quot;,  with &quot;made durable&quot;. &lt;/p&gt;</comment>
                            <comment id="1094367" author="schwerin" created="Fri, 20 Nov 2015 16:16:06 +0000"  >&lt;p&gt;I think &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21362&quot; title=&quot;journal sync after applying a batch on pv0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21362&quot;&gt;&lt;del&gt;SERVER-21362&lt;/del&gt;&lt;/a&gt; will be reverted, and that it&apos;s very likely that majority read concern will have undefined behavior in PV0. We might be able to go one step better, and actually have it error out. Still looking. There are latency impacts to waiting for journaling that make me reluctant to do it in PV0, at least in 3.2.0. See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21581&quot; title=&quot;Performance regression for ycsb_50read50update_w_majority-wiredTiger compared to 3.0.7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21581&quot;&gt;&lt;del&gt;SERVER-21581&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1093765" author="osmar.olivo@10gen.com" created="Thu, 19 Nov 2015 23:19:04 +0000"  >&lt;p&gt;let&apos;s slowdown everyone, this decision may have ended up being changed. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&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; I believe we may have decided to support readConcern: Majority on PV0 after all with the changes in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-21362&quot; title=&quot;journal sync after applying a batch on pv0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-21362&quot;&gt;&lt;del&gt;SERVER-21362&lt;/del&gt;&lt;/a&gt;. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt; please confirm what we should document here. &lt;/p&gt;

&lt;p&gt;If no changes are needed let&apos;s close this ticket.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="1093699" author="jesse" created="Thu, 19 Nov 2015 22:32:13 +0000"  >&lt;p&gt;Drivers must all throw errors if the user sets a read concern and the server does not support it:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#errors-1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/read-write-concern/read-write-concern.rst#errors-1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, let&apos;s be careful to distinguish wire protocol version and replication protocol version, I was confused when I first read this. Drivers send readConcern to servers with wire protocol version 4. I believe that a server must, additionally, be using replication protocol version 1 to support readConcernLevel majority.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="240331">DOCS-6624</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 Nov 2015 22:32:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 8 weeks, 6 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 8 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
            <customfieldvalue>osmar.olivo</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrn6sv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hse9fr:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="753">Docs Sprint 2015 (Dec14-Jan1)</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|hrz12n:</customfieldvalue>

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