<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:05:25 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-24113] OplogFetcher getMore callback QueryResponseStatus should include metadata on error</title>
                <link>https://jira.mongodb.org/browse/SERVER-24113</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;On ExceededTimeLimit errors in the getMore callback of the OplogFetcher, we potentially still want to apply the metadata even on failure. Currently the QueryResponseStatus is a statusWith, which cannot both return the status and a value that includes metadata.&lt;/p&gt;</description>
                <environment></environment>
        <key id="285626">SERVER-24113</key>
            <summary>OplogFetcher getMore callback QueryResponseStatus should include metadata on error</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 May 2016 19:24:47 +0000</created>
                <updated>Tue, 6 Dec 2022 04:25:53 +0000</updated>
                            <resolved>Mon, 18 Apr 2022 18:14:59 +0000</resolved>
                                                    <fixVersion>Needs Further Definition</fixVersion>
                                    <component>Networking</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="4489896" author="lingzhi.deng" created="Tue, 19 Apr 2022 02:48:47 +0000"  >&lt;p&gt;We decided to close this as &quot;Won&apos;t Do&quot; because it isn&apos;t very clear what the benefit would be. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24088&quot; title=&quot;oplog fetcher should retry on getMore ExceededTimeLimit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24088&quot;&gt;&lt;del&gt;SERVER-24088&lt;/del&gt;&lt;/a&gt; seems to suggest that this would help with commit point propagation. But we already have &lt;a href=&quot;https://github.com/mongodb/mongo/blob/57b670b4df8b5ad731306a811500b46c9e71a0e9/src/mongo/db/query/plan_insert_listener.cpp#L64-L72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this logic&lt;/a&gt; for the sync source to emit an empty patch to expedite commit point propagation. &lt;/p&gt;</comment>
                            <comment id="4473114" author="lingzhi.deng" created="Mon, 11 Apr 2022 15:56:00 +0000"  >&lt;p&gt;This wasn&apos;t solved as part of the Exhaust Cursors for Oplog Fetching project. We do use the &lt;tt&gt;rpc::ReplyMetadataReader&lt;/tt&gt; callback in &lt;tt&gt;DBClientConnection&lt;/tt&gt;. But we only &lt;a href=&quot;https://github.com/mongodb/mongo/blob/57b670b4df8b5ad731306a811500b46c9e71a0e9/src/mongo/db/repl/oplog_fetcher.cpp#L525-L527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;cache&lt;/a&gt; the metadata there but not process it until &lt;a href=&quot;https://github.com/mongodb/mongo/blob/57b670b4df8b5ad731306a811500b46c9e71a0e9/src/mongo/db/repl/oplog_fetcher.cpp#L807&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_onSuccessfulBatch&lt;/tt&gt;&lt;/a&gt; is called. To do this ticket, maybe we can process the cached metadata on certain errors in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/57b670b4df8b5ad731306a811500b46c9e71a0e9/src/mongo/db/repl/oplog_fetcher.cpp#L401-L422&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the error path&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="2709563" author="lingzhi.deng" created="Tue, 7 Jan 2020 15:20:42 +0000"  >&lt;p&gt;The Exhaust Cursors for Oplog Fetching is planning to use the &lt;tt&gt;rpc::ReplyMetadataReader&lt;/tt&gt; callback in &lt;tt&gt;DBClientConnection&lt;/tt&gt; to handle metadata. Based on &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ac99f0b697e689dc950a22def4c882c7b3bea9e4/src/mongo/client/dbclient_cursor.cpp#L314-L317&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this&lt;/a&gt;, I think this might come for free because the callback is called on every response (even on failure status). Maybe we can make this ticket depend on the project and so we will remember to revisit to see if there is anything else to do after.&lt;/p&gt;</comment>
                            <comment id="2705670" author="judah.schvimer" created="Mon, 6 Jan 2020 17:58:10 +0000"  >&lt;p&gt;I&apos;m changing this to an improvement since it doesn&apos;t seem like there is any incorrect behavior as a result, just maybe less than ideal behavior.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ldeng&quot; class=&quot;user-hover&quot; rel=&quot;ldeng&quot;&gt;ldeng&lt;/a&gt;, is this still a desired improvement after Exhaust Cursors for Oplog Fetching? Do you know what more we&apos;d want to do here after that project?&lt;/p&gt;</comment>
                            <comment id="1272048" author="jason.carey" created="Mon, 23 May 2016 15:38:10 +0000"  >&lt;p&gt;Per discussion with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=scotthernandez&quot; class=&quot;user-hover&quot; rel=&quot;scotthernandez&quot;&gt;scotthernandez&lt;/a&gt;, I&apos;ve expanded &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24067&quot; title=&quot;TaskExecutor RemoteCommandCallbackArgs should include elapsedMS and metadata&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24067&quot;&gt;&lt;del&gt;SERVER-24067&lt;/del&gt;&lt;/a&gt; to include metadata and I&apos;m passing this ticket back to replication&lt;/p&gt;</comment>
                            <comment id="1272017" author="jason.carey" created="Mon, 23 May 2016 15:22:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=scotthernandez&quot; class=&quot;user-hover&quot; rel=&quot;scotthernandez&quot;&gt;scotthernandez&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;That makes sense and I think I&apos;ve got a good grasp of what you&apos;re looking for in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24067&quot; title=&quot;TaskExecutor RemoteCommandCallbackArgs should include elapsedMS and metadata&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24067&quot;&gt;&lt;del&gt;SERVER-24067&lt;/del&gt;&lt;/a&gt;.  What I&apos;m wondering is what else we need for this ticket.  Is there somewhere else you&apos;re looking to have us thread elapsedMS after the task executor work is done?&lt;/p&gt;</comment>
                            <comment id="1270658" author="scotthernandez" created="Fri, 20 May 2016 21:18:04 +0000"  >&lt;p&gt;To be more concise, the executor (network_interface) returns a StatusWith&amp;lt;RemoteCommandResponse&amp;gt; where the RemoteCommandResponse has the metadata, and elapsedMS (see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24067&quot; title=&quot;TaskExecutor RemoteCommandCallbackArgs should include elapsedMS and metadata&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24067&quot;&gt;&lt;del&gt;SERVER-24067&lt;/del&gt;&lt;/a&gt;) and we need those in the case that there is an error, when there is no RemoteCommandResponse.&lt;/p&gt;

&lt;p&gt;We can add more context if that isn&apos;t enough.&lt;/p&gt;</comment>
                            <comment id="1259931" author="scotthernandez" created="Mon, 9 May 2016 20:37:15 +0000"  >&lt;p&gt;This may be a problem for replication due to how tailing the oplog works wrt this not returning metadata on TimeOutExceeded errors due to maxTimeMS command processing, and therefore liveness information is being delayed (since a new find query must be issued) or lost on this return path.&lt;/p&gt;

&lt;p&gt;Also, we should address &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24067&quot; title=&quot;TaskExecutor RemoteCommandCallbackArgs should include elapsedMS and metadata&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24067&quot;&gt;&lt;del&gt;SERVER-24067&lt;/del&gt;&lt;/a&gt; at the same time, since it should be peer data being returned along the same code-paths.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="285198">SERVER-24088</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="273578">SERVER-23222</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="284758">SERVER-24067</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 9 May 2016 20:37:15 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 42 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/PM-1232'>PM-1232</a></s>]]></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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 42 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>lingzhi.deng@mongodb.com</customfieldvalue>
            <customfieldvalue>mira.carey@mongodb.com</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk887:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsa2nz:</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_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|hs8bqv:</customfieldvalue>

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