<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:06:31 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-66824] Secondary&apos;s query targeting bug in Altas Search Index</title>
                <link>https://jira.mongodb.org/browse/SERVER-66824</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hello.&lt;br/&gt;
I am using the M40 cluster of MongoDB Atlas 4.4.14.&lt;/p&gt;

&lt;p&gt;I&apos;m inserting 1.5 million to 2 million documents into a new collection every hour, and I&apos;ve confirmed that the Query Targeting: Scanned Objects / Returned Has Gone 1000 alarm occurs every hour in the secondary of the cluster.&lt;/p&gt;

&lt;p&gt;I didn&apos;t understand this, so I did some tests&lt;br/&gt;
We have confirmed that the data change is caused by Atlas Search Index that exists in a different collection from the command operation collection.&lt;/p&gt;

&lt;p&gt;I think the update should occur only for the data changes in the collection where Search Index exists (to prevent unnecessary secondary load and unnecessary alerting)&lt;/p&gt;

&lt;p&gt;Currently, I use readPreference=secondary in the application for load balancing, but I think that the above operation could cover the colscan caused by lack of index.&lt;/p&gt;

&lt;p&gt;In many enterprise areas using MongoDB Atlas, we believe that the readPreference=secondary option will be used for load balancing, which requires corrective action.&lt;/p&gt;

&lt;p&gt;It took almost a month to investigate the cause of this phenomenon, so I would like you to seriously take action on the issue.&lt;/p&gt;

&lt;p&gt;(We have also confirmed that this is the same for clusters of versions 4.4.14 and 5.0.8)&lt;/p&gt;

&lt;p&gt;Thank you.&lt;br/&gt;
Have a nice day.&lt;/p&gt;</description>
                <environment>MongoDB Atlas 4.4.14 M40&lt;br/&gt;
ReplicaSet(Primary-Secondary-Secondary)</environment>
        <key id="2056489">SERVER-66824</key>
            <summary>Secondary&apos;s query targeting bug in Altas Search Index</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="9">Done</resolution>
                                        <assignee username="chris.kelly@mongodb.com">Chris Kelly</assignee>
                                    <reporter username="gyus@ididinc.com">&#44508;&#54805; &#51060;</reporter>
                        <labels>
                            <label>Bug</label>
                            <label>atlas-search</label>
                            <label>queryTargeting</label>
                            <label>search</label>
                            <label>search-index</label>
                    </labels>
                <created>Fri, 27 May 2022 04:04:09 +0000</created>
                <updated>Thu, 2 Jun 2022 17:49:51 +0000</updated>
                            <resolved>Thu, 2 Jun 2022 17:49:51 +0000</resolved>
                                    <version>4.4.14</version>
                    <version>5.0.8</version>
                                                    <component>Index Maintenance</component>
                    <component>Replication</component>
                    <component>Text Search</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4590761" author="JIRAUSER1265262" created="Thu, 2 Jun 2022 17:48:23 +0000"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Thanks for your report on this. To inform our Atlas team of issues you are having or feature requests you&apos;d like to suggest, please reach out to the Atlas support team via Intercom first. You can do this by clicking the round green button at the bottom right of the cluster view page in Atlas. This will be the best first step for looking into the problem further.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Christopher&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="381416" name="metrics.png" size="458296" author="gyus@ididinc.com" created="Fri, 27 May 2022 04:04:03 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 1 Jun 2022 17:55:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 35 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_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>chris.kelly@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 35 weeks, 6 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>chris.kelly@mongodb.com</customfieldvalue>
            <customfieldvalue>gyus@ididinc.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0wiy7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0fexk:</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>
                                    <customfieldvalue><![CDATA[chris.kelly@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0w53j:</customfieldvalue>

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