<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:14: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-47524] Update stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription</title>
                <link>https://jira.mongodb.org/browse/SERVER-47524</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/e93a19b0d6c3e7004efd914a5e6dd27bc525c421/src/mongo/db/exec/update_stage.cpp#L179&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/e93a19b0d6c3e7004efd914a5e6dd27bc525c421/src/mongo/db/exec/update_stage.cpp#L179&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1314195">SERVER-47524</key>
            <summary>Update stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription</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="tommaso.tocci@mongodb.com">Tommaso Tocci</assignee>
                                    <reporter username="tommaso.tocci@mongodb.com">Tommaso Tocci</reporter>
                        <labels>
                            <label>PM-1645-Milestone-1</label>
                    </labels>
                <created>Tue, 14 Apr 2020 11:02:55 +0000</created>
                <updated>Sun, 29 Oct 2023 22:09:33 +0000</updated>
                            <resolved>Wed, 29 Apr 2020 14:47:23 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3060482" author="xgen-internal-githook" created="Wed, 29 Apr 2020 14:44:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Tommaso Tocci&apos;, &apos;email&apos;: &apos;tommaso.tocci@mongodb.com&apos;, &apos;username&apos;: &apos;toto-dev&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47524&quot; title=&quot;Update stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47524&quot;&gt;&lt;del&gt;SERVER-47524&lt;/del&gt;&lt;/a&gt; Update stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/33787deafcc30bb7c8f08e10123fe5d6b3b937b5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/33787deafcc30bb7c8f08e10123fe5d6b3b937b5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3051941" author="tommaso.tocci" created="Wed, 22 Apr 2020 21:55:38 +0000"  >&lt;p&gt;Last EVG: &lt;a href=&quot;https://evergreen.mongodb.com/version/5ea06caf7742ae06edffeb2c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/version/5ea06caf7742ae06edffeb2c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://evergreen.mongodb.com/task/mongodb_mongo_master_linux_64_debug_sharding_16_linux_64_debug_patch_084b1cb37c747dffb7934cd434b8f6a6e4426edc_5ea06caf7742ae06edffeb2c_20_04_22_16_19_45/0##%257B%2522compare%2522%253A%255B%257B%2522hash%2522%253A%2522084b1cb37c747dffb7934cd434b8f6a6e4426edc%2522%257D%255D%257D&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Sharding suite&lt;/a&gt; failed, mongos gets a StaleConfig on a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9c442e31cc9d7fda1ee51f142e61ccac21de7c7e/src/mongo/s/query/establish_cursors.cpp#L94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;establishingCursors&lt;/a&gt;()&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;User assertion&quot;,&quot;attr&quot;:{&quot;error&quot;:&quot;StaleConfig{ ns: \&quot;test.foo\&quot;, vReceived: Timestamp(3, 0), vReceivedEpoch: ObjectId(&apos;5ea0738e0cea6ef0922210d1&apos;), vWanted: Timestamp(0, 0), vWantedEpoch: ObjectId(&apos;5ea0738e0cea6ef0922210d1&apos;), shardId: \&quot;tag_auto_split-rs0\&quot; }: this shard no longer contains chunks for test.foo, the collection may have been dropped&quot;,&quot;file&quot;:&quot;src/mongo/s/query/establish_cursors.cpp&quot;,&quot;line&quot;:94}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;The shard is throwing on &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9c442e31cc9d7fda1ee51f142e61ccac21de7c7e/src/mongo/db/s/collection_sharding_runtime.cpp#L381-L384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;getMetadataWithVersionCheckAt&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; Complete log: &lt;a href=&quot;https://logkeeper.mongodb.org/lobster/build/a771667bda22743e2609a27b2ddac211/test/5ea07388c2ab685b222a0eff#bookmarks=0%2C3552%2C120687&amp;amp;l=3552&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logkeeper.mongodb.org/lobster/build/a771667bda22743e2609a27b2ddac211/test/5ea07388c2ab685b222a0eff#bookmarks=0%2C3552%2C120687&amp;amp;l=3552&lt;/a&gt;|&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="3040949" author="tommaso.tocci" created="Wed, 15 Apr 2020 16:43:10 +0000"  >&lt;p&gt;When using the new getCollectionDescription function that throws, the attached update_stage_throws.stacktrace.txt shows that in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/454e1823bbbe7cc25d6f34856913d8161d729e4b/src/mongo/db/repl/oplog_applier_impl.cpp#L1059&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongo::repl::applyOplogEntryOrGroupedInserts&lt;/a&gt; we do a call to mongo::update in a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/454e1823bbbe7cc25d6f34856913d8161d729e4b/src/mongo/db/repl/oplog.cpp#L1276&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;writeConflictRetry&lt;/a&gt;. If the update operation throws a staleConfigException, the exception get propagated up to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/454e1823bbbe7cc25d6f34856913d8161d729e4b/src/mongo/db/repl/oplog_applier_impl.cpp#L1077&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this catch&lt;/a&gt; then converted to a status object and bubbled up. We need to find a way to handle the StaleConfigException somewhere in this code path.&lt;/p&gt;</comment>
                            <comment id="3039136" author="tommaso.tocci" created="Tue, 14 Apr 2020 16:45:48 +0000"  >&lt;p&gt;last EVG tracking failures &lt;a href=&quot;https://evergreen.mongodb.com/version/5e95e1933627e055ace4804d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/version/5e95e1933627e055ace4804d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1314181">SERVER-47521</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="256890" name="shard_existing_coll_chunk_count.js.traces.demangled" size="10227" author="tommaso.tocci@mongodb.com" created="Tue, 21 Apr 2020 17:05:47 +0000"/>
                            <attachment id="256122" name="update_stage_throws.stacktrace.txt" size="6658" author="tommaso.tocci@mongodb.com" created="Wed, 15 Apr 2020 15:57:16 +0000"/>
                            <attachment id="256413" name="update_stage_throws.stacktrace2.txt" size="9841" author="tommaso.tocci@mongodb.com" created="Fri, 17 Apr 2020 09:00:07 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.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_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>Wed, 29 Apr 2020 14:44:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 41 weeks 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-1645</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>
                            3 years, 41 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>tommaso.tocci@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxf5f3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvmken:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3837">Sharding 2020-04-20</customfieldvalue>
    <customfieldvalue id="3841">Sharding 2020-05-04</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|hxerof:</customfieldvalue>

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