<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:58:19 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-1880] sharding issue after upgrading to 1.6.3</title>
                <link>https://jira.mongodb.org/browse/SERVER-1880</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I upgraded mongo to 1.6.3 from 1.6.1 (using the apt repo) and after I restarted the config db, router and all the shards, I now get this in the mongo log:&lt;/p&gt;

&lt;p&gt;Fri Oct  1 15:41:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; lastPing is empty! this could be bad: &lt;/p&gt;
{ _id: &quot;balancer&quot;, process: &quot;domU-12-31-39-18-04-BA:1283870654:1804289383&quot;, state: 1, ts: ObjectId(&apos;4c8a8e9473876ed6c88ea3a6&apos;), when: new Date(1284148884286), who: &quot;domU-12-31-39-18-04-BA:1283870654:1804289383:Balancer:846930886&quot;, why: &quot;doing balance round&quot; }

&lt;p&gt;What does this mean and how do I fix it?&lt;/p&gt;

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

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Leo&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Ubuntu lucid lynx on EC2 - 1 router and config db instance, 10 shards on separate instances</environment>
        <key id="13238">SERVER-1880</key>
            <summary>sharding issue after upgrading to 1.6.3</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="alerner">Alberto Lerner</assignee>
                                    <reporter username="lzhadanovsky">Leo Zhadanovsky</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Oct 2010 15:45:25 +0000</created>
                <updated>Tue, 12 Jul 2016 00:18:57 +0000</updated>
                            <resolved>Thu, 11 Nov 2010 19:43:14 +0000</resolved>
                                    <version>1.6.3</version>
                                    <fixVersion>1.7.3</fixVersion>
                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="20241" author="auto" created="Thu, 11 Nov 2010 19:37:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;alerner&apos;, &apos;name&apos;: &apos;Alberto Lerner&apos;, &apos;email&apos;: &apos;alerner@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1880&quot; title=&quot;sharding issue after upgrading to 1.6.3&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1880&quot;&gt;&lt;del&gt;SERVER-1880&lt;/del&gt;&lt;/a&gt; do not clean lockpings, even old ones, if the lock is still taken&lt;br/&gt;
/mongodb/mongo/commit/6af410dde7ede94643e9cd291ac43ee873729c69&lt;/p&gt;</comment>
                            <comment id="20240" author="alerner" created="Thu, 11 Nov 2010 19:33:54 +0000"  >&lt;p&gt;We managed to reproduce the problem. A fix is upcoming&lt;/p&gt;</comment>
                            <comment id="18968" author="alerner" created="Thu, 7 Oct 2010 11:38:29 +0000"  >&lt;p&gt;Leo, what&apos;s the status on this?&lt;/p&gt;</comment>
                            <comment id="18805" author="alerner" created="Fri, 1 Oct 2010 22:21:54 +0000"  >&lt;p&gt;Can you send me the config server log? I&apos;d like to make sure there&apos;s no problem on that side.&lt;/p&gt;

&lt;p&gt;If it clears, we may want to bounce mongos again with a higher verbose level. &lt;/p&gt;

&lt;p&gt;Eliot and I added more logging to drill down on what&apos;s going on; that would be available in tonight&apos;s 1.7 nightly branch, if that was a possibility for you.&lt;/p&gt;</comment>
                            <comment id="18804" author="lzhadanovsky" created="Fri, 1 Oct 2010 22:14:59 +0000"  >&lt;p&gt;I&apos;ve run the repair and that query is now working, however, I am still seeing these errors in the mongos.log:&lt;/p&gt;


&lt;p&gt;Fri Oct  1 22:14:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; lastPing is empty! this could be bad: &lt;/p&gt;
{ _id: &quot;balancer&quot;, process: &quot;domU-12-31-39-18-04-BA:1283870654:1804289383&quot;, state: 1, ts: ObjectId(&apos;4c8a8e9473876ed6c88ea3a6&apos;), when: new Date(1284148884286), who: &quot;domU-12-31-39-18-04-BA:1283870654:1804289383:Balancer:846930886&quot;, why: &quot;doing balance round&quot; }</comment>
                            <comment id="18802" author="alerner" created="Fri, 1 Oct 2010 21:13:00 +0000"  >&lt;p&gt;Can you track down the shard and run a repair?&lt;/p&gt;</comment>
                            <comment id="18801" author="lzhadanovsky" created="Fri, 1 Oct 2010 21:12:58 +0000"  >&lt;p&gt;Also, I&apos;ve found this in the log file for one of the shards:&lt;/p&gt;


