<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:56:28 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-1241] Document-level locking</title>
                <link>https://jira.mongodb.org/browse/SERVER-1241</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Document Level Locking is now available with the wired tiger storage engine.&lt;br/&gt;
See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-15953&quot; title=&quot;Integrate WiredTiger storage engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-15953&quot;&gt;&lt;del&gt;SERVER-15953&lt;/del&gt;&lt;/a&gt; for more information.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12158">SERVER-1241</key>
            <summary>Document-level locking</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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>Tue, 15 Jun 2010 11:24:10 +0000</created>
                <updated>Tue, 27 Oct 2015 14:01:36 +0000</updated>
                            <resolved>Wed, 5 Nov 2014 17:03:58 +0000</resolved>
                                                    <fixVersion>2.8.0-rc0</fixVersion>
                                    <component>Concurrency</component>
                                        <votes>95</votes>
                                    <watches>114</watches>
                                                                                                                <comments>
                            <comment id="747363" author="dreammaker" created="Wed, 22 Oct 2014 20:02:08 +0000"  >&lt;p&gt;Can anyone explain when MongoDB has the document-level locking will it touch both write and read operations? I mean if we write it locks for reading only the document we write?&lt;/p&gt;</comment>
                            <comment id="722797" author="asya" created="Fri, 19 Sep 2014 08:12:57 +0000"  >&lt;p&gt;It&apos;s been said that this feature is targeted for 2.8 release later this year.&lt;/p&gt;

&lt;p&gt;However, unless you&apos;ve actually tried your use case and seen the lock be an issue, it&apos;s quite unlikely that it will be the limiting factor - it&apos;s not for most use cases out there and it&apos;s very possible to get tens of thousands of writes/second in the current version.  &lt;/p&gt;</comment>
                            <comment id="721726" author="eric.franckx@ngahr.com" created="Thu, 18 Sep 2014 09:57:16 +0000"  >&lt;p&gt;yep, a lot of people are waiting the 2.8 that will come with document-level locking ... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="721725" author="nomane" created="Thu, 18 Sep 2014 09:54:37 +0000"  >&lt;p&gt;Hi Guys,&lt;/p&gt;

&lt;p&gt;I m a try to start a new project and I would like to use Mongo as it seems to be suitable for my application (especially for geo-spatial search) but the write lock issue at database level is clearly a no go and I think that a lot of people leave Mongo for this same reason ...&lt;/p&gt;

&lt;p&gt;Have you plan to resolve this issue soon ? If yes for which release and with how many percentage of confidence ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Nomane Oulali&lt;/p&gt;
</comment>
                            <comment id="679377" author="arunoda" created="Sat, 2 Aug 2014 01:51:38 +0000"  >&lt;p&gt;Ah okay. Thanks.&lt;br/&gt;
I am referring to document level locking.&lt;/p&gt;</comment>
                            <comment id="679277" author="asya" created="Fri, 1 Aug 2014 22:41:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=arunoda.susiripala%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;arunoda.susiripala@gmail.com&quot;&gt;arunoda.susiripala@gmail.com&lt;/a&gt; I&apos;m not sure what the &quot;this&quot; you are referring to is.&lt;/p&gt;

&lt;p&gt;There is no release of this branch scheduled for today/yesterday - &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER/fixforversion/14125&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;2.7.5 is scheduled for later this month&lt;/a&gt; , but that&apos;s just a milestone in 2.7 development branch.&lt;/p&gt;</comment>
                            <comment id="678373" author="arunoda" created="Fri, 1 Aug 2014 05:55:13 +0000"  >&lt;p&gt;Guys, this is scheduled to release today. Is that gonna happen? I&apos;m looking so badly to try out document level locking.&lt;/p&gt;</comment>
                            <comment id="615821" author="dreammaker" created="Tue, 10 Jun 2014 17:35:17 +0000"  >&lt;p&gt;Kevin, thank you for explaining! That&apos;s good.&lt;/p&gt;

&lt;p&gt;The same behavior is at this moment? I am asking that because when I run a long multiple update query with big collections I get my applications freezing. so I thought  that the database was locking all the time of an update query.&lt;/p&gt;</comment>
                            <comment id="615792" author="justanyone" created="Tue, 10 Jun 2014 17:18:12 +0000"  >&lt;p&gt;Mongo does not, and probably won&apos;t ever, support transactions. Thus, the simple answer to multi:true situations is to iterate through found records, and (lock, update, unlock) each of them in order.  No worries.&lt;/p&gt;</comment>
                            <comment id="615216" author="dreammaker" created="Tue, 10 Jun 2014 10:25:28 +0000"  >&lt;p&gt;Imagine, we make an update with multi:true. What happens in the case in context of document-level locking? Do we have locking of all the documents all the time when that query executes or locking affects the documents one by one?&lt;/p&gt;</comment>
                            <comment id="403649" author="flavien" created="Thu, 15 Aug 2013 10:10:18 +0000"  >&lt;p&gt;Would it be possible to have document level locking? At least in the case of an in-place update that doesn&apos;t require relocating the document.&lt;/p&gt;</comment>
                            <comment id="24423" author="eliot" created="Tue, 22 Feb 2011 13:01:06 +0000"  >&lt;p&gt;@valery, we try not to schedule things until we&apos;re confident we are going to get it right, and we have a number of tasks for concurrency this year, still figuring out the exact order&lt;/p&gt;

&lt;p&gt;Not sure what you&apos;re issue is, but take a look at &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;&lt;/p&gt;</comment>
                            <comment id="24421" author="vak" created="Tue, 22 Feb 2011 09:57:22 +0000"  >&lt;p&gt;guys, could you schedule this ticket, please?&lt;/p&gt;

&lt;p&gt;This ticket still remains very important for us.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="167332">SERVER-15953</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="153928">SERVER-14978</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="170586">SERVER-16259</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="168424">DOCS-4314</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14750">SERVER-2563</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="12157">SERVER-1240</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="151962">SERVER-14860</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25138">SERVER-4328</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10220">
                    <name>Tested</name>
                                            <outwardlinks description="tested by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 22 Feb 2011 09:57:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        9 years, 17 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-15953'>SERVER-15953</a></s>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-12</customfieldvalue>
                        </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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            9 years, 17 weeks 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>arunoda</customfieldvalue>
            <customfieldvalue>asya.kamsky@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>eric.franckx@ngahr.com</customfieldvalue>
            <customfieldvalue>flavien</customfieldvalue>
            <customfieldvalue>justanyone</customfieldvalue>
            <customfieldvalue>Nomane</customfieldvalue>
            <customfieldvalue>dreammaker</customfieldvalue>
            <customfieldvalue>vak</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk7cv:</customfieldvalue>

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

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

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