<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:02 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-1782] Data loss after $set</title>
                <link>https://jira.mongodb.org/browse/SERVER-1782</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;To reproduce the bug, I run these 3 commands:&lt;/p&gt;

&lt;p&gt;db.bugtest.insert(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;)}
&lt;p&gt;);&lt;br/&gt;
db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; }
&lt;p&gt; });&lt;br/&gt;
db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot; }
&lt;p&gt; });&lt;/p&gt;

&lt;p&gt;I expect this object:&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;), &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot;, &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot;}

&lt;p&gt;Instead,  &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; is missing:&lt;/p&gt;
{ &quot;_id&quot; : ObjectId(&quot;4c8d156f6709000000001176&quot;), &quot;babca304b2c79a6801210000&quot; : &quot;Test 02&quot; }</description>
                <environment>Windows + Linux</environment>
        <key id="13077">SERVER-1782</key>
            <summary>Data loss after $set</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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="heiko">Heiko Weible</reporter>
                        <labels>
                    </labels>
                <created>Sun, 12 Sep 2010 19:09:10 +0000</created>
                <updated>Tue, 12 Jul 2016 00:20:17 +0000</updated>
                            <resolved>Wed, 3 Nov 2010 21:42:31 +0000</resolved>
                                    <version>1.6.2</version>
                                    <fixVersion>1.6.5</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="20014" author="redbeard0531" created="Wed, 3 Nov 2010 21:42:31 +0000"  >&lt;p&gt;I&apos;ve backported the changes to 1.7.x that fix this issue. You can build from git v1.6 branch now or wait until tomorrow&apos;s nightly. &lt;/p&gt;</comment>
                            <comment id="19908" author="redbeard0531" created="Mon, 1 Nov 2010 18:55:25 +0000"  >&lt;p&gt;I have reproduced the issue on windows. It doesn&apos;t effect linux or the 1.7.x branch on windows. I&apos;ll try to isolate the issue.&lt;/p&gt;</comment>
                            <comment id="18200" author="eliot" created="Wed, 15 Sep 2010 03:01:43 +0000"  >&lt;p&gt;@mathias - can you try to reproduce on windows &lt;/p&gt;</comment>
                            <comment id="18180" author="ua" created="Tue, 14 Sep 2010 22:22:54 +0000"  >&lt;p&gt;I can reproduce this on Windows 7 (32bit) + 1.6.2:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.bugtest.drop()&lt;br/&gt;
true&lt;br/&gt;
&amp;gt; db.bugtest.insert(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;)}
&lt;p&gt;);&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; printjson( db.bugtest.findOne() )&lt;br/&gt;
{&lt;br/&gt;
        &quot;_id&quot; : ObjectId(&quot;4c8d156f6709000000001176&quot;),&lt;br/&gt;
        &quot;babca304b2c79a6801210000&quot; : &quot;Test 02&quot;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;On my Linux server (64bit) it works fine:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.bugtest.drop() ;&lt;br/&gt;
false&lt;br/&gt;
&amp;gt; db.bugtest.insert(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;)}
&lt;p&gt;);&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; printjson( db.bugtest.findOne() )&lt;br/&gt;
{&lt;br/&gt;
        &quot;_id&quot; : ObjectId(&quot;4c8d156f6709000000001176&quot;),&lt;br/&gt;
        &quot;babca304b2c79a6801200000&quot; : &quot;Test 01&quot;,&lt;br/&gt;
        &quot;babca304b2c79a6801210000&quot; : &quot;Test 02&quot;&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="18079" author="heiko" created="Mon, 13 Sep 2010 11:22:37 +0000"  >&lt;p&gt;Here is the output of the linux version.&lt;br/&gt;
(it&apos;s on our staging server, so there are some background processes that also hit the database)&lt;/p&gt;

&lt;p&gt;81-89-110-253:~ # mongo&lt;br/&gt;
MongoDB shell version: 1.6.2&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; use TestDB&lt;br/&gt;
switched to db TestDB&lt;br/&gt;
&amp;gt; db.bugtest.drop()&lt;br/&gt;
true&lt;br/&gt;
&amp;gt; db.bugtest.insert(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;)}
&lt;p&gt;);&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; printjson( db.bugtest.findOne() )&lt;br/&gt;
{&lt;br/&gt;
        &quot;_id&quot; : ObjectId(&quot;4c8d156f6709000000001176&quot;),&lt;br/&gt;
        &quot;babca304b2c79a6801210000&quot; : &quot;Test 02&quot;&lt;br/&gt;
}&lt;br/&gt;
&amp;gt;&lt;/p&gt;

