<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:52 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-2404] Probable protocol problem</title>
                <link>https://jira.mongodb.org/browse/SERVER-2404</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;While trying to configure fresh sharding:&lt;/p&gt;

&lt;p&gt;xm@celestine-3:~$ /opt/mongodb/bin/mongo celestine-3&lt;br/&gt;
MongoDB shell version: 1.6.5&lt;br/&gt;
connecting to: celestine-3&lt;br/&gt;
&amp;gt; use admin&lt;br/&gt;
switched to db admin&lt;br/&gt;
&amp;gt; db.printShardingStatus()&lt;br/&gt;
&amp;#8212; Sharding Status &amp;#8212;&lt;br/&gt;
  sharding version: &lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;version&quot; : 3 }
&lt;p&gt;  shards:&lt;br/&gt;
      {&lt;br/&gt;
        &quot;_id&quot; : &quot;testRS&quot;,&lt;br/&gt;
        &quot;host&quot; : &quot;testRS/celestine-1:27100,celestine-3:27100,celestine-2:27100&quot;&lt;br/&gt;
}&lt;br/&gt;
  databases:&lt;/p&gt;
        { &quot;_id&quot; : &quot;admin&quot;, &quot;partitioned&quot; : false, &quot;primary&quot; : &quot;config&quot; }

&lt;p&gt;&amp;gt; db.runCommand( &lt;/p&gt;
{ enablesharding : &quot;test1&quot; }
&lt;p&gt; )&lt;br/&gt;
{&lt;br/&gt;
        &quot;assertion&quot; : &quot;wrong type for BSONElement () 0 != 8&quot;,&lt;br/&gt;
        &quot;assertionCode&quot; : 13111,&lt;br/&gt;
        &quot;errmsg&quot; : &quot;db assertion failure&quot;,&lt;br/&gt;
        &quot;ok&quot; : 0&lt;br/&gt;
}&lt;br/&gt;
&amp;gt; db.runCommand( &lt;/p&gt;
{ enablesharding : &quot;test1&quot; }
&lt;p&gt; )&lt;/p&gt;
{ &quot;ok&quot; : 1 }</description>
                <environment></environment>
        <key id="14300">SERVER-2404</key>
            <summary>Probable protocol problem</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="5">Cannot Reproduce</resolution>
                                        <assignee username="greg_10gen">Greg Studer</assignee>
                                    <reporter username="onyxmaster">Aristarkh Zagorodnikov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Jan 2011 13:00:22 +0000</created>
                <updated>Fri, 30 Mar 2012 14:36:58 +0000</updated>
                            <resolved>Tue, 1 Feb 2011 13:11:31 +0000</resolved>
                                    <version>1.7.5</version>
                                                    <component>Internal Client</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="22935" author="onyxmaster" created="Tue, 1 Feb 2011 09:49:19 +0000"  >&lt;p&gt;Can&apos;t repro after installing todays nightly build and starting from scratch on all three machines. Either I didn&apos;t properly update binaries at one of the machines or it got fixed as a side effect from other fixes. I think this can be closed since it now works fine right after configuring:&lt;br/&gt;
xm@celestine-3:~$ /opt/mongodb/bin/mongo celestine-3:27017/admin&lt;br/&gt;
MongoDB shell version: 1.8.0-rc0-pre-&lt;br/&gt;
connecting to: celestine-3:27017/admin&lt;br/&gt;
&amp;gt; db.runCommand( &lt;/p&gt;
{ addshard : &quot;testRS/celestine-1:27100,celestine-2:27100,celestine-3:27100&quot; }
&lt;p&gt; );&lt;/p&gt;
{ &quot;shardAdded&quot; : &quot;testRS&quot;, &quot;ok&quot; : 1 }
&lt;p&gt;&amp;gt; db.runCommand( &lt;/p&gt;
{ enablesharding : &quot;test1&quot; }
&lt;p&gt; )&lt;/p&gt;
{ &quot;ok&quot; : 1 }</comment>
                            <comment id="22891" author="greg_10gen" created="Mon, 31 Jan 2011 22:31:27 +0000"  >&lt;p&gt;Can&apos;t seem to reproduce, using either the newest version or 1.6.5.  Do you have any more information about how the replica set and sharding configuration was started/restarted in order to cause the BSONElement error?&lt;/p&gt;

