<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:44:56 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-80914] cannot retrieve partial results from a sharded cluster with one zone down</title>
                <link>https://jira.mongodb.org/browse/SERVER-80914</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Results are not being returned as expected when issuing what should be a targeted query against a zone-sharded cluster when one zone is down. Steps to reproduce (you can find the exact commands that I used &lt;a href=&quot;https://github.com/janosj/mongodb-sharding/tree/main/zone&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; on github):&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Launch a 2-shard cluster (&quot;0-deployCluster.mlaunch.sh&quot;)&lt;/li&gt;
	&lt;li&gt;Tag each shard with a zone (US and WORLD). (&quot;1-addShardstoZone.sh&quot;).&lt;/li&gt;
	&lt;li&gt;Define the zone ranges such that a &apos;metadata.site&apos; value of &apos;site1&apos; is mapped to the US zone and a &apos;metadata.site&apos; value of &apos;site2&apos; is mapped to the WORLD zone. (&quot;2-defineZoneRanges.sh&quot;)&lt;/li&gt;
	&lt;li&gt;Shard a collection using a compound shard key: {&apos;metadata.site&apos;:1, &apos;metadata.sensorID&apos;: 1}.&#160; &#160;(&quot;3-shardCollection.sh&quot;)&lt;/li&gt;
	&lt;li&gt;Insert test data. 2 records will suffice: one containing &apos;metadata.site&apos;=&apos;site1&apos; and another container &apos;metadata.site&apos;=&apos;site2&apos;. (&quot;4-insertData.sh&quot;)&lt;/li&gt;
	&lt;li&gt;&#160;Run the test scenario defined in &quot;testSiteFailure.txt&quot;. Kill shard02 (corresponding to site2/WORLD), connect to the mongos, and run some queries. Note that a query on {&quot;metadata.site&quot;:&quot;site1&quot;} should be a targeted query, and should succeed, but it does not. No results are returned.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Working with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ratika.gandhi%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ratika.gandhi@mongodb.com&quot;&gt;ratika.gandhi@mongodb.com&lt;/a&gt; to understand why results are not being returned when using the prefix of a compound shard key. Our documentation says this should work.&#160;&lt;/p&gt;

&lt;p&gt;I tested this using Mongo 6.0.6&lt;/p&gt;</description>
                <environment></environment>
        <key id="2437728">SERVER-80914</key>
            <summary>cannot retrieve partial results from a sharded cluster with one zone down</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="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-cluster-scalability">Backlog - Cluster Scalability</assignee>
                                    <reporter username="jonathan.janos@mongodb.com">Jonathan Janos</reporter>
                        <labels>
                            <label>cs-subteam1</label>
                            <label>cs-techdebt</label>
                            <label>sharding-nyc-subteam1</label>
                    </labels>
                <created>Fri, 8 Sep 2023 17:27:17 +0000</created>
                <updated>Mon, 22 Jan 2024 19:33:03 +0000</updated>
                                            <version>6.0.6</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5834896" author="jonathan.janos" created="Mon, 30 Oct 2023 22:06:03 +0000"  >&lt;p&gt;I do have a customer running into this. They are specifically working with native time series collections, and when you do that, it appears that you can&apos;t get results back at all when one of the zones is down, even when using targeted queries containing the complete shard key. I&apos;m not sure if that&apos;s the same issue or an additional issue. Adding &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=michael.gargiulo%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;michael.gargiulo@mongodb.com&quot;&gt;michael.gargiulo@mongodb.com&lt;/a&gt; for visibility on time series.&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="26583"><![CDATA[Cluster Scalability]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 29 Sep 2023 15:39:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 weeks, 2 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_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>rachita.dhawan@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            14 weeks, 2 days ago
                        </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>backlog-server-cluster-scalability</customfieldvalue>
            <customfieldvalue>jonathan.janos@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2prxb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i27r4g:</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </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|i2pe2n:</customfieldvalue>

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