<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:38:09 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-197] ReplSetConnection documentation for Ruby appears to be incorrect</title>
                <link>https://jira.mongodb.org/browse/DOCS-197</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;&lt;a href=&quot;http://api.mongodb.org/ruby/current/Mongo/ReplSetConnection.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/ruby/current/Mongo/ReplSetConnection.html&lt;/a&gt; has the following example of code.&lt;/p&gt;

&lt;p&gt;ReplSetConnection.new(&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;localhost:30000&amp;#39;, &amp;#39;localhost:30001&amp;#39;&amp;#93;&lt;/span&gt;, :read =&amp;gt; :secondary)&lt;/p&gt;

&lt;p&gt;I create a local replica set with 2 nodes listening on the ports listed above.&lt;/p&gt;

&lt;p&gt;Calling this will fail with a message: Mongo::ConnectionFailure: Cannot connect to a replica set using seeds localhost:30000:localhost:30001&lt;/p&gt;

&lt;p&gt;Changing it to Mongo::ReplSetConnection.new(&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;localhost&amp;#39;,30000&amp;#93;&lt;/span&gt;, &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;localhost&amp;#39;,30001&amp;#93;&lt;/span&gt;, :read =&amp;gt; :secondary) does work correctly. &lt;/p&gt;</description>
                <environment></environment>
        <key id="37578">DOCS-197</key>
            <summary>ReplSetConnection documentation for Ruby appears to be incorrect</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="gjmurakami">Gary Murakami</assignee>
                                    <reporter username="nielsm">Niels Meersschaert</reporter>
                        <labels>
                            <label>ruby</label>
                    </labels>
                <created>Tue, 1 May 2012 20:52:36 +0000</created>
                <updated>Wed, 2 Nov 2016 20:00:03 +0000</updated>
                            <resolved>Fri, 8 Jun 2012 20:40:33 +0000</resolved>
                                                                    <component>drivers</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="128968" author="gjmurakami" created="Fri, 8 Jun 2012 20:40:33 +0000"  >&lt;p&gt;updated docs now have a notation at the top to go to the exact matching version&lt;/p&gt;</comment>
                            <comment id="127205" author="samk" created="Wed, 6 Jun 2012 16:29:16 +0000"  >&lt;p&gt;gary, was this resolved as part of the last ruby driver release?&lt;/p&gt;</comment>
                            <comment id="119174" author="auto" created="Mon, 14 May 2012 15:54:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;gjmurakami-10gen&apos;, u&apos;name&apos;: u&apos;Gary Murakami&apos;, u&apos;email&apos;: u&apos;gary.murakami@10gen.com&apos;}
&lt;p&gt;Message: documentation improvements for Yard/Ydoc newbies, also relative links replace absolute links where possible so that the user is left with the exact version and not forced to current web docs, in accordance with &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-197&quot; title=&quot;ReplSetConnection documentation for Ruby appears to be incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-197&quot;&gt;&lt;del&gt;DOCS-197&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-ruby-driver/commit/71650076deb95d949d1267a9cde4cffe8e1624bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-ruby-driver/commit/71650076deb95d949d1267a9cde4cffe8e1624bc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="117531" author="gjmurakami" created="Wed, 9 May 2012 02:11:19 +0000"  >&lt;p&gt;I think that adjusting the README file is appropriate for now, however, the actual &quot;fix&quot; will not be on the web until we push out a new point release.  We should keep this issue open until then.&lt;/p&gt;</comment>
                            <comment id="116349" author="auto" created="Fri, 4 May 2012 14:33:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;gjmurakami-10gen&apos;, u&apos;name&apos;: u&apos;Gary Murakami&apos;, u&apos;email&apos;: u&apos;gary.murakami@10gen.com&apos;}
&lt;p&gt;Message: Revert cbson.c, to be revisited for malloc/free reduction.&lt;br/&gt;
README.md has API Documentation note at the top to help users match documentation to driver version, &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-197&quot; title=&quot;ReplSetConnection documentation for Ruby appears to be incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-197&quot;&gt;&lt;del&gt;DOCS-197&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
 Expanded performance tests, for insert with multiple docs.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-ruby-driver/commit/50d6902d80c65d592d75f5cb0c4019de36319efc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-ruby-driver/commit/50d6902d80c65d592d75f5cb0c4019de36319efc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="115849" author="gjmurakami" created="Thu, 3 May 2012 01:40:12 +0000"  >&lt;p&gt;Niels:&lt;/p&gt;

&lt;p&gt;Thanks for the version clarification.&lt;/p&gt;

&lt;p&gt;The Ruby Language Center &lt;a href=&quot;http://www.mongodb.org/display/DOCS/Ruby+Language+Center&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.mongodb.org/display/DOCS/Ruby+Language+Center&lt;/a&gt; has a link &quot;API Documentation&quot; that goes directly to&lt;br/&gt;
&lt;a href=&quot;http://api.mongodb.org/ruby/current/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/ruby/current/index.html&lt;/a&gt;&lt;br/&gt;
On this API Documentation index page, there&apos;s a link to &quot;Documentation&quot; &lt;a href=&quot;http://api.mongodb.org/ruby/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/ruby/&lt;/a&gt; however I think that this is somewhat buried too far down the page.&lt;br/&gt;
I suggest that (at the very least) we move it to the very top with a prominent note about checking the Ruby driver version and explicitly using the matching documentation.&lt;/p&gt;

&lt;p&gt;Comments? Niels? Kyle?&lt;/p&gt;</comment>
                            <comment id="115847" author="kbanker" created="Thu, 3 May 2012 01:37:10 +0000"  >&lt;p&gt;Niels,&lt;/p&gt;

&lt;p&gt;You were linking to the current docs, which is for the current release. Here&apos;s the page with all versions:&lt;br/&gt;
&lt;a href=&quot;http://api.mongodb.org/ruby/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/ruby/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Kyle&lt;/p&gt;</comment>
                            <comment id="115795" author="nielsm" created="Wed, 2 May 2012 22:12:19 +0000"  >&lt;p&gt;Kyle,&lt;/p&gt;

&lt;p&gt;In the app where we noticed this it was 1.3.1.  Perhaps we can update the docs to show that the string version is only available &amp;gt; version it was added.  I saw another set of docs that had the array format version &amp;amp; due to the confusion we started testing both approaches, but found the official docs didn&apos;t work with our 1.3.1 version.&lt;/p&gt;

&lt;p&gt;Niels&lt;/p&gt;</comment>
                            <comment id="115791" author="auto" created="Wed, 2 May 2012 21:45:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;gjmurakami-10gen&apos;, u&apos;name&apos;: u&apos;Gary Murakami&apos;, u&apos;email&apos;: u&apos;gary.murakami@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-197&quot; title=&quot;ReplSetConnection documentation for Ruby appears to be incorrect&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-197&quot;&gt;&lt;del&gt;DOCS-197&lt;/del&gt;&lt;/a&gt; Fully qualify examples in the code with Mongo::&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-ruby-driver/commit/ca7bf209ddf1d7955df556602bd2eb704ee22d15&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-ruby-driver/commit/ca7bf209ddf1d7955df556602bd2eb704ee22d15&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="115786" author="kbanker" created="Wed, 2 May 2012 21:34:07 +0000"  >&lt;p&gt;Niels:&lt;/p&gt;

&lt;p&gt;Which version of the Ruby driver are you running? The host:port string support was only added recently.&lt;/p&gt;

&lt;p&gt;Kyle&lt;/p&gt;</comment>
                            <comment id="115778" author="nielsm" created="Wed, 2 May 2012 21:22:40 +0000"  >&lt;p&gt;Specifically the host:port string vs &lt;span class=&quot;error&quot;&gt;&amp;#91;host, port&amp;#93;&lt;/span&gt; array.  The array works, the string does not.  &lt;/p&gt;</comment>
                            <comment id="115771" author="gjmurakami" created="Wed, 2 May 2012 21:17:56 +0000"  >&lt;p&gt;Rakefile for easy setup/reset of replica sets with a test for Mongo::ReplSetConnection&lt;/p&gt;</comment>
                            <comment id="115770" author="gjmurakami" created="Wed, 2 May 2012 21:16:47 +0000"  >&lt;p&gt;Yes, the documentation is simply missing &quot;Mongo::&quot; qualifier to the reference to ReplSetConnection, however, other than that, the single array for the members with &quot;host:port&quot; works for me.  Would you please clarify if you are commenting about the missing &quot;Mongo::&quot; or about the &quot;host:port&quot; args?&lt;/p&gt;

&lt;p&gt;I&apos;ll attach a Rakefile that helped in my diagnostics.&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                            <attachment id="16366" name="Rakefile" size="2863" author="gjmurakami" created="Wed, 2 May 2012 21:17:56 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 2 May 2012 21:16:47 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 years, 36 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>gjmurakami</customfieldvalue>
            <customfieldvalue>kbanker</customfieldvalue>
            <customfieldvalue>nielsm</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrsgxr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>24205</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrzg1z:</customfieldvalue>

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