<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39: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>[CSHARP-1282] Can&apos;t get indexes results with the GetIndexes method</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1282</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;I deploy a sharded cluster on CentOS 6.4 with MongoDB 3.0.2 and develop my application with .net 4.5.&lt;/p&gt;

&lt;p&gt;When I use the GetIndexes method in C# Driver, it returns empty as index1.png shows.&lt;/p&gt;

&lt;p&gt;When I use this method to a mongos of MongoDB 2.4.10 version, it can correctly return the result as index2.png shows.&lt;/p&gt;

&lt;p&gt;I check the language compatibility and don&apos;t find any problems.&lt;/p&gt;</description>
                <environment>CentOS 6.4</environment>
        <key id="204411">CSHARP-1282</key>
            <summary>Can&apos;t get indexes results with the GetIndexes method</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="-1">Unassigned</assignee>
                                    <reporter username="tottishi05">DaixiShi</reporter>
                        <labels>
                            <label>Bug</label>
                    </labels>
                <created>Fri, 15 May 2015 10:17:39 +0000</created>
                <updated>Tue, 5 Apr 2016 00:28:48 +0000</updated>
                            <resolved>Fri, 22 May 2015 12:49:56 +0000</resolved>
                                    <version>1.10</version>
                                                    <component>Operations</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="921521" author="craiggwilson" created="Fri, 22 May 2015 12:49:56 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tottishi05&quot; class=&quot;user-hover&quot; rel=&quot;tottishi05&quot;&gt;tottishi05&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m closing this ticket as cannot reproduce. If you can provide a sample, please re-open and I&apos;ll be happy to investigate further.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Craig&lt;/p&gt;</comment>
                            <comment id="915929" author="craiggwilson" created="Sat, 16 May 2015 02:50:13 +0000"  >&lt;p&gt;Yes, I was able to get indexes against MongoDB 3.0.2 on my machine using driver 1.10. If you could run the code in my last message using the mongo shell, that&apos;d would help us see what you have in your system that might be causing problems.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="915897" author="tottishi05" created="Sat, 16 May 2015 01:26:56 +0000"  >&lt;p&gt;Hi Craig Wilson&lt;br/&gt;
~&lt;span class=&quot;error&quot;&gt;&amp;#91;Craig Wilson&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Sorry, my English is a little poor and I cannot exactly understand what your meant.&lt;/p&gt;

&lt;p&gt;You said that &quot;I reproduce this on my local machine and was &lt;b&gt;unable to&lt;/b&gt;&quot;. &lt;br/&gt;
Do you mean that you can correctly get indexes by C# driver 1.10 on Mongo 3.0.2??&lt;/p&gt;</comment>
                            <comment id="915111" author="craiggwilson" created="Fri, 15 May 2015 14:01:06 +0000"  >&lt;p&gt;Hi DaixiShi,&lt;/p&gt;

&lt;p&gt;I&apos;ve attempted to reproduce this on my local machine and was unable to. Could you provide the results of getting the indexes from the shell against your 3.0.2 mongos?&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&amp;gt; db.runCommand({listIndexes: &quot;your collection name&quot;})&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Alternatively, you could provide a reproducible console application and instructions.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Craig&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="74494" name="compatibility.png" size="7783" author="tottishi05" created="Fri, 15 May 2015 10:17:39 +0000"/>
                            <attachment id="74492" name="index1.png" size="11278" author="tottishi05" created="Fri, 15 May 2015 10:17:39 +0000"/>
                            <attachment id="74493" name="index2.png" size="17176" author="tottishi05" created="Fri, 15 May 2015 10:17:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrev53:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>