<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:47:37 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-81862] Streams: for $merge to sharded collections not sharded on _id, need to include shard key in upsert requests</title>
                <link>https://jira.mongodb.org/browse/SERVER-81862</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Create a shard collection with key that isn&apos;t _id. $merge writes will send things to the DLQ with:&lt;br/&gt;
  {&lt;br/&gt;
    _id: ObjectId(&quot;651d8464f0b07ba2ac0ce8a3&quot;),&lt;br/&gt;
    _stream_meta: &lt;/p&gt;
{ timestamp: ISODate(&quot;2023-10-04T15:27:32.278Z&quot;) }
&lt;p&gt;,&lt;br/&gt;
    errInfo: {&lt;br/&gt;
      reason: &apos;Failed to process an input document in the current batch in MergeOperator with error: Failed to target upsert by query :: could not extract exact shard key: generic server error&apos;&lt;br/&gt;
    }&lt;br/&gt;
  }&lt;/p&gt;</description>
                <environment></environment>
        <key id="2459251">SERVER-81862</key>
            <summary>Streams: for $merge to sharded collections not sharded on _id, need to include shard key in upsert requests</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="sandeep.dhoot@mongodb.com">Sandeep Dhoot</assignee>
                                    <reporter username="matthew.normyle@mongodb.com">Matthew Normyle</reporter>
                        <labels>
                            <label>init-337-m3</label>
                            <label>prioritize</label>
                    </labels>
                <created>Wed, 4 Oct 2023 15:50:47 +0000</created>
                <updated>Thu, 4 Jan 2024 05:59:40 +0000</updated>
                            <resolved>Wed, 6 Dec 2023 22:03:44 +0000</resolved>
                                                    <fixVersion>7.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5984930" author="xgen-internal-githook" created="Thu, 4 Jan 2024 05:59:40 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Sandeep Dhoot&apos;, &apos;email&apos;: &apos;sandeep.dhoot@mongodb.com&apos;, &apos;username&apos;: &apos;sandeepgd&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81862&quot; title=&quot;Streams: for $merge to sharded collections not sharded on _id, need to include shard key in upsert requests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81862&quot;&gt;&lt;del&gt;SERVER-81862&lt;/del&gt;&lt;/a&gt;: Remove streams_auth test suite.&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: ff6e453f7b78deb1b38c8ed17ea83ee44e1429c5&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/937c16dac516fe5c0f08daa823096e55501ee169&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/937c16dac516fe5c0f08daa823096e55501ee169&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5931206" author="JIRAUSER1272673" created="Wed, 6 Dec 2023 22:03:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yoonsoo.kim%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;yoonsoo.kim@mongodb.com&quot;&gt;yoonsoo.kim@mongodb.com&lt;/a&gt; Yeah, this is done. Closing it now. Thanks!&lt;/p&gt;</comment>
                            <comment id="5931126" author="JIRAUSER1258488" created="Wed, 6 Dec 2023 21:34:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sandeep.dhoot%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;sandeep.dhoot@mongodb.com&quot;&gt;sandeep.dhoot@mongodb.com&lt;/a&gt;, is this supposed to be closed? I have a BF depending on this ticket and wanted to make sure that this is actually closed.&lt;/p&gt;</comment>
                            <comment id="5911549" author="xgen-internal-githook" created="Wed, 29 Nov 2023 07:38:58 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Sandeep Dhoot&apos;, &apos;email&apos;: &apos;sandeep.dhoot@mongodb.com&apos;, &apos;username&apos;: &apos;sandeepgd&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81862&quot; title=&quot;Streams: for $merge to sharded collections not sharded on _id, need to include shard key in upsert requests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81862&quot;&gt;&lt;del&gt;SERVER-81862&lt;/del&gt;&lt;/a&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;streams&amp;#93;&lt;/span&gt; Make content-based routing work for sharded collections.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c465e20138b275940a2e8c1c09fd010fe697b819&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c465e20138b275940a2e8c1c09fd010fe697b819&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5760997" author="JIRAUSER1272673" created="Sat, 7 Oct 2023 04:51:23 +0000"  >&lt;p&gt;Still need to figure out a proper fix for this. But possibly the error goes away if we specify the shard key in $merge.on. Confirming this. It also seems like server team recently &lt;a href=&quot;https://docs.google.com/document/d/1n9uaUaV1vDMi6eYxy2jVE-G0Cp9IesGs88p1QFmS9tU/edit&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;worked on&lt;/a&gt; making this work even when the shard key is not specified in the incoming write. But it seems more efficient to always specify shard key for sharded collections.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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>5.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25414"><![CDATA[Atlas Streams]]></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>Sat, 7 Oct 2023 04:51:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 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>STREAMS-483</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>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>30.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>matthew.normyle@mongodb.com</customfieldvalue>
            <customfieldvalue>sandeep.dhoot@mongodb.com</customfieldvalue>
            <customfieldvalue>yoonsoo.kim@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2tgpz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2bdp0:</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="7837">Sprint 33</customfieldvalue>
    <customfieldvalue id="7838">Sprint 34</customfieldvalue>
    <customfieldvalue id="7839">Sprint 35</customfieldvalue>
    <customfieldvalue id="7840">Sprint 36</customfieldvalue>
    <customfieldvalue id="7938">Sprint 37</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|i2t2vb:</customfieldvalue>

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