<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:38 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-2329] Dropped database doesn&apos;t disappear due to replication</title>
                <link>https://jira.mongodb.org/browse/SERVER-2329</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I&apos;m calling db.dropDatabase() on a master of a master slave pair on windows, and it doesn&apos;t stay deleted. Console log:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.getSisterDB(&apos;staging_KMI&apos;).dropDatabase()&lt;/p&gt;
{ &quot;dropped&quot; : &quot;staging_KMI&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; show dbs&lt;br/&gt;
STAGE_landroverKMI&lt;br/&gt;
STAGE_landroverRSVP&lt;br/&gt;
admin&lt;br/&gt;
landroverKMI&lt;br/&gt;
landroverRSVP&lt;br/&gt;
local&lt;br/&gt;
stageing_KMI&lt;br/&gt;
staging_KMI&lt;/p&gt;

&lt;p&gt;&amp;gt; use staging_KMI&lt;br/&gt;
&amp;gt; db.dropDatabase()&lt;/p&gt;
{ &quot;dropped&quot; : &quot;staging_KMI&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; show dbs&lt;br/&gt;
STAGE_landroverKMI&lt;br/&gt;
STAGE_landroverRSVP&lt;br/&gt;
admin&lt;br/&gt;
landroverKMI&lt;br/&gt;
landroverRSVP&lt;br/&gt;
local&lt;br/&gt;
stageing_KMI&lt;br/&gt;
staging_KMI&lt;br/&gt;
&amp;gt;&lt;/p&gt;

&lt;p&gt;Master/slave stuff&lt;/p&gt;


&lt;p&gt;Config on the master:&lt;/p&gt;

&lt;p&gt;&quot;C:\Program Files\10gen\mongodb-win32-x86_64-1.6.4\bin\mongod.exe&quot; --service --logpath c:\data\logs\mongo-master.log --logappend --master --bind_ip localhost&lt;/p&gt;

&lt;p&gt;Log on the master:&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn201&amp;#93;&lt;/span&gt; dropDatabase staging_KMI&lt;/p&gt;

&lt;p&gt;Slave configuration:&lt;/p&gt;

&lt;p&gt;&quot;C:\Program Files\10gen\mongodb-win32-x86_64-1.6.4\bin\mongod.exe&quot; --service --logpath  c:\data\logs\mongo-slave.log --logappend --dbpath c:\data\db_slave --slave --source localhost --port 27018 --bind_ip localhost&lt;/p&gt;

&lt;p&gt;Log on the slave:&lt;/p&gt;

&lt;p&gt;Tue Jan 04 14:48:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:   applied 4 operations&lt;br/&gt;
Tue Jan 04 14:48:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:  end sync_pullOpLog syncedTo: Jan 04 14:48:55 4d233357:1&lt;br/&gt;
Tue Jan 04 14:48:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl: from host:localhost&lt;br/&gt;
Tue Jan 04 14:48:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; An earlier initial clone of &apos;staging_KMI&apos; did not complete, now resyncing.&lt;br/&gt;
Tue Jan 04 14:48:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: dropping database staging_KMI&lt;br/&gt;
Tue Jan 04 14:48:55 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: cloning database staging_KMI to get an initial copy&lt;br/&gt;
Tue Jan 04 14:48:56 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: done with initial clone for db: staging_KMI&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:   applied 1 operations&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:  end sync_pullOpLog syncedTo: Jan 04 14:48:57 4d233359:1&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl: from host:localhost&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; An earlier initial clone of &apos;staging_KMI&apos; did not complete, now resyncing.&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: dropping database staging_KMI&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: cloning database staging_KMI to get an initial copy&lt;br/&gt;
Tue Jan 04 14:48:57 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: done with initial clone for db: staging_KMI&lt;/p&gt;</description>
                <environment>Windows 2008 Datacenter edition</environment>
        <key id="14151">SERVER-2329</key>
            <summary>Dropped database doesn&apos;t disappear due to replication</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="9">Done</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="zippy1981">Justin Dearing</reporter>
                        <labels>
                            <label>repl1</label>
                            <label>sync</label>
                    </labels>
                <created>Tue, 4 Jan 2011 20:01:33 +0000</created>
                <updated>Tue, 6 Dec 2022 05:46:19 +0000</updated>
                            <resolved>Wed, 23 Nov 2016 19:10:25 +0000</resolved>
                                    <version>1.6.4</version>
                                                    <component>Replication</component>
                                        <votes>13</votes>
                                    <watches>20</watches>
                                                                                                                <comments>
                            <comment id="1441532" author="spencer" created="Wed, 23 Nov 2016 19:10:25 +0000"  >&lt;p&gt;We don&apos;t believe the original issue in this ticket still exists.  If anyone is still seeing databases recreated due to replication, please file a new issue.  Note that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17397&quot; title=&quot;Dropping a Database or Collection in a Sharded Cluster may not fully succeed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17397&quot;&gt;&lt;del&gt;SERVER-17397&lt;/del&gt;&lt;/a&gt; still exists in sharded clusters, but that is a separate issue.&lt;/p&gt;</comment>
                            <comment id="350148" author="mgmuscari" created="Fri, 31 May 2013 19:50:14 +0000"  >&lt;p&gt;Due to database-level locking rather than collection-level locking, we end up creating and deleting databases around every 10 minutes. Our current workaround involves letting old databases sit for some time before deleting them, in which case they &lt;b&gt;usually&lt;/b&gt; will drop successfully. Taking the server offline is not an option for our environment.&lt;/p&gt;</comment>
                            <comment id="309465" author="kennygorman" created="Tue, 9 Apr 2013 16:21:24 +0000"  >&lt;p&gt;This really should be prioritized into 2.4.x because it&apos;s such a horrible experience to have to stepDown() to get dropDatabase() to essentially &apos;work&apos;.&lt;/p&gt;</comment>
                            <comment id="306670" author="gchaplin" created="Fri, 5 Apr 2013 12:41:37 +0000"  >&lt;p&gt;Bumping for the greater good. Still an issue in 2.4.1.&lt;br/&gt;
I have had an issue where I had multiple dbs with the same name.&lt;br/&gt;
One had data and the other had none. I did not see any issue from the drivers while this was going on.&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;live_logs	1.49951171875GB&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;live_logs&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;And two had the same name but were empty.&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;_logs	(empty)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;_logs	(empty)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;I did attempted to remove these DBs on the master but I had no luck.&lt;/p&gt;

&lt;p&gt;The empty DBs did not seem to be copied to the other nodes in the Replica Set.&lt;/p&gt;

&lt;p&gt;What I did to fix it:&lt;br/&gt;
I failed over to a secondary node.&lt;br/&gt;
I restarted the primary node that had the issue.&lt;br/&gt;
The DBs disappeared after restart.&lt;br/&gt;
The correct number of DBs are listed now.&lt;/p&gt;</comment>
                            <comment id="245626" author="dtrefou" created="Mon, 21 Jan 2013 15:18:47 +0000"  >&lt;p&gt;We are also having this issue with a sharded database over 3 replicaset.&lt;br/&gt;
mongodb version 2.2.2&lt;/p&gt;


&lt;p&gt;mongos&amp;gt; show dbs&lt;br/&gt;
Ilya	15.9462890625GB&lt;br/&gt;
admin	0.234375GB&lt;br/&gt;
config	0.0625GB&lt;br/&gt;
mongos&amp;gt; use Ilya&lt;br/&gt;
switched to db Ilya&lt;br/&gt;
mongos&amp;gt; db.dropDatabase()&lt;/p&gt;
{ &quot;dropped&quot; : &quot;Ilya&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;mongos&amp;gt; show dbs&lt;br/&gt;
Ilya	15.9462890625GB&lt;br/&gt;
admin	0.234375GB&lt;br/&gt;
config	0.0625GB&lt;br/&gt;
mongos&amp;gt;&lt;/p&gt;</comment>
                            <comment id="172653" author="bob_kuhar" created="Mon, 8 Oct 2012 20:28:07 +0000"  >&lt;p&gt;We&apos;re using plain-jane replication and have this issue.  For some databases I can...&lt;br/&gt;
  use dbName;&lt;br/&gt;
  db.dropDatabase();&lt;br/&gt;
  use test;&lt;br/&gt;
  show dbs;&lt;br/&gt;
...and the database never goes away.  Its frustrating.&lt;/p&gt;</comment>
                            <comment id="165060" author="jason.coombs@yougov.com" created="Mon, 17 Sep 2012 16:17:02 +0000"  >&lt;p&gt;We&apos;re experiencing this issue as well. MongoDB 2.0.6.&lt;/p&gt;</comment>
                            <comment id="113415" author="auto" created="Wed, 25 Apr 2012 03:39:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@10gen.com&apos;}
&lt;p&gt;Message: Skip test that fails due to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2329&quot; title=&quot;Dropped database doesn&amp;#39;t disappear due to replication&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2329&quot;&gt;&lt;del&gt;SERVER-2329&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-python-driver/commit/a5761ff2664ea1680cf73688d538efcb963a9c92&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-python-driver/commit/a5761ff2664ea1680cf73688d538efcb963a9c92&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46991" author="kali" created="Mon, 8 Aug 2011 12:44:00 +0000"  >&lt;p&gt;I have a very similar issue on a sharded and RS system:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.getCollectionNames() &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
	&quot;tmp.mr.type_albums_tmp_reduce_items_45993_47129_inc&quot;,&lt;br/&gt;
	&quot;tmp.mr.type_albums_tmp_reduce_items_45994_47130_inc&quot;,&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; db.getCollection(&quot;tmp.mr.type_albums_tmp_reduce_items_45994_47130_inc&quot;).drop()&lt;br/&gt;
false&lt;br/&gt;
&amp;gt; db.getCollection(&quot;tmp.mr.type_albums_tmp_reduce_items_45994_47130_inc&quot;).stats()&lt;br/&gt;
{&lt;br/&gt;
	&quot;ns&quot; : &quot;indexer_cache.tmp.mr.type_albums_tmp_reduce_items_45994_47130_inc&quot;,&lt;br/&gt;
	&quot;sharded&quot; : false,&lt;br/&gt;
	&quot;primary&quot; : &quot;pink-alpha&quot;,&lt;br/&gt;
	&quot;errmsg&quot; : &quot;ns not found&quot;,&lt;br/&gt;
	&quot;ok&quot; : 0&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="35672" author="behackett" created="Thu, 2 Jun 2011 04:10:29 +0000"  >&lt;p&gt;From the slave log while the tests are running. Seems related:&lt;/p&gt;

&lt;p&gt;Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:   applied 1002 operations&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:  end sync_pullOpLog syncedTo: Jun  1 21:07:27 4de70c7f:1&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl: from host:localhost:27017&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; An earlier initial clone of &apos;pymongo-pooling-tests&apos; did not complete, now resyncing.&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: dropping database pymongo-pooling-tests&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: cloning database pymongo-pooling-tests to get an initial copy&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; replauthenticate: no user in local.system.users to use for authentication&lt;br/&gt;
resync: done with initial clone for db: pymongo-pooling-tests&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:   applied 1 operations&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:  end sync_pullOpLog syncedTo: Jun  1 21:07:29 4de70c81:1&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl: from host:localhost:27017&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; An earlier initial clone of &apos;pymongo-pooling-tests&apos; did not complete, now resyncing.&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: dropping database pymongo-pooling-tests&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: cloning database pymongo-pooling-tests to get an initial copy&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; replauthenticate: no user in local.system.users to use for authentication&lt;br/&gt;
resync: done with initial clone for db: pymongo-pooling-tests&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:   applied 1 operations&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl:  end sync_pullOpLog syncedTo: Jun  1 21:07:30 4de70c82:1&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; repl: from host:localhost:27017&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; An earlier initial clone of &apos;pymongo-pooling-tests&apos; did not complete, now resyncing.&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: dropping database pymongo-pooling-tests&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; resync: cloning database pymongo-pooling-tests to get an initial copy&lt;br/&gt;
Wed Jun  1 21:07:37 &lt;span class=&quot;error&quot;&gt;&amp;#91;replslave&amp;#93;&lt;/span&gt; replauthenticate: no user in local.system.users to use for authentication&lt;br/&gt;
resync: done with initial clone for db: pymongo-pooling-tests&lt;/p&gt;</comment>
                            <comment id="35668" author="behackett" created="Thu, 2 Jun 2011 02:11:01 +0000"  >&lt;p&gt;My tests were run with 1.8.1 and newer.&lt;/p&gt;</comment>
                            <comment id="35667" author="behackett" created="Thu, 2 Jun 2011 02:08:53 +0000"  >&lt;p&gt;I should also point out that these tests pass running against a single instance of mongod (obviously the master_slave_connection test doesn&apos;t run that way).&lt;/p&gt;</comment>
                            <comment id="35666" author="behackett" created="Thu, 2 Jun 2011 02:07:18 +0000"  >&lt;p&gt;I&apos;m seeing the same problem on OSX and Linux x86_64.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;Start up a master on the port 27017&lt;br/&gt;
Start up a slave on port 27018&lt;/p&gt;

&lt;p&gt;Run the pymongo unittest suite using nose:&lt;br/&gt;
python setup.py test&lt;/p&gt;

&lt;p&gt;One or more of the following tests will fail checking if a database name exists after trying to drop the database:&lt;/p&gt;

&lt;p&gt;======================================================================&lt;br/&gt;
FAIL: test_copy_db (test.test_connection.TestConnection)&lt;br/&gt;
----------------------------------------------------------------------&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File &quot;/Users/behackett/work/mongo-python-driver/test/test_connection.py&quot;, line 158, in test_copy_db&lt;br/&gt;
    self.assertFalse(&quot;pymongo_test1&quot; in c.database_names())&lt;br/&gt;
AssertionError&lt;/p&gt;

&lt;p&gt;======================================================================&lt;br/&gt;
FAIL: test_drop_database (test.test_connection.TestConnection)&lt;br/&gt;
----------------------------------------------------------------------&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File &quot;/Users/behackett/work/mongo-python-driver/test/test_connection.py&quot;, line 142, in test_drop_database&lt;br/&gt;
    self.assert_(&quot;pymongo_test&quot; not in dbs)&lt;br/&gt;
AssertionError&lt;/p&gt;

&lt;p&gt;======================================================================&lt;br/&gt;
FAIL: test_drop_database (test.test_master_slave_connection.TestMasterSlaveConnection)&lt;br/&gt;
----------------------------------------------------------------------&lt;br/&gt;
Traceback (most recent call last):&lt;br/&gt;
  File &quot;/Users/behackett/work/mongo-python-driver/test/test_master_slave_connection.py&quot;, line 189, in test_drop_database&lt;br/&gt;
    self.assert_(&quot;pymongo_test&quot; not in dbs)&lt;br/&gt;
AssertionError&lt;/p&gt;

&lt;p&gt;If you then log into the mongo shell you can see that the test dbs are listed as empty and can&apos;t be deleted:&lt;/p&gt;

&lt;p&gt;&amp;gt; show dbs&lt;br/&gt;
admin	0.203125GB&lt;br/&gt;
foo	(empty)&lt;br/&gt;
local	0.453125GB&lt;br/&gt;
pymongo-pooling-tests	(empty)&lt;br/&gt;
pymongo_test1	(empty)&lt;br/&gt;
pymongo_test2	(empty)&lt;br/&gt;
pymongo_test_bernie	(empty)&lt;br/&gt;
test	(empty)&lt;br/&gt;
test_pymongo	(empty)&lt;br/&gt;
&amp;gt; use pymongo_test1&lt;br/&gt;
switched to db pymongo_test1&lt;br/&gt;
&amp;gt; db.dropDatabase()&lt;/p&gt;
{ &quot;dropped&quot; : &quot;pymongo_test1&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; use local&lt;br/&gt;
switched to db local&lt;br/&gt;
&amp;gt; show dbs&lt;br/&gt;
admin	0.203125GB&lt;br/&gt;
foo	(empty)&lt;br/&gt;
local	0.453125GB&lt;br/&gt;
pymongo-pooling-tests	(empty)&lt;br/&gt;
pymongo_test1	(empty)&lt;br/&gt;
pymongo_test2	(empty)&lt;br/&gt;
pymongo_test_bernie	(empty)&lt;br/&gt;
test	(empty)&lt;br/&gt;
test_pymongo	(empty)&lt;/p&gt;</comment>
                            <comment id="22046" author="zippy1981" created="Tue, 4 Jan 2011 20:19:37 +0000"  >&lt;p&gt;I meant master/slave. I have one master one slave on the same hardware. Slave goes down once a day for backups. Nothing queries the slave.&lt;/p&gt;

&lt;p&gt;Configured based on these directions:&lt;br/&gt;
&lt;a href=&quot;http://www.mongodb.org/display/DOCS/Master+Slave&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Master+Slave&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="22045" author="eliot" created="Tue, 4 Jan 2011 20:15:19 +0000"  >&lt;p&gt;Do you mean replica pairs? or something else?&lt;br/&gt;
If so, can you switch to replica sets as pairs are going away.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="81262">SERVER-10099</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58691">SERVER-7879</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="13655">SERVER-2080</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="90051">SERVER-10783</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>15.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 4 Jan 2011 20:15:19 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 12 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_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[Windows]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>bernie@mongodb.com</customfieldvalue>
            <customfieldvalue>bob_kuhar</customfieldvalue>
            <customfieldvalue>dtrefou</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>gchaplin</customfieldvalue>
            <customfieldvalue>jason.coombs@yougov.com</customfieldvalue>
            <customfieldvalue>zippy1981</customfieldvalue>
            <customfieldvalue>kennygorman</customfieldvalue>
            <customfieldvalue>kali</customfieldvalue>
            <customfieldvalue>mgmuscari</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp8wv:</customfieldvalue>

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

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

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