<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:37:59 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-78310] move change stream pre-image logic out of OpObserverImpl</title>
                <link>https://jira.mongodb.org/browse/SERVER-78310</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently the logic for writing pre-images for change streams is embedded in the OpObserverImpl implementions for updates/deletes. We also write pre-images as part of commiting unprepared multi-document transactions and preparing multi-document transaction. It would be nice to extract and separate this logic for accessing the pre-images collection in a separate OpObserver implementation or move the logic up to the caller as a post-OpObserver action.&lt;/p&gt;

&lt;p&gt;Affected functions in OpObserverImpl include:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;writeChangeStreamPreImagesForTransaction()&lt;/li&gt;
	&lt;li&gt;writeChangeStreamPreImagesForApplyOpsEntries()&lt;/li&gt;
	&lt;li&gt;writeChangeStreamPreImageEntry&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Because this work affects onUpdate and onDelete, this ticket has some overlap with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74100&quot; title=&quot;Streamline logical branches in opObserverImpl::onDelete&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74100&quot;&gt;SERVER-74100&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74121&quot; title=&quot;Streamline logical branches in opObserverImpl::onUpdate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74121&quot;&gt;SERVER-74121&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2373957">SERVER-78310</key>
            <summary>move change stream pre-image logic out of OpObserverImpl</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="benety.goh@mongodb.com">Benety Goh</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Jun 2023 18:29:11 +0000</created>
                <updated>Sun, 29 Oct 2023 21:19:41 +0000</updated>
                            <resolved>Thu, 13 Jul 2023 16:58:01 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5564131" author="xgen-internal-githook" created="Thu, 13 Jul 2023 15:51:27 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78310&quot; title=&quot;move change stream pre-image logic out of OpObserverImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78310&quot;&gt;&lt;del&gt;SERVER-78310&lt;/del&gt;&lt;/a&gt; add function comment for OpObserverImpl::writeToImageCollection()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/f489033c0544267767fbf40ebbfe983bf527f592&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/f489033c0544267767fbf40ebbfe983bf527f592&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5561655" author="xgen-internal-githook" created="Wed, 12 Jul 2023 19:25:42 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78310&quot; title=&quot;move change stream pre-image logic out of OpObserverImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78310&quot;&gt;&lt;del&gt;SERVER-78310&lt;/del&gt;&lt;/a&gt; move change streams pre-image collection writes for unprepared transactions from OpObserverImpl to ChangeStreamPreImagesOpObserver&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cb891c3541bc26d406b232daab8807bda70f9a67&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cb891c3541bc26d406b232daab8807bda70f9a67&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5560160" author="xgen-internal-githook" created="Wed, 12 Jul 2023 12:59:39 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78310&quot; title=&quot;move change stream pre-image logic out of OpObserverImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78310&quot;&gt;&lt;del&gt;SERVER-78310&lt;/del&gt;&lt;/a&gt; move change streams pre-image collection writes for prepared transactions from OpObserverImpl to ChangeStreamPreImagesOpObserver&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/aae006fa5ebf7f2cc8930710890b689a9ea5d32b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/aae006fa5ebf7f2cc8930710890b689a9ea5d32b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5557977" author="xgen-internal-githook" created="Tue, 11 Jul 2023 17:03:52 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78310&quot; title=&quot;move change stream pre-image logic out of OpObserverImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78310&quot;&gt;&lt;del&gt;SERVER-78310&lt;/del&gt;&lt;/a&gt; move change streams pre-image collection writes for updates from OpObserverImpl to ChangeStreamPreImagesOpObserver&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d2e9e4368f510624d4ba14d9f0e5757c97de401a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d2e9e4368f510624d4ba14d9f0e5757c97de401a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5557046" author="xgen-internal-githook" created="Tue, 11 Jul 2023 12:59:15 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78310&quot; title=&quot;move change stream pre-image logic out of OpObserverImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78310&quot;&gt;&lt;del&gt;SERVER-78310&lt;/del&gt;&lt;/a&gt; move change streams pre-image collection writes for deletes from OpObserverImpl to ChangeStreamPreImagesOpObserver&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d68ab97ae96896124b6e21c71ce0525796f1c634&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d68ab97ae96896124b6e21c71ce0525796f1c634&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5556006" author="xgen-internal-githook" created="Mon, 10 Jul 2023 22:08:37 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-78310&quot; title=&quot;move change stream pre-image logic out of OpObserverImpl&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-78310&quot;&gt;&lt;del&gt;SERVER-78310&lt;/del&gt;&lt;/a&gt; add stub ChangeStreamPreImagesOpObserver&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ff153540925286e546ce29f77474810213b3fca2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ff153540925286e546ce29f77474810213b3fca2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2375980">SERVER-78400</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2375985">SERVER-78401</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2383965">SERVER-78675</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2385090">SERVER-78733</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2394626">SERVER-79048</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2266508">SERVER-74100</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2266827">SERVER-74121</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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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>Mon, 10 Jul 2023 15:03:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        29 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_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-2780</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>
                            29 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benety.goh@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|i2euon:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1x1cg:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7179">Execution NAMR Team 2023-06-26</customfieldvalue>
    <customfieldvalue id="7180">Execution NAMR Team 2023-07-10</customfieldvalue>
    <customfieldvalue id="7181">Execution NAMR Team 2023-07-24</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|i2egtz:</customfieldvalue>

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