&lt;p&gt;Fri Oct  1 15:19:41 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn4&amp;#93;&lt;/span&gt; assertion 13440 bad offset:0 accessing file: /mongodb/db/dnc_voters.0 - consider repairing database ns:dnc_voters.people query:&lt;/p&gt;
{ emails.email: &quot;HORACE.L.WINDLEY@KUWAIT.SWA.ARMY.MIL&quot; }


&lt;p&gt;Should I run a repair on it?&lt;/p&gt;

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

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Leo&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="18800" author="lzhadanovsky" created="Fri, 1 Oct 2010 21:08:29 +0000"  >&lt;p&gt;This happens when I run the following query:&lt;/p&gt;


&lt;p&gt;&amp;gt; db.people.find(&lt;/p&gt;
{&quot;emails.email&quot;: &quot;HORACE.L.WINDLEY@KUWAIT.SWA.ARMY.MIL&quot; }
&lt;p&gt;)    &lt;br/&gt;
error: {&lt;br/&gt;
	&quot;$err&quot; : &quot;bad offset:0 accessing file: /mongodb/db/dnc_voters.0 - consider repairing database&quot;,&lt;br/&gt;
	&quot;code&quot; : 13440&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="18799" author="alerner" created="Fri, 1 Oct 2010 21:04:43 +0000"  >&lt;p&gt;Leo, the log that you attached has this: &lt;/p&gt;

&lt;p&gt;Fri Oct  1 15:18:08 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn1&amp;#93;&lt;/span&gt; DBException in process: bad offset:0 accessing file: /mongodb/db/dnc_voters.0 - consider repairing database&lt;/p&gt;

&lt;p&gt;Can you check the shards&apos; logs to so what could have happened around that time. Did you shutdown the shards before upgrading?&lt;/p&gt;

&lt;p&gt;Also, a side note, if this is a production environment, please use three config servers.&lt;/p&gt;</comment>
                            <comment id="18795" author="lzhadanovsky" created="Fri, 1 Oct 2010 19:02:40 +0000"  >&lt;p&gt;I bounced it and it appears to be doing the same thing:&lt;/p&gt;


&lt;p&gt;Fri Oct  1 19:02:21 /usr/bin/mongos db version v1.6.3, pdfile version 4.5 starting (--help for usage)&lt;br/&gt;
Fri Oct  1 19:02:21 git version: 278bd2ac2f2efbee556f32c13c1b6803224d1c01&lt;br/&gt;
Fri Oct  1 19:02:21 sys info: Linux domU-12-31-39-06-79-A1 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41&lt;br/&gt;
Fri Oct  1 19:02:21 &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;
Fri Oct  1 19:02:21 waiting for connections on port 27017&lt;br/&gt;
Fri Oct  1 19:02:21 &lt;span class=&quot;error&quot;&gt;&amp;#91;Balancer&amp;#93;&lt;/span&gt; lastPing is empty! this could be bad: &lt;/p&gt;
{ _id: &quot;balancer&quot;, process: &quot;domU-12-31-39-18-04-BA:1283870654:1804289383&quot;, state: 1, ts: ObjectId(&apos;4c8a8e9473876ed6c88ea3a6&apos;), when: new Date(1284148884286), who: &quot;domU-12-31-39-18-04-BA:1283870654:1804289383:Balancer:846930886&quot;, why: &quot;doing balance round&quot; }</comment>
                            <comment id="18794" author="alerner" created="Fri, 1 Oct 2010 18:58:46 +0000"  >&lt;p&gt;Thanks. One last thing. Can you try to bounce the mongos? &lt;/p&gt;</comment>
                            <comment id="18792" author="lzhadanovsky" created="Fri, 1 Oct 2010 18:49:18 +0000"  >&lt;p&gt;I have attached the file.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Leo&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="18791" author="alerner" created="Fri, 1 Oct 2010 18:40:10 +0000"  >&lt;p&gt;Could you send the mongos log?&lt;/p&gt;</comment>
                            <comment id="18790" author="lzhadanovsky" created="Fri, 1 Oct 2010 18:28:20 +0000"  >&lt;p&gt;I am still getting the message:&lt;/p&gt;

&lt;p&gt;Here is the command output:&lt;/p&gt;


&lt;p&gt;&amp;gt; db.lockpings.find()&lt;/p&gt;
{ &quot;_id&quot; : &quot;domU-12-31-39-18-1A-35:1283874817:1377189145&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:08:25 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-12-14:1283874202:1809101922&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:12:57 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-22-1B:1283879479:1230130915&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:07:07 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-33-AA:1283874601:1013128169&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:10:04 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-13-14:1283872978:1411183427&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:10:41 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-2E-6C:1283874277:1611283491&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:14:01 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-08-1C-5E:1283873502:72033941&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 14:56:21 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-01-1F:1283873734:849797026&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 14:57:10 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-04-BA:1285944895:1804289383&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 14:57:55 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-04-BA:1285946086:1804289383&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 15:17:16 GMT+0000 (UTC)&quot; }
{ &quot;_id&quot; : &quot;domU-12-31-39-18-04-BA:1285946271:1804289383&quot;, &quot;ping&quot; : &quot;Fri Oct 01 2010 18:26:54 GMT+0000 (UTC)&quot; }
&lt;p&gt;&amp;gt; db.locks.find()    &lt;/p&gt;
{ &quot;_id&quot; : &quot;balancer&quot;, &quot;process&quot; : &quot;domU-12-31-39-18-04-BA:1283870654:1804289383&quot;, &quot;state&quot; : 1, &quot;ts&quot; : ObjectId(&quot;4c8a8e9473876ed6c88ea3a6&quot;), &quot;when&quot; : &quot;Fri Sep 10 2010 20:01:24 GMT+0000 (UTC)&quot;, &quot;who&quot; : &quot;domU-12-31-39-18-04-BA:1283870654:1804289383:Balancer:846930886&quot;, &quot;why&quot; : &quot;doing balance round&quot; }
&lt;p&gt;{ &quot;_id&quot; : &quot;dnc_voters.people&quot;, &quot;process&quot; : &quot;domU-12-31-39-18-33-AA:1283874601:1013128169&quot;, &quot;state&quot; : 0, &quot;ts&quot; : ObjectId(&quot;4c8a5b647276c2c096171a59&quot;), &quot;when&quot; : &quot;Fri Sep 10 2010 16:23:00 GMT+0000 (UTC)&quot;, &quot;who&quot; : &quot;domU-12-31-39-18-33-AA:1283874601:1013128169:conn18:1648965130&quot;, &quot;why&quot; : &quot;migrate-&lt;/p&gt;
{ lname: \&quot;CLEVELAND\&quot;, fname: \&quot;CALVIN\&quot; }
&lt;p&gt;&quot; }&lt;/p&gt;</comment>
                            <comment id="18789" author="alerner" created="Fri, 1 Oct 2010 18:23:55 +0000"  >&lt;p&gt;Leo,&lt;/p&gt;

&lt;p&gt;Did you get this message one time or are you still getting it?&lt;/p&gt;

&lt;p&gt;Can you open a shell to the mongos and issue the following and send the result?&lt;br/&gt;
&amp;gt; use config&lt;br/&gt;
&amp;gt; db.lockpings().find()&lt;br/&gt;
&amp;gt; db.locks().find&lt;/p&gt;

&lt;p&gt;Alberto.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10491" name="mongos.log" size="140963" author="lzhadanovsky" created="Fri, 1 Oct 2010 18:49:18 +0000"/>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 1 Oct 2010 18:23:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        13 years, 14 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 14 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alerner</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>lzhadanovsky</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpdxz:</customfieldvalue>

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

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

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