<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:38:54 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>[DOCS-533] Indicate renameCollection and renameDatabse are blocking ops</title>
                <link>https://jira.mongodb.org/browse/DOCS-533</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;see: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-5909&quot; title=&quot;renameCollection op is blocking, and killOp does not kill&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-5909&quot;&gt;&lt;del&gt;SERVER-5909&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7059&quot; title=&quot;renamedatabase blocks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7059&quot;&gt;&lt;del&gt;SERVER-7059&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="50846">DOCS-533</key>
            <summary>Indicate renameCollection and renameDatabse are blocking ops</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="epc">Ed Costello</assignee>
                                    <reporter username="dan@mongodb.com">Daniel Pasette</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Sep 2012 11:54:54 +0000</created>
                <updated>Mon, 30 Oct 2023 22:01:46 +0000</updated>
                            <resolved>Tue, 2 Oct 2012 20:56:50 +0000</resolved>
                                                    <fixVersion>Server_Docs_20231030</fixVersion>
                                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="170584" author="auto" created="Tue, 2 Oct 2012 21:32:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T14:32:34-07:00&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-533&quot; title=&quot;Indicate renameCollection and renameDatabse are blocking ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-533&quot;&gt;&lt;del&gt;DOCS-533&lt;/del&gt;&lt;/a&gt; edits&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/9ce9f7e7c531ff698b1b17303836f77a147c6593&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/9ce9f7e7c531ff698b1b17303836f77a147c6593&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170583" author="auto" created="Tue, 2 Oct 2012 21:32:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T14:28:07-07:00&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;}
&lt;p&gt;Message: merge: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-533&quot; title=&quot;Indicate renameCollection and renameDatabse are blocking ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-533&quot;&gt;&lt;del&gt;DOCS-533&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/c262523702554c00b577722c9d7774dc517aabab&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/c262523702554c00b577722c9d7774dc517aabab&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170582" author="auto" created="Tue, 2 Oct 2012 21:32:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T13:53:18-07:00&apos;, u&apos;email&apos;: u&apos;epc@10gen.com&apos;, u&apos;name&apos;: u&apos;Ed Costello&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-533&quot; title=&quot;Indicate renameCollection and renameDatabse are blocking ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-533&quot;&gt;&lt;del&gt;DOCS-533&lt;/del&gt;&lt;/a&gt; minor cleanup &amp;amp; verification of correct locks&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/668327afedc25463e491ca64a7ea378bfe40edc6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/668327afedc25463e491ca64a7ea378bfe40edc6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170581" author="auto" created="Tue, 2 Oct 2012 21:32:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T12:52:59-07:00&apos;, u&apos;email&apos;: u&apos;epc@10gen.com&apos;, u&apos;name&apos;: u&apos;Ed Costello&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-533&quot; title=&quot;Indicate renameCollection and renameDatabse are blocking ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-533&quot;&gt;&lt;del&gt;DOCS-533&lt;/del&gt;&lt;/a&gt; document blocking read, write, or global operations&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/b76c685d827fbafb6fe4f56e09ce0fec04b7652b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/b76c685d827fbafb6fe4f56e09ce0fec04b7652b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170579" author="auto" created="Tue, 2 Oct 2012 21:26:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-02T14:21:15-07:00&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;}
&lt;p&gt;Message: merge: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-533&quot; title=&quot;Indicate renameCollection and renameDatabse are blocking ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-533&quot;&gt;&lt;del&gt;DOCS-533&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/64c407156b7b90e30737b08f9da61e808c85fdce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/64c407156b7b90e30737b08f9da61e808c85fdce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170578" author="auto" created="Tue, 2 Oct 2012 21:26:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-09-24T08:53:23-07:00&apos;, u&apos;email&apos;: u&apos;epc@10gen.com&apos;, u&apos;name&apos;: u&apos;Ed Costello&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-533&quot; title=&quot;Indicate renameCollection and renameDatabse are blocking ops&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-533&quot;&gt;&lt;del&gt;DOCS-533&lt;/del&gt;&lt;/a&gt; add notes/warnings to commands which block db / server&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/6e97ac99c4965987cf52ef6b93cbb61cf16b312a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/6e97ac99c4965987cf52ef6b93cbb61cf16b312a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170564" author="epc" created="Tue, 2 Oct 2012 20:56:50 +0000"  >&lt;p&gt;Committed, working through some merge backlog before we merge, commit is here: &lt;a href=&quot;https://github.com/epc/docs/tree/DOCS-533-renamedatabase-blocks&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/epc/docs/tree/DOCS-533-renamedatabase-blocks&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="167397" author="dan@10gen.com" created="Mon, 24 Sep 2012 17:11:42 +0000"  >&lt;p&gt;Your initial pass seems fair and your interpretation correct.  I think it would be good to add the warning to at least the user-facing commands.  fsync demands it&apos;s own special treatment as there are some surprising behaviors there.&lt;/p&gt;</comment>
                            <comment id="166906" author="epc" created="Fri, 21 Sep 2012 20:51:30 +0000"  >&lt;p&gt;All of these have lockGlobally()=true and lockType = WRITE:&lt;/p&gt;

&lt;p&gt;renameCollection global,write&lt;br/&gt;
dropDatabase global, write&lt;br/&gt;
repairDatabase global, write&lt;br/&gt;
closeAllDatabases global, write&lt;br/&gt;
convertToCapped global, write&lt;br/&gt;
applyOps global, write&lt;br/&gt;
resync global, write&lt;/p&gt;

&lt;p&gt;fsync obtains locks but doesn&apos;t appear to set a lockGlobally() or lockType().&lt;/p&gt;

&lt;p&gt;Am I misreading the intent of lockGlobally() and lockType?&lt;/p&gt;

&lt;p&gt;There&apos;s a number of other commands which either don&apos;t have a lockGlobally() or set it to false but set a lockType of WRITE.&lt;/p&gt;

&lt;p&gt;My plan is/was to add a &quot;warning&quot; for commands which obtain a global lock and a write lock, and a &quot;note&quot; for those which obtain a write lock but not global.&lt;/p&gt;</comment>
                            <comment id="166570" author="dan@10gen.com" created="Fri, 21 Sep 2012 01:41:57 +0000"  >&lt;p&gt;I think differentiating is important.  Which commands besides fsync+lock will write lock the entire instance?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="50733">SERVER-7059</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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 19 Sep 2012 15:14:55 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 20 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>epc</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrsbcf:</customfieldvalue>

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

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

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