&lt;p&gt;Mon Sep 13 13:10:13 MongoDB starting : pid=13611 port=27017 dbpath=/var/data 32-bit&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data&lt;/li&gt;
		&lt;li&gt;see &lt;a href=&quot;http://blog.mongodb.org/post/137788967/32-bit-limitations&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://blog.mongodb.org/post/137788967/32-bit-limitations&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Mon Sep 13 13:10:13 db version v1.6.2, pdfile version 4.5&lt;br/&gt;
Mon Sep 13 13:10:13 git version: aef371ecf5d2a824f16ccdc3b745f3702165602f&lt;br/&gt;
Mon Sep 13 13:10:13 sys info: Linux domU-12-31-39-01-70-B4 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 BOOST_LIB_VERSION=1_37&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; query: local.system.namespaces&lt;/p&gt;
{ name: /^local.temp./ }
&lt;p&gt;Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: local for the first time&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;    used cursor: 0x9b072f8&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; query local.system.namespaces reslen:36 nreturned:0 1ms&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; enter repairDatabases (to check pdfile version #)&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     MediaNetwork&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: MediaNetwork for the first time&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     TestDB&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: TestDB for the first time&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; done repairDatabases&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; waiting for connections on port 27017&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; fd limit hard:1024 soft:1024 max conn: 819&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; web admin interface listening on port 28017&lt;br/&gt;
Mon Sep 13 13:10:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; fd limit hard:1024 soft:1024 max conn: 819&lt;br/&gt;
Mon Sep 13 13:10:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:59390 #1&lt;br/&gt;
Mon Sep 13 13:10:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: admin.$cmd&lt;/p&gt;
{ whatsmyuri: 1 }
&lt;p&gt;Mon Sep 13 13:10:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command admin.$cmd &lt;/p&gt;
{ whatsmyuri: 1 }
&lt;p&gt;Mon Sep 13 13:10:24 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query admin.$cmd ntoreturn:1 command: &lt;/p&gt;
{ whatsmyuri: 1 }
&lt;p&gt; reslen:78 2ms&lt;br/&gt;
Mon Sep 13 13:10:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:43915 #2&lt;br/&gt;
Mon Sep 13 13:10:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query: MediaNetwork.Provider{ query: &lt;/p&gt;
{ EMail: &quot;jensgarling@web.de&quot; }
&lt;p&gt;, orderby: {} }&lt;br/&gt;
Mon Sep 13 13:10:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; Accessing: MediaNetwork for the first time&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt;    used cursor: 0x9b05f80&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query MediaNetwork.Provider ntoreturn:1 reslen:6183 nreturned:1 51ms&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query: MediaNetwork.Provider{ query: &lt;/p&gt;
{ UniqueName: &quot;JensGarling&quot; }
&lt;p&gt;, orderby: {} }&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt;    used cursor: 0x9b05e50&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query MediaNetwork.Provider ntoreturn:1 reslen:6183 nreturned:1 0ms&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query: MediaNetwork.Provider{ query: { _id: &lt;/p&gt;
{ $in: [ ObjectId(&apos;a1022802b5dce6627f130000&apos;), ObjectId(&apos;2cbff801b5dce6627f1b0000&apos;), ObjectId(&apos;efd55902b5dce6c934000000&apos;), ObjectId(&apos;c2019402b5dce6480d140000&apos;) ] }
&lt;p&gt; }, orderby: &lt;/p&gt;
{ Roles: 1 }
&lt;p&gt; }&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt;   running multiple plans&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt;    used cursor: 0x9b1f958&lt;br/&gt;
Mon Sep 13 13:10:45 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query MediaNetwork.Provider ntoreturn:2147483647 scanAndOrder  reslen:7839 nreturned:3 0ms&lt;br/&gt;
Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ drop: &quot;bugtest&quot; }
&lt;p&gt;Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ drop: &quot;bugtest&quot; }
&lt;p&gt;Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; Accessing: TestDB for the first time&lt;br/&gt;
Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; CMD: drop TestDB.bugtest&lt;br/&gt;
Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; dropCollection: TestDB.bugtest&lt;br/&gt;
Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;   d-&amp;gt;nIndexes was 1&lt;br/&gt;
create collection TestDB.$freelist {}&lt;br/&gt;
         dropIndexes done&lt;br/&gt;
