<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:02:51 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-3357] disk/yield lock - any update</title>
                <link>https://jira.mongodb.org/browse/SERVER-3357</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="18948">SERVER-3357</key>
            <summary>disk/yield lock - any update</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Jul 2011 16:16:02 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:34 +0000</updated>
                            <resolved>Sat, 7 Jan 2012 06:05:59 +0000</resolved>
                                                    <fixVersion>2.1.0</fixVersion>
                                    <component>Concurrency</component>
                                        <votes>13</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="78325" author="eliot" created="Sat, 7 Jan 2012 06:05:59 +0000"  >&lt;p&gt;This was done as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-4639&quot; title=&quot;update yielding with upsert can duplicate a document&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-4639&quot;&gt;&lt;del&gt;SERVER-4639&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72187" author="eliot" created="Sat, 10 Dec 2011 17:00:51 +0000"  >&lt;p&gt;Are you sure they query isn&apos;t page faulting?&lt;br/&gt;
Can you open a new ticket with the logs, etc... as I do not think its related to this case.&lt;/p&gt;</comment>
                            <comment id="72185" author="bwaldvogel" created="Sat, 10 Dec 2011 16:58:52 +0000"  >&lt;p&gt;Could you explain your comment in more detail? Why should the query yield? 100% of the data are in RAM so the query usually finishes in 0.x ms.&lt;/p&gt;</comment>
                            <comment id="72182" author="eliot" created="Sat, 10 Dec 2011 16:27:35 +0000"  >&lt;p&gt;I think that&apos;s the opposite problem, queries not yielding making the update slow.&lt;/p&gt;</comment>
                            <comment id="72173" author="bwaldvogel" created="Sat, 10 Dec 2011 13:13:15 +0000"  >&lt;p&gt;Today I had an update by-id (fsync safe) that took 1.5s:&lt;/p&gt;

&lt;p&gt;Sat Dec 10 03:51:17 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn958&amp;#93;&lt;/span&gt; update db.collection query: &lt;/p&gt;
{ _id: 415293937 }
&lt;p&gt; update: &lt;/p&gt;
{ _id: 415293937, ... }
&lt;p&gt; idhack:1 1554ms&lt;/p&gt;

&lt;p&gt;Exactly at that time I had simple queries by-id running. One of them took 721 ms, another took 1415 ms.&lt;/p&gt;

&lt;p&gt;Server version: 2.0.1, Linux 64 bit.&lt;/p&gt;

&lt;p&gt;This happens a few times per day when the number of updates is high.&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2563&quot; title=&quot;When hitting disk, yield lock - phase 1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2563&quot;&gt;&lt;del&gt;SERVER-2563&lt;/del&gt;&lt;/a&gt; promised to solve those locking problems. Obviously it didn&apos;t.&lt;br/&gt;
Does this ticket cover such locking issues?&lt;/p&gt;</comment>
                            <comment id="51783" author="scotthernandez" created="Wed, 31 Aug 2011 17:00:03 +0000"  >&lt;p&gt;Yes, it will. The upsert (true) option changes the update to do an insert if the query results in no document(s) found; it is still an &quot;update&quot; in the write sense.&lt;/p&gt;</comment>
                            <comment id="51779" author="cgriego" created="Wed, 31 Aug 2011 16:54:26 +0000"  >&lt;p&gt;Does this cover upserts?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="27855">SERVER-4639</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="14750">SERVER-2563</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 31 Aug 2011 16:54:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 6 weeks, 4 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, 6 weeks, 4 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bwaldvogel</customfieldvalue>
            <customfieldvalue>cgriego</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrowmv:</customfieldvalue>

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

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

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