<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:28 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>[JAVA-2534] why the getmore method sudden stop</title>
                <link>https://jira.mongodb.org/browse/JAVA-2534</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;use the code bellow:&lt;br/&gt;
MongoCollection&amp;lt;Document&amp;gt; collection = database.getCollection(&quot;oplog.rs&quot;);&lt;br/&gt;
		MongoCursor&amp;lt;Document&amp;gt; cursor = collection.find().cursorType(CursorType.TailableAwait).iterator();&lt;br/&gt;
		while(cursor.hasNext())&lt;/p&gt;
{
			System.out.println(cursor.next().toJson());
		}

&lt;p&gt;why the getmore command disappeare&lt;/p&gt;</description>
                <environment></environment>
        <key id="392065">JAVA-2534</key>
            <summary>why the getmore method sudden stop</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13202">Works as Designed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="yin">kunyin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Jun 2017 09:52:51 +0000</created>
                <updated>Fri, 27 Oct 2023 13:21:12 +0000</updated>
                            <resolved>Fri, 9 Jun 2017 12:47:19 +0000</resolved>
                                    <version>3.4.2</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1592103" author="jeff.yemin" created="Fri, 9 Jun 2017 12:47:06 +0000"  >&lt;p&gt;It stopped because the replica set primary at 127.0.0.1:27017 became unreachable:&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;   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;2017-06-09 02:49:47 WARN [main] com.mongodb.diagnostics.logging.SLF4JLogger.warn(86) | Got socket exception on connection [connectionId{localValue:7, serverValue:48377276}] to 127.0.0.1:27017. All connections to 127.0.0.1:27017 will be closed.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;2017-06-09 02:49:47 DEBUG [main] com.mongodb.diagnostics.logging.SLF4JLogger.debug(56) | Invalidating the connection pool&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;2017-06-09 02:49:47 TRACE [main] com.mongodb.diagnostics.logging.SLF4JLogger.trace(41) | Handling description changed event for server 127.0.0.1:27017 with description ServerDescription{address=127.0.0.1:27017, type=UNKNOWN, state=CONNECTING}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;2017-06-09 02:49:47 DEBUG [main] com.mongodb.diagnostics.logging.SLF4JLogger.debug(56) | Updating cluster description to  {type=REPLICA_SET, servers=[{address=127.0.0.1:27018, type=REPLICA_SET_SECONDARY, roundTripTime=16.2 ms, state=CONNECTED}, {address=127.0.0.1:27019, type=REPLICA_SET_SECONDARY, roundTripTime=7.8 ms, state=CONNECTED}, {address=127.0.0.1:27017, type=UNKNOWN, state=CONNECTING}]&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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;2017-06-09 02:49:47 DEBUG [main] com.mongodb.diagnostics.logging.SLF4JLogger.debug(56) | Invalidating the connection pool&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;That will certainly caused getMore execution to complete abnormally and an exception thrown from cursor iteration.  I suggest looking at the mongod logs for that server to see why that happened.&lt;/p&gt;</comment>
                            <comment id="1592053" author="yin" created="Fri, 9 Jun 2017 11:06:02 +0000"  >&lt;p&gt;Hi Ross Lawley,&lt;br/&gt;
 i don&apos;t find the &quot;Command execution completed&quot; debugging message until the connection close,please help&lt;/p&gt;</comment>
                            <comment id="1592033" author="ross@10gen.com" created="Fri, 9 Jun 2017 10:21:58 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=yin&quot; class=&quot;user-hover&quot; rel=&quot;yin&quot;&gt;yin&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the ticket, could you include a text copy of the logs?  The image doesn&apos;t provide enough information to determine what is happening.  Please remember to remove any sensitive information from the log before attaching to this ticket.&lt;/p&gt;

&lt;p&gt;The &lt;em&gt;&quot;Command execution completed&quot;&lt;/em&gt; debugging message is only outputted after the command response has been returned from the server.&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="158193" name="20170609.log" size="570456" author="yin" created="Fri, 9 Jun 2017 11:05:21 +0000"/>
                            <attachment id="158191" name="&#26080;&#26631;&#39064;.png" size="113172" author="yin" created="Fri, 9 Jun 2017 09:48:40 +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|ht0wmn:</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>