<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:39:06 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-56374] [RRFaM] Have update path write to config.image_collection</title>
                <link>https://jira.mongodb.org/browse/SERVER-56374</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When the RRFaM behavior is enabled:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;A primary executing the update can add an update to the SessionTxnRecord within the same WUOW.&lt;/li&gt;
	&lt;li&gt;A secondary applying the update can also add an update to the SessionTxnRecord within the same WUOW.
	&lt;ul&gt;
		&lt;li&gt;Right now the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a5b95e6d0a85bdea4751f5469022f37738bb25d4/src/mongo/db/ops/update_result.h#L36&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;UpdateResult&lt;/a&gt; does not return the pre/post image. This ticket should expose that API.&lt;/li&gt;
		&lt;li&gt;However the update predicate must include the clause: &lt;tt&gt;`{txnNum: {$lt: &amp;lt;updated txnNum&amp;gt;&lt;/tt&gt;`}}.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Remove noop oplog entry writes for FaM updates&lt;/li&gt;
	&lt;li&gt;Take care to leave the upsert path alone (pre/post images are already trivially replicated)&lt;/li&gt;
	&lt;li&gt;Collections configured to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0464f0b7bcb2eee8dafbf108447013b4d586a16a/src/mongo/db/catalog/collection_impl.cpp#L1143&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;always store preImages&lt;/a&gt; must continue to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0464f0b7bcb2eee8dafbf108447013b4d586a16a/src/mongo/db/op_observer_impl.cpp#L182&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;write noop pre-image oplog entries&lt;/a&gt;.
	&lt;ul&gt;
		&lt;li&gt;A findAndModify against these collections should avoid also saving the preImage into a &lt;tt&gt;config.transactions&lt;/tt&gt; document.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1692398">SERVER-56374</key>
            <summary>[RRFaM] Have update path write to config.image_collection</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="13201">Fixed</resolution>
                                        <assignee username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</assignee>
                                    <reporter username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Apr 2021 02:39:59 +0000</created>
                <updated>Sun, 29 Oct 2023 21:54:27 +0000</updated>
                            <resolved>Mon, 10 May 2021 02:48:19 +0000</resolved>
                                                    <fixVersion>4.0.25</fixVersion>
                    <fixVersion>4.2.15</fixVersion>
                    <fixVersion>4.4.7</fixVersion>
                    <fixVersion>5.0.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3863511" author="xgen-internal-githook" created="Mon, 7 Jun 2021 20:22:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Shuvalov&apos;, &apos;email&apos;: &apos;andrew.shuvalov@mongodb.com&apos;, &apos;username&apos;: &apos;shuvalov-mdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: always create the table for retryable find and modify on stepup&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/12da0ab3a2804970108916c2a5e67bc350daa207&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/12da0ab3a2804970108916c2a5e67bc350daa207&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3858930" author="xgen-internal-githook" created="Fri, 4 Jun 2021 00:21:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Shuvalov&apos;, &apos;email&apos;: &apos;andrew.shuvalov@mongodb.com&apos;, &apos;username&apos;: &apos;shuvalov-mdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: BF-21400 revert: always create the table for retryable find and modify on stepup&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3399d5c225a1e5f3fdf0a137057581a5178e315a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3399d5c225a1e5f3fdf0a137057581a5178e315a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3855486" author="xgen-internal-githook" created="Thu, 3 Jun 2021 00:56:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Shuvalov&apos;, &apos;email&apos;: &apos;andrew.shuvalov@mongodb.com&apos;, &apos;username&apos;: &apos;shuvalov-mdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: always create the table for retryable find and modify on stepup&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f53c59e2a9e597fbcdf0632559a81963994f9734&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f53c59e2a9e597fbcdf0632559a81963994f9734&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3817689" author="xgen-internal-githook" created="Mon, 24 May 2021 13:32:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Shuvalov&apos;, &apos;email&apos;: &apos;andrew.shuvalov@mongodb.com&apos;, &apos;username&apos;: &apos;shuvalov-mdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: BACKPORT-8902 create config.image_collection on StepUp&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5c6ba3aeb114334ab037dedfa39ee6e0aa540d4c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5c6ba3aeb114334ab037dedfa39ee6e0aa540d4c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3806659" author="xgen-internal-githook" created="Fri, 21 May 2021 19:42:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Shuvalov&apos;, &apos;email&apos;: &apos;andrew.shuvalov@mongodb.com&apos;, &apos;username&apos;: &apos;shuvalov-mdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: BACKPORT-8902 Add ability to write retryable findAndModify updates to config.image_collection&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7e2afe22b658e2724f0a35714c74d171868934b6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7e2afe22b658e2724f0a35714c74d171868934b6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3798532" author="xgen-internal-githook" created="Thu, 20 May 2021 23:07:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Daniel Gottlieb&apos;, &apos;email&apos;: &apos;daniel.gottlieb@mongodb.com&apos;, &apos;username&apos;: &apos;dgottlieb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: Add ability to write retryable findAndModify updates to `config.image_collection`.&lt;/p&gt;

&lt;p&gt;(cherry picked from commit e557b13c8cff42b717bd85495e44e14eb888c482)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2153e4efa57d5543f275cc54b8df32d65b2808ef&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2153e4efa57d5543f275cc54b8df32d65b2808ef&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3762195" author="xgen-internal-githook" created="Fri, 7 May 2021 21:52:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jason Chan&apos;, &apos;email&apos;: &apos;jason.chan@10gen.com&apos;, &apos;username&apos;: &apos;jasonjhchan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt; Add ability to write retryable findAndModify updates to `config.image_collection`&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/10e041bf652a253cb60e4135c7172663d20e1fcf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/10e041bf652a253cb60e4135c7172663d20e1fcf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3762041" author="xgen-internal-githook" created="Fri, 7 May 2021 21:03:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Daniel Gottlieb&apos;, &apos;email&apos;: &apos;daniel.gottlieb@mongodb.com&apos;, &apos;username&apos;: &apos;dgottlieb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-56374&quot; title=&quot;[RRFaM] Have update path write to config.image_collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-56374&quot;&gt;&lt;del&gt;SERVER-56374&lt;/del&gt;&lt;/a&gt;: Add ability to write retryable findAndModify updates to `config.image_collection`.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e557b13c8cff42b717bd85495e44e14eb888c482&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e557b13c8cff42b717bd85495e44e14eb888c482&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1699779">SERVER-56584</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="18953"><![CDATA[v4.4]]></customfieldvalue>
    <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.0]]></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>Fri, 7 May 2021 21:03:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 35 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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2213</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>luke.bonanomi@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyrp8v:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="4859">Repl 2021-05-17</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|hz6ejr:</customfieldvalue>

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