<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:27:48 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-74563] Streamline logical branches in opObserverImpl::onInserts</title>
                <link>https://jira.mongodb.org/browse/SERVER-74563</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The objective of this ticket is to be able to create a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cc502c1fa9de00c5ba3c97eb7d2337d288f7dd2a/src/mongo/db/repl/oplog_entry.h#L248&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MutableOplogEntry&lt;/a&gt; in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cc502c1fa9de00c5ba3c97eb7d2337d288f7dd2a/src/mongo/db/op_observer/op_observer_impl.cpp#L545&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;OpObserverImpl::onInserts&lt;/a&gt; and pass that to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/cc502c1fa9de00c5ba3c97eb7d2337d288f7dd2a/src/mongo/db/op_observer/op_observer_impl.cpp#L135&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logMutableOplogEntry&lt;/a&gt; to route to its eventual destination (batched writes/multi-doc txn/write-through to oplog).&lt;/p&gt;</description>
                <environment></environment>
        <key id="2279945">SERVER-74563</key>
            <summary>Streamline logical branches in opObserverImpl::onInserts</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>Thu, 2 Mar 2023 19:24:03 +0000</created>
                <updated>Sun, 29 Oct 2023 21:25:24 +0000</updated>
                            <resolved>Thu, 27 Apr 2023 15:06:49 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5381372" author="benety.goh" created="Thu, 27 Apr 2023 15:06:49 +0000"  >&lt;p&gt;We consolidated the oplog entry formatting code that used to be split between OpObserverImpl and oplog.cpp into one location within OpObserverImpl.&lt;/p&gt;

&lt;p&gt;The insert formatting code works on a range of insert operations, which is a little different from the rest of the oplog entry formatting callbacks in OpObserver which work on single operations. As such, we decided to leave the insert formatting logic separate from the rest of the CRUD and DDL operations.&lt;/p&gt;</comment>
                            <comment id="5379454" author="xgen-internal-githook" created="Wed, 26 Apr 2023 23:22:18 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; remove unused function repl::logInsertOps()&lt;/p&gt;

&lt;p&gt;The implementation has been moved to OpObserverImpl.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6dda218e0ea97be2467098758fcce437e18cb1aa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6dda218e0ea97be2467098758fcce437e18cb1aa&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5378946" author="xgen-internal-githook" created="Wed, 26 Apr 2023 20:10:30 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; remove unused function OplogWriter::logInsertOps()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4d541df08dde02eb967c8f2720e1e46beb88ff9c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4d541df08dde02eb967c8f2720e1e46beb88ff9c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5378616" author="xgen-internal-githook" created="Wed, 26 Apr 2023 18:39:02 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; copy repl::logInsertOps to OpObserverImpl implementation&lt;/p&gt;

&lt;p&gt;This consolidates the insert oplog entry logic in op_observer_impl.cpp.&lt;br/&gt;
repl::logInsertOps() in oplog.cpp will no longer be used to format insert&lt;br/&gt;
oplog entries.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/861a15b40720f0bb3b137576185bc1ba4d6eb0a8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/861a15b40720f0bb3b137576185bc1ba4d6eb0a8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5377840" author="xgen-internal-githook" created="Wed, 26 Apr 2023 15:20:48 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; OplogWriterMock::getNextOpTimes() returns non-empty vector of OpTimes to support logInsertOps() in tests&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e67ab87f4b966f0447280e518f620603d04add97&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e67ab87f4b966f0447280e518f620603d04add97&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5377125" author="xgen-internal-githook" created="Wed, 26 Apr 2023 12:52:46 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; add logOplogRecords to OplogWriter interface&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/537030bc588c260280a83fdda6e3c55f9acca9ff&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/537030bc588c260280a83fdda6e3c55f9acca9ff&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5376988" author="xgen-internal-githook" created="Wed, 26 Apr 2023 12:33:32 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; remove unused headers and std imports from oplog.cpp&lt;/p&gt;

&lt;p&gt;Last reference to std::deque was removed in commit 6543f0dea026b6ff9ad6f701a8f6ca62f0679613.&lt;br/&gt;
Last reference to &quot;&quot;_format() was removed in commit 320b66da2ed0ea95a082560af1ac1fb1800884bb.&lt;br/&gt;
Last reference to MultiIndexBlock was removed in commit 0b8ad5785098eb5d7537e8f621aa3aa331284e65.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4052ce367a9a01bb92872e15ca69ffdf4465174c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4052ce367a9a01bb92872e15ca69ffdf4465174c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5375779" author="xgen-internal-githook" created="Wed, 26 Apr 2023 03:00:24 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; move fail points addDestinedRecipient and sleepBetweenInsertOpTimeGenerationAndLogOp to op_observer_util&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/cd29dad92501a77a4f5d36a63dfbbd66e4299ee9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/cd29dad92501a77a4f5d36a63dfbbd66e4299ee9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5375761" author="xgen-internal-githook" created="Wed, 26 Apr 2023 02:27:58 +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-74563&quot; title=&quot;Streamline logical branches in opObserverImpl::onInserts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74563&quot;&gt;&lt;del&gt;SERVER-74563&lt;/del&gt;&lt;/a&gt; rename repl::_logOpsInner to logOplogRecords() and add to oplog.h interface&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5c4ff801ef9f1acb448c4a7c6ac8c0f94934371d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5c4ff801ef9f1acb448c4a7c6ac8c0f94934371d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2280701">SERVER-74589</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2308745">SERVER-75787</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2266508">SERVER-74100</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>9.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></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, 14 Apr 2023 18:30:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        40 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>
                            40 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|i1yntb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1ifjr:z</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="6820">Execution Team 2023-04-17</customfieldvalue>
    <customfieldvalue id="7175">Execution Team 2023-05-01</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|i1y9yn:</customfieldvalue>

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