<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:02:05 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>[SERVER-23010] Committed Snapshot Meaning Incorrect</title>
                <link>https://jira.mongodb.org/browse/SERVER-23010</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently with the changes for the &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22276&quot; title=&quot;implement &amp;quot;j&amp;quot; flag in write concern apply to secondary as well as primary&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22276&quot;&gt;&lt;del&gt;SERVER-22276&lt;/del&gt;&lt;/a&gt; (and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22495&quot; title=&quot;Running without journaling doesn&amp;#39;t set all OpTimes (lastDurableOpTime)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-22495&quot;&gt;&lt;del&gt;SERVER-22495&lt;/del&gt;&lt;/a&gt;) the committed snapshot is not correctly being updated based on the replica set config and journal write concern flag.&lt;/p&gt;

&lt;p&gt;Rules to apply to correct the problem:&lt;/p&gt;

&lt;p&gt;The meaning of the snapshot depends on the replica set config (&#8220;writeConcernMajorityJournalDefault&#8221;) which indicates if it is tied to the durable or applied optime.&lt;/p&gt;

&lt;p&gt;Notable Exceptions (when both aren&apos;t true or false)&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Applied Snapshot OpTime, with J:True
	&lt;ul&gt;
		&lt;li&gt;Wait for snapshot for writeOpTime (Applied)&lt;/li&gt;
		&lt;li&gt;Wait for replication of durableOpTime &amp;gt;= writeOpTime (new code)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Durable Snapshot OpTime, with J:False
	&lt;ul&gt;
		&lt;li&gt;Do not wait for snapshot, and you cannot read your own write&lt;/li&gt;
		&lt;li&gt;Wait for replication of majority optime (applied = normal)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="270953">SERVER-23010</key>
            <summary>Committed Snapshot Meaning Incorrect</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="scotthernandez">Scott Hernandez</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Mar 2016 20:53:50 +0000</created>
                <updated>Fri, 27 Mar 2020 18:51:57 +0000</updated>
                            <resolved>Sun, 27 Mar 2016 20:22:46 +0000</resolved>
                                                    <fixVersion>3.3.4</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="1428038" author="xgen-internal-githook" created="Mon, 7 Nov 2016 16:23:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@tart.local&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: general cleanup and test fixture changes&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 664295c8ca3152c48da572c770aa08c39e517bf4)&lt;br/&gt;
Branch: v3.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/605083d00f91c24595d3a112b7ab207d3cbb8aec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/605083d00f91c24595d3a112b7ab207d3cbb8aec&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1222975" author="xgen-internal-githook" created="Fri, 1 Apr 2016 19:53:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;scotthernandez&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: check if init&apos;d before using snapshotInfo&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/07f98aaee975617b8778a4b296c1c3abdbaeb1c1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/07f98aaee975617b8778a4b296c1c3abdbaeb1c1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1216625" author="xgen-internal-githook" created="Mon, 28 Mar 2016 13:38:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;scotthernandez&apos;, u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: always wait for snapshot on WriteConcern.Majority&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/469dd5196c87a1ccb30f4ac1c7d46bd1ca6c113e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/469dd5196c87a1ccb30f4ac1c7d46bd1ca6c113e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1216363" author="xgen-internal-githook" created="Sun, 27 Mar 2016 20:05:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@tart.local&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: do not update durable OpTime, and update commited snapshot, if not durable&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ec1aaf5ce52bed2897e80cbba7add95c068809dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ec1aaf5ce52bed2897e80cbba7add95c068809dc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1216362" author="xgen-internal-githook" created="Sun, 27 Mar 2016 20:05:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@tart.local&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: improved logging readconcern usage&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7a5d4214ca939ff3e522a493d848f9f35ac88d5c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7a5d4214ca939ff3e522a493d848f9f35ac88d5c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1216361" author="xgen-internal-githook" created="Sun, 27 Mar 2016 20:05:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@tart.local&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: change commmitted snapshot by either durable or applied optime&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8e3849c3b7c4abe4ed27e4ca0ee3e01ea06e2384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8e3849c3b7c4abe4ed27e4ca0ee3e01ea06e2384&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1216359" author="xgen-internal-githook" created="Sun, 27 Mar 2016 20:05:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Scott Hernandez&apos;, u&apos;email&apos;: u&apos;scotthernandez@tart.local&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-23010&quot; title=&quot;Committed Snapshot Meaning Incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-23010&quot;&gt;&lt;del&gt;SERVER-23010&lt;/del&gt;&lt;/a&gt;: general cleanup and test fixture changes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/664295c8ca3152c48da572c770aa08c39e517bf4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/664295c8ca3152c48da572c770aa08c39e517bf4&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="282911">SERVER-23956</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="264127">SERVER-22533</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="264593">SERVER-22572</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="275338">SERVER-23365</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="264856">DOCS-7138</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="13440"><![CDATA[v3.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 27 Mar 2016 20:05:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 14 weeks, 2 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-477</customfieldvalue>
                        </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>siyuan.zhou@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 14 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkeav:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdf5b:</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="849">Repl 11 (03/11/16)</customfieldvalue>
    <customfieldvalue id="908">Repl 12 (04/01/16)</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_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrljiv:</customfieldvalue>

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