&lt;p&gt;Any stack traces from the db logs when the error occurs would also be helpful.&lt;/p&gt;</comment>
                            <comment id="22861" author="eliot" created="Mon, 31 Jan 2011 06:56:19 +0000"  >&lt;p&gt;@greg - can you see if you can reproduce&lt;/p&gt;</comment>
                            <comment id="22694" author="onyxmaster" created="Wed, 26 Jan 2011 08:35:54 +0000"  >&lt;p&gt;There&apos;s only one shard comprised of 3-server replica set (named testRS), all having the same oplog timestamp.&lt;/p&gt;</comment>
                            <comment id="22664" author="eliot" created="Tue, 25 Jan 2011 18:11:54 +0000"  >&lt;p&gt;Is it possible one of the shards you were talking to was older?&lt;/p&gt;</comment>
                            <comment id="22642" author="onyxmaster" created="Tue, 25 Jan 2011 13:58:16 +0000"  >&lt;p&gt;The &quot;no primary&quot; is fixed by :&lt;br/&gt;
xm@celestine-3:~$ ./db/bin/mongo celestine-3/config&lt;br/&gt;
MongoDB shell version: 1.7.5-pre-&lt;br/&gt;
connecting to: celestine-3/admin&lt;br/&gt;
&amp;gt; db.databases.update({_id:&quot;test1&quot;},&lt;/p&gt;
{partitioned:false, primary:&quot;testRS&quot;}
&lt;p&gt;)&lt;br/&gt;
and restarting mongos (I don&apos;t know how to force mongos to reload it&apos;s configuration).&lt;br/&gt;
After this, database is properly added and mongos properly proxies from/to the testRS replica set.&lt;/p&gt;</comment>
                            <comment id="22641" author="onyxmaster" created="Tue, 25 Jan 2011 13:41:21 +0000"  >&lt;p&gt;It (maybe it&apos;s by design) also prevents sharding the database that does not exist:&lt;/p&gt;

&lt;p&gt;&amp;gt; db.printShardingStatus()&lt;br/&gt;
&amp;#8212; Sharding Status &amp;#8212;&lt;br/&gt;
  sharding version: &lt;/p&gt;
{ &quot;_id&quot; : 1, &quot;version&quot; : 3 }
&lt;p&gt;  shards:&lt;br/&gt;
      {&lt;br/&gt;
        &quot;_id&quot; : &quot;testRS&quot;,&lt;br/&gt;
        &quot;host&quot; : &quot;testRS/celestine-1:27100,celestine-2:27100,celestine-3:27100&quot;&lt;br/&gt;
}&lt;br/&gt;
  databases:&lt;/p&gt;
        { &quot;_id&quot; : &quot;admin&quot;, &quot;partitioned&quot; : false, &quot;primary&quot; : &quot;config&quot; }
        { &quot;_id&quot; : &quot;test1&quot;, &quot;partitioned&quot; : true, &quot;primary&quot; : &quot;config&quot; }
&lt;p&gt;&amp;gt; db.runCommand( &lt;/p&gt;
{ moveprimary : &quot;test1&quot;, to : &quot;testRS&quot; }
&lt;p&gt; );&lt;br/&gt;
{&lt;br/&gt;
        &quot;assertion&quot; : &quot;no primary shard configured for db: test1&quot;,&lt;br/&gt;
        &quot;assertionCode&quot; : 8041,&lt;br/&gt;
        &quot;errmsg&quot; : &quot;db assertion failure&quot;,&lt;br/&gt;
        &quot;ok&quot; : 0&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="22640" author="onyxmaster" created="Tue, 25 Jan 2011 13:24:16 +0000"  >&lt;p&gt;Looks like this happens when the subject database does not exist on the replica set.&lt;/p&gt;</comment>
                            <comment id="22639" author="onyxmaster" created="Tue, 25 Jan 2011 13:12:45 +0000"  >&lt;p&gt;Please note that I cannot repeat this problem after starting from scratch (stopping all servers, removing config server data, starting over with sharding configuration).&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Jan 2011 18:11:54 +0000</customfieldvalue>

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


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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            13 years, 3 weeks, 1 day 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="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>onyxmaster</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp807:</customfieldvalue>

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

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

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