Mon Sep 13 13:11:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ drop: &quot;bugtest&quot; }
&lt;p&gt; reslen:137 115ms&lt;br/&gt;
Mon Sep 13 13:11:02 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query: MediaNetwork.LogEntry{ query: {}, orderby: &lt;/p&gt;
{ $natural: -1 }
&lt;p&gt; }&lt;br/&gt;
Mon Sep 13 13:11:02 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt;    used cursor: 0x9b08088&lt;br/&gt;
Mon Sep 13 13:11:02 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query MediaNetwork.LogEntry ntoreturn:25 reslen:1601 nreturned:25 14ms&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; New namespace: TestDB.bugtest&lt;br/&gt;
reset extent was:TestDB.bugtest now:TestDB.bugtest&lt;br/&gt;
adding _id index for collection TestDB.bugtest&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; for TestDB.bugtest&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; Buildindex TestDB.bugtest idxNo:0 { name: &quot;&lt;em&gt;id&lt;/em&gt;&quot;, ns: &quot;TestDB.bugtest&quot;, key: &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; }&lt;br/&gt;
mem info: before index start vsize: 633 resident: 36 mapped: 544&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; external sort root: /var/data/_tmp/esort.1284376272.1432903929/&lt;br/&gt;
mem info: before final sort vsize: 633 resident: 36 mapped: 544&lt;br/&gt;
mem info: after final sort vsize: 633 resident: 36 mapped: 544&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;      external sort used : 0 files  in 0 secs&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; New namespace: TestDB.bugtest.$&lt;em&gt;id&lt;/em&gt;&lt;br/&gt;
reset extent was:TestDB.bugtest.$&lt;em&gt;id&lt;/em&gt; now:TestDB.bugtest.$&lt;em&gt;id&lt;/em&gt;&lt;br/&gt;
         done building bottom layer, going to commit&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;      fastBuildIndex dupsToDrop:0&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; done for 0 records 0secs&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; insert TestDB.bugtest 0ms&lt;br/&gt;
Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:12 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:65 0ms&lt;br/&gt;
Mon Sep 13 13:11:13 &lt;span class=&quot;error&quot;&gt;&amp;#91;DataFileSync&amp;#93;&lt;/span&gt; flushing mmap took 16ms  for 7 files&lt;br/&gt;
Mon Sep 13 13:11:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; update TestDB.bugtest  query: &lt;/p&gt;
{ _id: ObjectId(&apos;4c8d156f6709000000001176&apos;) }
&lt;p&gt; update: { $set: &lt;/p&gt;
{ babca304b2c79a6801200000: &quot;Test 01&quot; }
&lt;p&gt; } byid  0ms&lt;br/&gt;
Mon Sep 13 13:11:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:83 0ms&lt;br/&gt;
Mon Sep 13 13:11:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query: MediaNetwork.Provider{ query: &lt;/p&gt;
{ _id: ObjectId(&apos;1d25e901b5dce6627f040000&apos;) }
&lt;p&gt;, orderby: {} }&lt;br/&gt;
Mon Sep 13 13:11:23 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn2&amp;#93;&lt;/span&gt; query MediaNetwork.Provider ntoreturn:1 idhack  reslen:6183 0ms&lt;br/&gt;
Mon Sep 13 13:11:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; update TestDB.bugtest  query: &lt;/p&gt;
{ _id: ObjectId(&apos;4c8d156f6709000000001176&apos;) }
&lt;p&gt; update: { $set: &lt;/p&gt;
{ babca304b2c79a6801210000: &quot;Test 02&quot; }
&lt;p&gt; } byid  0ms&lt;br/&gt;
Mon Sep 13 13:11:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:83 0ms&lt;br/&gt;
Mon Sep 13 13:11:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.bugtest{}&lt;br/&gt;
Mon Sep 13 13:11:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;    used cursor: 0x9b1c6f8&lt;br/&gt;
Mon Sep 13 13:11:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.bugtest ntoreturn:1 reslen:96 nreturned:1 0ms&lt;br/&gt;
Mon Sep 13 13:11:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Mon Sep 13 13:11:44 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:65 0ms&lt;/p&gt;

&lt;p&gt;It&apos;s the 32-bit version of mongo. Have you tried a 32-bit version in your tests?&lt;br/&gt;
I just created a clean VMWare image with a  clean, fresh install of Windows XP and a fresh install of mongodb.&lt;br/&gt;
The problem appears in this environment as well.&lt;/p&gt;</comment>
                            <comment id="18068" author="eliot" created="Mon, 13 Sep 2010 03:39:46 +0000"  >&lt;p&gt;Can you send the same info for linux?&lt;/p&gt;

