<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:13 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-2185] writes can occur during a query</title>
                <link>https://jira.mongodb.org/browse/SERVER-2185</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;see below should be easy to correct.&lt;/p&gt;

&lt;p&gt;   mongod.exe!mongo::sayDbContext(const char * errmsg)  Line 167   C++&lt;br/&gt;
       mongod.exe!mongo::asserted(const char * msg, const char * file,&lt;br/&gt;
unsigned int line)  Line 79 + 0x7 bytes C++&lt;br/&gt;
       mongod.exe!mongo::MongoMutex::assertWriteLocked()  Line 46 + 0x1d bytes C++&lt;br/&gt;
       mongod.exe!mongo::dur::CommitJob::noteOp(boost::shared_ptr&amp;lt;mongo::dur::DurOp&amp;gt;&lt;br/&gt;
p)  Line 112    C++&lt;br/&gt;
       mongod.exe!mongo::dur::createdFile(std::basic_string&amp;lt;char,std::char_traits&amp;lt;char&amp;gt;,std::allocator&amp;lt;char&amp;gt;&lt;br/&gt;
&amp;gt; filename, unsigned __int64 len)  Line 81      C++&lt;br/&gt;
       mongod.exe!mongo::MongoMMF::create(std::basic_string&amp;lt;char,std::char_traits&amp;lt;char&amp;gt;,std::allocator&amp;lt;char&amp;gt;&lt;br/&gt;
&amp;gt; fname, unsigned __int64 &amp;amp; len, bool sequentialHint)  Line 172 + 0x29&lt;br/&gt;
bytes   C++&lt;br/&gt;
       mongod.exe!mongo::MongoDataFile::open(const char * filename, int&lt;br/&gt;
minSize, bool preallocateOnly)  Line 383 + 0x28 bytes   C++&lt;br/&gt;
       mongod.exe!mongo::Database::getFile(int n, int sizeNeeded, bool&lt;br/&gt;
preallocateOnly)  Line 118      C++&lt;br/&gt;
       mongod.exe!mongo::DataFileMgr::getExtent(const mongo::DiskLoc &amp;amp; dl)&lt;br/&gt;
Line 441 + 0x2e bytes   C++&lt;br/&gt;
       mongod.exe!mongo::DataFileMgr::findAll(const char * ns, const&lt;br/&gt;
mongo::DiskLoc &amp;amp; startLoc)  Line 628 + 0x9 bytes        C++&lt;br/&gt;
       mongod.exe!mongo::findTableScan(const char * ns, const&lt;br/&gt;
mongo::BSONObj &amp;amp; order, const mongo::DiskLoc &amp;amp; startLoc)  Line 674 +&lt;br/&gt;
0x11 bytes      C++&lt;br/&gt;
       mongod.exe!mongo::QueryPlan::newCursor(const mongo::DiskLoc &amp;amp;&lt;br/&gt;
startLoc, int numWanted)  Line 200 + 0x20 bytes C++&lt;br/&gt;
       mongod.exe!mongo::UserQueryOp::_init()  Line 657 + 0x3d bytes   C++&lt;br/&gt;
       mongod.exe!mongo::QueryOp::init()  Line 115 + 0xf bytes C++&lt;br/&gt;
       mongod.exe!mongo::QueryPlanSet::Runner::initOp(mongo::QueryOp &amp;amp; op)&lt;br/&gt;
Line 643 + 0xf bytes    C++&lt;br/&gt;
       mongod.exe!mongo::QueryPlanSet::Runner::run()  Line 580 + 0x15 bytes    C++&lt;br/&gt;
       mongod.exe!mongo::QueryPlanSet::runOp(mongo::QueryOp &amp;amp; op)  Line 488&lt;br/&gt;
+ 0xc bytes     C++&lt;br/&gt;
       mongod.exe!mongo::MultiPlanScanner::runOpOnce(mongo::QueryOp &amp;amp; op)&lt;br/&gt;
Line 706 + 0x1a bytes   C++&lt;br/&gt;
       mongod.exe!mongo::MultiPlanScanner::runOp(mongo::QueryOp &amp;amp; op)  Line&lt;br/&gt;
