<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:01:53 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-42956] ReadyIndexesIterator::_advance() does not perform isReady() check</title>
                <link>https://jira.mongodb.org/browse/SERVER-42956</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A change for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37263&quot; title=&quot;New IAM for hybrid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37263&quot;&gt;&lt;del&gt;SERVER-37263&lt;/del&gt;&lt;/a&gt; removed a check in ReadyIndexesIterator::_advance() that skips indexes returning false for isReady().&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a5ce10b0982c7a0378ba92f1c7d3e02d49d0b18a#diff-d394cc50d8f61537a660446b56f0b5d5L96-L97&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a5ce10b0982c7a0378ba92f1c7d3e02d49d0b18a#diff-d394cc50d8f61537a660446b56f0b5d5L96-L97&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Skipping this check may allow a query to scan an index that is not consistent with the current transaction. We believe the fassert() added by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40620&quot; title=&quot;Return or log error if an index key is present but the document is not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40620&quot;&gt;&lt;del&gt;SERVER-40620&lt;/del&gt;&lt;/a&gt; (since reverted) is tripping as a result of an index getting used that should have been filtered out by an isReady() check. Let me know if you&apos;d like details on how to reproduce that.&lt;/p&gt;</description>
                <environment></environment>
        <key id="903026">SERVER-42956</key>
            <summary>ReadyIndexesIterator::_advance() does not perform isReady() check</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</assignee>
                                    <reporter username="justin.seyster@mongodb.com">Justin Seyster</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Aug 2019 19:18:04 +0000</created>
                <updated>Thu, 26 Sep 2019 18:57:27 +0000</updated>
                            <resolved>Fri, 23 Aug 2019 19:48:23 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2384956" author="daniel.gottlieb@10gen.com" created="Fri, 23 Aug 2019 19:48:23 +0000"  >&lt;p&gt;Instead of the proposed fix, I recommend doing &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43018&quot; title=&quot;Formalize contract for safely accessing the catalog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43018&quot;&gt;&lt;del&gt;SERVER-43018&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The solution proposed here would fix the specific problem the validation in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40620&quot; title=&quot;Return or log error if an index key is present but the document is not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40620&quot;&gt;&lt;del&gt;SERVER-40620&lt;/del&gt;&lt;/a&gt; catches. However, analyzing this bug showed there&apos;s a class of problems related to performing catalog lookups when the in-memory catalog is not appropriately synchronized with the on-disk catalog. These cases are specific to local/majority multi-document transactions, and are admittedly rather contrived.&lt;/p&gt;

&lt;p&gt;If &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43018&quot; title=&quot;Formalize contract for safely accessing the catalog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43018&quot;&gt;&lt;del&gt;SERVER-43018&lt;/del&gt;&lt;/a&gt; proves to be difficult, I&apos;m happy to revisit putting in this change as a way to gain the validation introduced in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40620&quot; title=&quot;Return or log error if an index key is present but the document is not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40620&quot;&gt;&lt;del&gt;SERVER-40620&lt;/del&gt;&lt;/a&gt;. It&apos;s very valuable for giving confidence to all indexing changes.&lt;/p&gt;

&lt;p&gt;FWIW, the sample patch in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43018&quot; title=&quot;Formalize contract for safely accessing the catalog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43018&quot;&gt;&lt;del&gt;SERVER-43018&lt;/del&gt;&lt;/a&gt; did fix the problem &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40620&quot; title=&quot;Return or log error if an index key is present but the document is not&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40620&quot;&gt;&lt;del&gt;SERVER-40620&lt;/del&gt;&lt;/a&gt; discovered. I&apos;m optimistic we&apos;ll have a complete fix.&lt;/p&gt;</comment>
                            <comment id="2381898" author="justin.seyster" created="Thu, 22 Aug 2019 00:43:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.gottlieb&quot; class=&quot;user-hover&quot; rel=&quot;daniel.gottlieb&quot;&gt;daniel.gottlieb&lt;/a&gt; Yes to both.&lt;/p&gt;</comment>
                            <comment id="2381714" author="daniel.gottlieb@10gen.com" created="Wed, 21 Aug 2019 20:49:52 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=justin.seyster&quot; class=&quot;user-hover&quot; rel=&quot;justin.seyster&quot;&gt;justin.seyster&lt;/a&gt; Is this failing specifically in the case where the reader is not using a timestamp? And presumably the reader is concurrent with a background/hybrid index build completing?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="737560">SERVER-40620</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="905164">SERVER-43018</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 Aug 2019 20:49:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 24 weeks, 5 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>suganthi.mani@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 24 weeks, 5 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>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>justin.seyster@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvm6tr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvaztb:</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="3092">Execution Team 2019-08-26</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|hvlt33:</customfieldvalue>

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