&lt;p&gt;Have tried 1.6.2 on various platforms and its working fine.&lt;/p&gt;</comment>
                            <comment id="18065" author="heiko" created="Sun, 12 Sep 2010 19:51:15 +0000"  >&lt;p&gt;Wow, that reply was incredibly quick!&lt;/p&gt;

&lt;p&gt;The problem happens every single time on my machine.&lt;br/&gt;
I run these commands:&lt;/p&gt;

&lt;p&gt;C:\Programme\MongoDB\bin&amp;gt;mongo&lt;br/&gt;
MongoDB shell version: 1.6.2&lt;br/&gt;
connecting to: test&lt;br/&gt;
&amp;gt; use TestDB&lt;br/&gt;
switched to db TestDB&lt;br/&gt;
&amp;gt; db.bugtest.drop()&lt;br/&gt;
true&lt;br/&gt;
&amp;gt; db.bugtest.insert(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;)}
&lt;p&gt;);&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; printjson( db.bugtest.findOne() )&lt;br/&gt;
{&lt;br/&gt;
        &quot;_id&quot; : ObjectId(&quot;4c8d156f6709000000001176&quot;),&lt;br/&gt;
        &quot;babca304b2c79a6801210000&quot; : &quot;Test 02&quot;&lt;br/&gt;
}&lt;br/&gt;
&amp;gt;&lt;/p&gt;

&lt;p&gt;Here&apos;s the output of mongod:&lt;/p&gt;

&lt;p&gt;C:\Programme\MongoDB\bin&amp;gt;mongod -vvvvvvvv&lt;br/&gt;
Sun Sep 12 21:47:50 MongoDB starting : pid=8940 port=27017 dbpath=/data/db/ 32-bit&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;NOTE: when using MongoDB 32 bit, you are limited to about 2 gigabytes of data&lt;/li&gt;
		&lt;li&gt;see &lt;a href=&quot;http://blog.mongodb.org/post/137788967/32-bit-limitations&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://blog.mongodb.org/post/137788967/32-bit-limitations&lt;/a&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Sun Sep 12 21:47:50 db version v1.6.2, pdfile version 4.5&lt;br/&gt;
Sun Sep 12 21:47:50 git version: aef371ecf5d2a824f16ccdc3b745f3702165602f&lt;br/&gt;
Sun Sep 12 21:47:50 sys info: windows (5, 1, 2600, 2, &apos;Service Pack 3&apos;) BOOST_LIB_VERSION=1_35&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; query: local.system.namespaces&lt;/p&gt;
{ name: /^local.temp./ }
&lt;p&gt;Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: local for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;    used cursor: 00714298&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; query local.system.namespaces reslen:36 nreturned:0 0ms&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; enter repairDatabases (to check pdfile version #)&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     MediaNetwork&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: MediaNetwork for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     MongoExtensionsTest&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: MongoExtensionsTest for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     NormTests&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: NormTests for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     test&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: test for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     TestDatabase&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: TestDatabase for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     TestDB&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: TestDB for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt;     Timeline&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; Accessing: Timeline for the first time&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; done repairDatabases&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; waiting for connections on port 27017&lt;br/&gt;
Sun Sep 12 21:47:50 &lt;span class=&quot;error&quot;&gt;&amp;#91;websvr&amp;#93;&lt;/span&gt; web admin interface listening on port 28017&lt;br/&gt;
Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 127.0.0.1:19283 #1&lt;br/&gt;
Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ drop: &quot;bugtest&quot; }
&lt;p&gt;Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ drop: &quot;bugtest&quot; }
&lt;p&gt;Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; Accessing: TestDB for the first time&lt;br/&gt;
Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; CMD: drop TestDB.bugtest&lt;br/&gt;
Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; dropCollection: TestDB.bugtest&lt;br/&gt;
Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;   d-&amp;gt;nIndexes was 1&lt;br/&gt;
         dropIndexes done&lt;br/&gt;
