<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:07:51 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-24948] initial sync failed because listDatabases exceeded 30s socket (read) timeout</title>
                <link>https://jira.mongodb.org/browse/SERVER-24948</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We encounter a user case with 60,000+ collections(300,000+ files including index) using wiredtiger engine, listDatabases will cost more than 30s in this case because it need to traverse all the wt file to get the size stat.&lt;/p&gt;

&lt;p&gt;Secondary set socket timeout to 30s during sync process, so it failed to run listDatabases command in this case. (OplogReader::kSocketTimeout(30)&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&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;2016-06-27T20:59:46.494+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;******&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;2016-06-27T20:59:46.495+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;pending&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;2016-06-27T20:59:46.499+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;no&#160;valid&#160;sync&#160;sources&#160;found&#160;in&#160;current&#160;replset&#160;to&#160;do&#160;an&#160;initial&#160;sync&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;2016-06-27T20:59:47.499+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;pending&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;2016-06-27T20:59:47.517+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;drop&#160;all&#160;databases&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;2016-06-27T20:59:47.517+0800&#160;I&#160;STORAGE&#160;&#160;[rsSync]&#160;dropAllDatabasesExceptLocal&#160;1&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;2016-06-27T20:59:47.517+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;clone&#160;all&#160;databases&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;2016-06-27T21:00:17.517+0800&#160;I&#160;NETWORK&#160;&#160;[rsSync]&#160;Socket&#160;recv()&#160;timeout&#160;&#160;10.182.4.106:27017&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;2016-06-27T21:00:17.517+0800&#160;I&#160;NETWORK&#160;&#160;[rsSync]&#160;SocketException:&#160;remote:&#160;(NONE):0&#160;error:&#160;9001&#160;socket&#160;exception&#160;[RECV_TIMEOUT]&#160;server&#160;[10.182.4.106:27017]&#160;&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;2016-06-27T21:00:17.519+0800&#160;E&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;6&#160;network&#160;error&#160;while&#160;attempting&#160;to&#160;run&#160;command&#160;&apos;listDatabases&apos;&#160;on&#160;host&#160;&apos;10.182.4.106:27017&apos;&#160;&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;2016-06-27T21:00:17.519+0800&#160;E&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;attempt&#160;failed,&#160;9&#160;attempts&#160;remaining&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;2016-06-27T21:00:22.519+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;pending&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;2016-06-27T21:00:40.435+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;drop&#160;all&#160;databases&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;2016-06-27T21:00:40.435+0800&#160;I&#160;STORAGE&#160;&#160;[rsSync]&#160;dropAllDatabasesExceptLocal&#160;1&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;2016-06-27T21:00:40.435+0800&#160;I&#160;REPL&#160;&#160;&#160;&#160;&#160;[rsSync]&#160;initial&#160;sync&#160;clone&#160;all&#160;databases&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;2016-06-27T21:01:10.436+0800&#160;I&#160;NETWORK&#160;&#160;[rsSync]&#160;Socket&#160;recv()&#160;timeout&#160;&#160;10.182.4.106:27017&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;During initial sync, the secondary only need to get the db names, it will not care the db size information, so we can add an option when listDatabases to tell the server &quot;only db names are needed&quot;, this will decrease the listDatabases cost a lot.&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;db.runCommand({listDatabases: 1, nameOnly: true})&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
</description>
                <environment></environment>
        <key id="299468">SERVER-24948</key>
            <summary>initial sync failed because listDatabases exceeded 30s socket (read) timeout</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="3">Duplicate</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="zyd_com@126.com">Zhang Youdong</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Jul 2016 03:25:31 +0000</created>
                <updated>Tue, 6 Dec 2022 04:21:58 +0000</updated>
                            <resolved>Wed, 28 Sep 2016 03:46:33 +0000</resolved>
                                    <version>3.2.3</version>
                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1322189" author="zyd_com@126.com" created="Wed, 13 Jul 2016 03:28:37 +0000"  >&lt;p&gt;At the very beginning, I just want to slove the initial sync timeout problem, though it has many other ways to solve, like belows:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;set longer or no timeout on socket&lt;/li&gt;
	&lt;li&gt;use mmapv1 engine on primary&lt;/li&gt;
	&lt;li&gt;copy raw data from primary when add a new empty node&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;So I just considered the compatible things, after see your tips, I have rethink this change to become a general feature, and  and I will discuss it  on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3181&quot; title=&quot;Add option to listDatabases to only get db names, not size info&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3181&quot;&gt;&lt;del&gt;SERVER-3181&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;






</comment>
                            <comment id="1320705" author="scotthernandez" created="Mon, 11 Jul 2016 21:16:45 +0000"  >&lt;p&gt;Great and thanks for the answers. We want to improve initial sync in terms of performance and reliability for this release. I look forward to when the new code will be testable, and will let you know when that is.&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;PullRequest&quot;&gt;&lt;/a&gt;Pull Request&lt;/h2&gt;
&lt;p&gt;The pull request you started was a good beginning but there are a few more things that would be need to be addressed before we could accept it to be merged into the server. Here is a brief list of some things off the top of my head, before looking too closely at the code:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Design the change
	&lt;ul&gt;
		&lt;li&gt;Decide on output format (what should the size be, or should it even be included)&lt;/li&gt;
		&lt;li&gt;Name the parameter, and ensure forward and backwards compatibility (for parsing and validation)&lt;/li&gt;
		&lt;li&gt;Verify usage in the server (DBClient, cloner and other places)&lt;/li&gt;
		&lt;li&gt;Evaluate security ramifications (I don&apos;t think there are any, but need to think about it)&lt;/li&gt;
		&lt;li&gt;Will there be shell support or helpers (should we change to make this the default)?&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Add sharding support (including tests)
	&lt;ul&gt;
		&lt;li&gt;How does this affect the sharded command implementation?&lt;/li&gt;
		&lt;li&gt;Are there are any other uses of the command in sharding that need to changed?&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Research effect on driver/client (library)
	&lt;ul&gt;
		&lt;li&gt;Will the design break existing clients?&lt;/li&gt;
		&lt;li&gt;Is there enough information in the output, or does the output result in any problems?&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Research effect on tools and integrations (may not be more than needed above)&lt;/li&gt;
	&lt;li&gt;Implement on &lt;b&gt;master&lt;/b&gt; for the pull request&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If you are interested in continuing this work it would be good to move this discussion to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3181&quot; title=&quot;Add option to listDatabases to only get db names, not size info&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3181&quot;&gt;&lt;del&gt;SERVER-3181&lt;/del&gt;&lt;/a&gt; to address the above issues before doing anything more with the code.&lt;/p&gt;</comment>
                            <comment id="1319505" author="zyd_com@126.com" created="Mon, 11 Jul 2016 03:17:10 +0000"  >&lt;p&gt;I create a pull request, see &lt;a href=&quot;https://github.com/mongodb/mongo/pull/1100&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1100&lt;/a&gt;, and I will use it in our production environment.&lt;/p&gt;
</comment>
                            <comment id="1319323" author="zyd_com@126.com" created="Sun, 10 Jul 2016 13:45:04 +0000"  >&lt;p&gt;Hi, &lt;a href=&quot;#Scott Hernandez&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;Scott Hernandez&lt;/a&gt;, it&apos;s the same problem with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3181&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SERVER-3181&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;1. The first inital sync succeed when there is no data, this happened when we add a new empty node. (I know we can also add a node by copy the data from primary, and do incremental sync, but we want to do less ops work.)&lt;br/&gt;
2. We modified some source code, like online resize oplog size, see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-22847&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;SERVER-22847&lt;/a&gt;, but didn&apos;t modify the sync logic.&lt;br/&gt;
3. A similar user case(many collections) use mmapv1, it doesn&apos;t have this problem, because listDatabases in mmapv1 cost much less than wiredtiger.&lt;/p&gt;

&lt;p&gt;And I am glad to test Mongodb-3.4 when it&apos;s available on my dataset, you can contact me at any time through jira or email(zyd_com@126.com).&lt;/p&gt;


</comment>
                            <comment id="1317911" author="scotthernandez" created="Fri, 8 Jul 2016 11:19:13 +0000"  >&lt;p&gt;We have an existing issue (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-3181&quot; title=&quot;Add option to listDatabases to only get db names, not size info&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-3181&quot;&gt;&lt;del&gt;SERVER-3181&lt;/del&gt;&lt;/a&gt;) to removed the need to calculate the size on listDatabases, which is now linked.&lt;/p&gt;

&lt;p&gt;I have a few questions about your case:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Was the initial sync able to complete after the first attempt?&lt;/li&gt;
	&lt;li&gt;Has the mongod source code been modified that you are using? If so, how?&lt;/li&gt;
	&lt;li&gt;Are you using only wired tiger, or mmapv1 as well; and if both, did mmapv1 also have the same problem?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I believe the new initial sync code we are working on for 3.4 will remove the socket timeout so that the operation will succeed. Would you be willing to test this, once it is available in alpha/beta, on your data sets?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="17784">SERVER-3181</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="376398">SERVER-28924</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 8 Jul 2016 11:19:13 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 31 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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 31 weeks, 1 day ago
                        </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>backlog-server-repl</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>zyd_com@126.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrk3a7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsnavj:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;create many collections and indexes to make &apos;listDatabases&apos; cost more than 30s, then do initial sync. &lt;/p&gt;</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_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|hsesvj:</customfieldvalue>

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