722 + 0x10 bytes        C++&lt;br/&gt;
       mongod.exe!mongo::MultiPlanScanner::runOp&amp;lt;mongo::UserQueryOp&amp;gt;(mongo::UserQueryOp&lt;br/&gt;
&amp;amp; op)  Line 288 + 0x13 bytes    C++&lt;br/&gt;
&amp;gt;       mongod.exe!mongo::runQuery(mongo::Message &amp;amp; m, mongo::QueryMessage &amp;amp; q, mongo::CurOp &amp;amp; curop, mongo::Message &amp;amp; result)  Line 1108 + 0x20 bytes  C++&lt;br/&gt;
       mongod.exe!mongo::receivedQuery(mongo::Client &amp;amp; c, mongo::DbResponse&lt;br/&gt;
&amp;amp; dbresponse, mongo::Message &amp;amp; m)  Line 172 + 0x20 bytes        C++&lt;br/&gt;
       mongod.exe!mongo::assembleResponse(mongo::Message &amp;amp; m,&lt;br/&gt;
mongo::DbResponse &amp;amp; dbresponse, const mongo::SockAddr &amp;amp; client)  Line&lt;br/&gt;
279 + 0x11 bytes        C++&lt;br/&gt;
       mongod.exe!mongo::DBDirectClient::call(mongo::Message &amp;amp; toSend,&lt;br/&gt;
mongo::Message &amp;amp; response, bool assertOk)  Line 639 + 0x12 bytes        C++&lt;br/&gt;
       mongod.exe!mongo::DBClientCursor::init()  Line 52 + 0x2a bytes  C++&lt;br/&gt;
       mongod.exe!mongo::DBClientBase::query(const&lt;br/&gt;
std::basic_string&amp;lt;char,std::char_traits&amp;lt;char&amp;gt;,std::allocator&amp;lt;char&amp;gt; &amp;gt; &amp;amp;&lt;br/&gt;
ns, mongo::Query query, int nToReturn, int nToSkip, const&lt;br/&gt;
mongo::BSONObj * fieldsToReturn, int queryOptions, int batchSize)&lt;br/&gt;
Line 572 + 0xf bytes    C++&lt;br/&gt;
       mongod.exe!mongo::DBDirectClient::query(const&lt;br/&gt;
std::basic_string&amp;lt;char,std::char_traits&amp;lt;char&amp;gt;,std::allocator&amp;lt;char&amp;gt; &amp;gt; &amp;amp;&lt;br/&gt;
ns, mongo::Query query, int nToReturn, int nToSkip, const&lt;br/&gt;
mongo::BSONObj * fieldsToReturn, int queryOptions)  Line 657 + 0x46&lt;br/&gt;
bytes   C++&lt;br/&gt;
       mongod.exe!mongo::clearTmpCollections()  Line 450 + 0x82 bytes  C++&lt;br/&gt;
       mongod.exe!mongo::_initAndListen(int listenPort, const char *&lt;br/&gt;
appserverLoc)  Line 558 C++&lt;br/&gt;
       mongod.exe!mongo::initAndListen(int listenPort, const char *&lt;br/&gt;
appserverLoc)  Line 601 + 0x14 bytes    C++&lt;br/&gt;
       mongod.exe!main(int argc, char * * argv)  Line 1100 + 0x12 bytes        C++&lt;br/&gt;
       mongod.exe!__tmainCRTStartup()  Line 555 + 0x19 bytes   C&lt;br/&gt;
       mongod.exe!mainCRTStartup()  Line 371   C&lt;/p&gt;</description>
                <environment></environment>
        <key id="13887">SERVER-2185</key>
            <summary>writes can occur during a query</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="4">Incomplete</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="dwight@mongodb.com">Dwight Merriman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Dec 2010 14:01:16 +0000</created>
                <updated>Wed, 5 Apr 2017 16:44:08 +0000</updated>
                            <resolved>Sat, 3 Dec 2016 16:32:37 +0000</resolved>
                                                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="26737" author="aaron" created="Thu, 24 Mar 2011 20:06:23 +0000"  >&lt;p&gt;@eliot - So in our current architecture, when we load data from a DiskLoc that is not mapped into memory we open the requested file if it exists and create it anew if it does not exist.  But if we have a bad DiskLoc for some reason or the user has removed one of their data files this can create a file improperly.  Do we want to guard against this?  (I haven&apos;t yet studied how long this would take.)&lt;/p&gt;</comment>
                            <comment id="21164" author="aaron" created="Wed, 8 Dec 2010 01:49:23 +0000"  >&lt;p&gt;It looks like in this case we are just opening a file.  I can also do an audit to see if there are any bad cases.  One possible scenario is if we have corruption we might have a bad diskloc somewhere referencing a file that doesn&apos;t exist.  Then this code path might create a new file (but I haven&apos;t checked carefully on this yet.)&lt;/p&gt;</comment>
                            <comment id="21149" author="dwight_10gen" created="Tue, 7 Dec 2010 19:56:54 +0000"  >&lt;p&gt;this report may be invalid.  i think MongoMMF::create opens existing files.  i will leave open until someone checks...&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_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>Wed, 8 Dec 2010 01:49:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 47 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 47 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></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>aaron</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpakn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrfrlb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4556</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>
                                

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

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