Sun Sep 12 21:48:16 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ drop: &quot;bugtest&quot; }
&lt;p&gt; reslen:137 0ms&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; New namespace: TestDB.bugtest&lt;br/&gt;
reset extent was:TestDB.bugtest now:TestDB.bugtest&lt;br/&gt;
adding _id index for collection TestDB.bugtest&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; building new index on &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; for TestDB.bugtest&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; Buildindex TestDB.bugtest idxNo:0 { name: &quot;&lt;em&gt;id&lt;/em&gt;&quot;, ns: &quot;TestDB.bugtest&quot;, key: &lt;/p&gt;
{ _id: 1 }
&lt;p&gt; }&lt;br/&gt;
mem info: before index start vsize: 103 resident: 19 mapped: 80&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; external sort root: /data/db/_tmp/esort.1284320905.26500/&lt;br/&gt;
mem info: before final sort vsize: 103 resident: 19 mapped: 80&lt;br/&gt;
mem info: after final sort vsize: 103 resident: 19 mapped: 80&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;      external sort used : 0 files  in 0 secs&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; New namespace: TestDB.bugtest.$&lt;em&gt;id&lt;/em&gt;&lt;br/&gt;
reset extent was:TestDB.bugtest.$&lt;em&gt;id&lt;/em&gt; now:TestDB.bugtest.$&lt;em&gt;id&lt;/em&gt;&lt;br/&gt;
         done building bottom layer, going to commit&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;      fastBuildIndex dupsToDrop:0&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; done for 0 records 0secs&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; insert TestDB.bugtest 15ms&lt;br/&gt;
Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:25 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:65 0ms&lt;br/&gt;
Sun Sep 12 21:48:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; update TestDB.bugtest  query: &lt;/p&gt;
{ _id: ObjectId(&apos;4c8d156f6709000000001176&apos;) }
&lt;p&gt; update: { $set: &lt;/p&gt;
{ babca304b2c79a6801200000: &quot;Test 01&quot; }
&lt;p&gt; } byid  0ms&lt;br/&gt;
Sun Sep 12 21:48:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:28 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:83 0ms&lt;br/&gt;
Sun Sep 12 21:48:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; update TestDB.bugtest  query: &lt;/p&gt;
{ _id: ObjectId(&apos;4c8d156f6709000000001176&apos;) }
&lt;p&gt; update: { $set: &lt;/p&gt;
{ babca304b2c79a6801210000: &quot;Test 02&quot; }
&lt;p&gt; } byid  0ms&lt;br/&gt;
Sun Sep 12 21:48:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:30 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:83 0ms&lt;br/&gt;
Sun Sep 12 21:48:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.bugtest{}&lt;br/&gt;
Sun Sep 12 21:48:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt;    used cursor: 007265F0&lt;br/&gt;
Sun Sep 12 21:48:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.bugtest ntoreturn:1 reslen:96 nreturned:1 0ms&lt;br/&gt;
Sun Sep 12 21:48:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query: TestDB.$cmd&lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; run command TestDB.$cmd &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt;Sun Sep 12 21:48:31 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; query TestDB.$cmd ntoreturn:1 command: &lt;/p&gt;
{ getlasterror: 1.0 }
&lt;p&gt; reslen:65 0ms&lt;/p&gt;

&lt;p&gt;The same thing is happening using the Linux version.&lt;/p&gt;</comment>
                            <comment id="18064" author="eliot" created="Sun, 12 Sep 2010 19:14:37 +0000"  >&lt;p&gt;I tried on a number of versions including 1.6.2 but can&apos;t reproduce&lt;br/&gt;
Can you send a script you used or a log file that helps reproduce if you can&lt;/p&gt;

&lt;p&gt;&amp;gt; db.bugtest.drop()&lt;br/&gt;
false&lt;br/&gt;
&amp;gt; db.bugtest.insert(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;)}
&lt;p&gt;);&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801200000&quot;: &quot;Test 01&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; db.bugtest.update(&lt;/p&gt;
{ _id: ObjectId(&quot;4c8d156f6709000000001176&quot;) }
&lt;p&gt;, { $set: &lt;/p&gt;
{ &quot;babca304b2c79a6801210000&quot;: &quot;Test 02&quot; }
&lt;p&gt; });&lt;br/&gt;
&amp;gt; printjson( db.bugtest.findOne() )&lt;br/&gt;
{&lt;br/&gt;
	&quot;_id&quot; : ObjectId(&quot;4c8d156f6709000000001176&quot;),&lt;br/&gt;
	&quot;babca304b2c79a6801200000&quot; : &quot;Test 01&quot;,&lt;br/&gt;
	&quot;babca304b2c79a6801210000&quot; : &quot;Test 02&quot;&lt;br/&gt;
}&lt;br/&gt;
&amp;gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="12323">SERVER-1347</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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 12 Sep 2010 19:14:37 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 16 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>false</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>
                            13 years, 16 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>heiko</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>ua</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpf7z:</customfieldvalue>

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

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

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