<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:17:28 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-70903] support multi-oplog format for batched operations</title>
                <link>https://jira.mongodb.org/browse/SERVER-70903</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Batched operations (see BatchedWriteContext) are currently limited to replicating as a single oplog entry. This places the responsibility of limiting the operations in a batched write on the caller. It would be nice to re-use the chained applyOps format used for large multi-document transactions to format large batched operations in a similar manner. Callers would no longer be constrained by the single applyOps format. However, for performance reasons, callers should still be aware of the implications of allowing unbounded set of operations to be batched and handle these issues accordingly.&lt;/p&gt;

&lt;p&gt;This ticket is limited to having the primary emit a chain of applyOps oplog entries representing a large batched write. Processing this chain of applyOps oplog entries on the secondary will be addressed in a follow-up ticket.&lt;/p&gt;

&lt;p&gt;This behavior will be guarded by a feature flag.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2168660">SERVER-70903</key>
            <summary>support multi-oplog format for batched operations</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="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="benety.goh@mongodb.com">Benety Goh</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Oct 2022 15:55:06 +0000</created>
                <updated>Fri, 2 Feb 2024 19:43:15 +0000</updated>
                            <resolved>Tue, 17 Jan 2023 15:50:10 +0000</resolved>
                                                    <fixVersion>6.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5225591" author="benety.goh" created="Thu, 23 Feb 2023 16:34:52 +0000"  >&lt;p&gt;Batched writes that span multiple oplog entries will now be formatted similarly to large multi-doc transactions with a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2597c37f5bfa29f1ddc9b33d7212c7beecc5afb2/src/mongo/db/repl/oplog_entry.idl#L170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;prevOpTime&lt;/a&gt; field linking each oplog entry in the chain to the previous entry. This is a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2597c37f5bfa29f1ddc9b33d7212c7beecc5afb2/src/mongo/db/op_observer/op_observer_impl.cpp#L1860&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;flag-guarded behavior&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For backwards compatibility, batched writes that fit within a single oplog entry will omit the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/2597c37f5bfa29f1ddc9b33d7212c7beecc5afb2/src/mongo/db/op_observer/op_observer_impl.cpp#L1905&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;prevOpTime&lt;/a&gt; field.&lt;/p&gt;</comment>
                            <comment id="5113720" author="xgen-internal-githook" created="Sat, 14 Jan 2023 12:33:47 +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-70903&quot; title=&quot;support multi-oplog format for batched operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70903&quot;&gt;&lt;del&gt;SERVER-70903&lt;/del&gt;&lt;/a&gt; keep prevOpTime field for large batched writes (multiple oplog entries)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2597c37f5bfa29f1ddc9b33d7212c7beecc5afb2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2597c37f5bfa29f1ddc9b33d7212c7beecc5afb2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5113041" author="xgen-internal-githook" created="Fri, 13 Jan 2023 20:56:36 +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-70903&quot; title=&quot;support multi-oplog format for batched operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70903&quot;&gt;&lt;del&gt;SERVER-70903&lt;/del&gt;&lt;/a&gt; relax multi timestamp constraint for large batched writes spanning multiple entries&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6ad7e5338b5068f65e19a565335880310df8a897&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6ad7e5338b5068f65e19a565335880310df8a897&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5112364" author="xgen-internal-githook" created="Fri, 13 Jan 2023 17:43:57 +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-70903&quot; title=&quot;support multi-oplog format for batched operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70903&quot;&gt;&lt;del&gt;SERVER-70903&lt;/del&gt;&lt;/a&gt; relax multi-oplog constraint for large batched writes&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/333f4b044ea2a1a9ad8340cc371b5706fe84211e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/333f4b044ea2a1a9ad8340cc371b5706fe84211e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5106066" author="benety.goh" created="Wed, 11 Jan 2023 15:10:39 +0000"  >&lt;p&gt;Supporting multi-oplog format for batched writes will requires relaxing the multi-timestamp constraint similar to what we do for unprepared multi-document transactions. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-51301&quot; title=&quot;Have no-op writes for recording pre/post image documents be a side transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-51301&quot;&gt;SERVER-51301&lt;/a&gt; describes a longer term strategy for &lt;a href=&quot;https://github.com/mongodb/mongo/blob/96baa4302afec09851b3ef78bd7c783a32365ee6/src/mongo/db/storage/recovery_unit.h#L552&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RecoveryUnit::ignoreAllMultiTimestampConstraints()&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2159238">SERVER-70572</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2320853">SERVER-76409</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2168661">SERVER-70904</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2230331">SERVER-72723</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2232707">SERVER-72830</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313221">SERVER-76029</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2225917">SERVER-72584</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2159238">SERVER-70572</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1498400">SERVER-51301</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.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, 9 Jan 2023 15:07:57 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            49 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|i1fph3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0ycso:</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="6492">Execution Team 2022-11-14</customfieldvalue>
    <customfieldvalue id="6554">Execution Team 2022-12-12</customfieldvalue>
    <customfieldvalue id="6579">Execution Team 2022-11-28</customfieldvalue>
    <customfieldvalue id="6672">Execution Team 2022-12-26</customfieldvalue>
    <customfieldvalue id="6673">Execution Team 2023-01-09</customfieldvalue>
    <customfieldvalue id="6684">Execution Team 2023-01-23</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|i1fbmf:</customfieldvalue>

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