<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:46: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-37653] data inconsistent</title>
                <link>https://jira.mongodb.org/browse/SERVER-37653</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;data can be found by some query on primary:&lt;/p&gt;

&lt;p&gt;shard01:PRIMARY&amp;gt; db.XXXXXXXXXX.find({&quot;task_ids&quot; : [ NumberLong(&quot;6566381934111359492&quot;) ]})&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;5b20be13e1803d1f2529dbe0&quot;), &quot;count&quot; : 1, &quot;task_ids&quot; : [ NumberLong(&quot;6566381934111359492&quot;) ],....}

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;but cannot found by _id:&lt;/p&gt;

&lt;p&gt;shard01:PRIMARY&amp;gt; db.XXXXXXXXXX.find({&quot;_id&quot;:ObjectId(&quot;5b20be13e1803d1f2529dbe0&quot;)}).count()&lt;br/&gt;
0&lt;/p&gt;

&lt;p&gt;the other secondaries are ok.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="621086">SERVER-37653</key>
            <summary>data inconsistent</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="5">Cannot Reproduce</resolution>
                                        <assignee username="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="hustchensi">chensi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Oct 2018 09:34:28 +0000</created>
                <updated>Fri, 7 Apr 2023 11:43:12 +0000</updated>
                            <resolved>Tue, 23 Oct 2018 05:43:56 +0000</resolved>
                                    <version>3.2.20</version>
                                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="2038688" author="thomas.schubert" created="Tue, 23 Oct 2018 05:43:31 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chensi_04%40126.com&quot; class=&quot;user-hover&quot; rel=&quot;chensi_04@126.com&quot;&gt;chensi_04@126.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the additional information. Unfortunately, in cases like this where the issue could have occurred some time ago without any hints to reproduce the issue, it&apos;s very challenging to investigate. As MongoDB 3.2 is no longer supported, I&apos;m going to resolve this ticket.&lt;/p&gt;

&lt;p&gt;Since your secondaries are consistent, I would recommend clearing the &lt;tt&gt;$dbpath&lt;/tt&gt; of the affected node and performing an initial sync. From the information provided, it appears that the _id index on this node is likely corrupt. While the index could be rebuilt, an initial sync would ensure that that the data is consistent across the replica set.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Kelsey&lt;/p&gt;</comment>
                            <comment id="2037049" author="hustchensi" created="Mon, 22 Oct 2018 03:13:55 +0000"  >&lt;p&gt;we don&apos;t use the momgos, just query against mongod.&lt;/p&gt;

&lt;p&gt;the following are explain results:&lt;/p&gt;

&lt;p&gt;A. data not found&lt;/p&gt;

&lt;p&gt;{{ &quot;queryPlanner&quot; : { &quot;plannerVersion&quot; : 1, &quot;namespace&quot; : &quot;XXX&quot;, &quot;indexFilterSet&quot; : false, &quot;parsedQuery&quot; : { &quot;_id&quot; : &lt;/p&gt;
{ &quot;$eq&quot; : ObjectId(&quot;5b20be13e1803d1f2529dbe0&quot;) }
&lt;p&gt; }, &quot;winningPlan&quot; : { &quot;stage&quot; : &quot;IDHACK&quot; }, &quot;rejectedPlans&quot; : [ ] }, &quot;executionStats&quot; : { &quot;executionSuccess&quot; : true, &quot;nReturned&quot; : 0, &quot;executionTimeMillis&quot; : 0, &quot;totalKeysExamined&quot; : 0, &quot;totalDocsExamined&quot; : 0, &quot;executionStages&quot; : &lt;/p&gt;
{ &quot;stage&quot; : &quot;IDHACK&quot;, &quot;nReturned&quot; : 0, &quot;executionTimeMillisEstimate&quot; : 0, &quot;works&quot; : 1, &quot;advanced&quot; : 0, &quot;needTime&quot; : 0, &quot;needYield&quot; : 0, &quot;saveState&quot; : 0, &quot;restoreState&quot; : 0, &quot;isEOF&quot; : 1, &quot;invalidates&quot; : 0, &quot;keysExamined&quot; : 0, &quot;docsExamined&quot; : 0 }
&lt;p&gt; },&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;B. data founded&lt;/p&gt;

&lt;p&gt;{{ &quot;queryPlanner&quot; : { &quot;plannerVersion&quot; : 1, &quot;namespace&quot; : &quot;ops_aggdata.tcs_project_blindverify_not_same_hourly&quot;, &quot;indexFilterSet&quot; : false, &quot;parsedQuery&quot; : { &quot;task_ids&quot; : &lt;/p&gt;
{ &quot;$eq&quot; : [ NumberLong(&quot;6566381934111359492&quot;) ] }
&lt;p&gt; }, &quot;winningPlan&quot; : { &quot;stage&quot; : &quot;COLLSCAN&quot;, &quot;filter&quot; : { &quot;task_ids&quot; : &lt;/p&gt;
{ &quot;$eq&quot; : [ NumberLong(&quot;6566381934111359492&quot;) ] }
&lt;p&gt; }, &quot;direction&quot; : &quot;forward&quot; }, &quot;rejectedPlans&quot; : [ ] }, &quot;executionStats&quot; : { &quot;executionSuccess&quot; : true, &quot;nReturned&quot; : 1, &quot;executionTimeMillis&quot; : 4031, &quot;totalKeysExamined&quot; : 0, &quot;totalDocsExamined&quot; : 1156773, &quot;executionStages&quot; : { &quot;stage&quot; : &quot;COLLSCAN&quot;, &quot;filter&quot; : { &quot;task_ids&quot; : &lt;/p&gt;
{ &quot;$eq&quot; : [ NumberLong(&quot;6566381934111359492&quot;) ] }
&lt;p&gt; }, &quot;nReturned&quot; : 1, &quot;executionTimeMillisEstimate&quot; : 3911, &quot;works&quot; : 1156775, &quot;advanced&quot; : 1, &quot;needTime&quot; : 1156773, &quot;needYield&quot; : 0, &quot;saveState&quot; : 9037, &quot;restoreState&quot; : 9037, &quot;isEOF&quot; : 1, &quot;invalidates&quot; : 0, &quot;direction&quot; : &quot;forward&quot;, &quot;docsExamined&quot; : 1156773 } },&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;BTW, data on the secondaries are consistent, we are moving to the 3.6 version&lt;/p&gt;</comment>
                            <comment id="2036264" author="thomas.schubert" created="Fri, 19 Oct 2018 18:21:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=chensi_04%40126.com&quot; class=&quot;user-hover&quot; rel=&quot;chensi_04@126.com&quot;&gt;chensi_04@126.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for reporting this issue. Please note that &lt;a href=&quot;https://www.mongodb.com/support-policy&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoDB 3.2 is no longer supported&lt;/a&gt;. I would recommend upgrading to a more recent version of MongoDB.&lt;/p&gt;

&lt;p&gt;Would you please clarify whether these queries reliably produce inconsistent results? If so, would you please provide the &lt;br/&gt;
&lt;tt&gt;.explain(&quot;executionStats&quot;)&lt;/tt&gt; for both? When you query from the mongos rather than directly against the mongod, what do you see?&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Kelsey&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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 19 Oct 2018 18:13:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 16 weeks, 1 day 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 16 weeks, 1 day 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>hustchensi</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huaplb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu10hr:</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;know no way to reproduce&lt;/p&gt;</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>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

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

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