<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:12:56 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-46967] Test locally that we eliminate retries of short-running reads due to planned primary shutdown (with streamable isMaster)</title>
                <link>https://jira.mongodb.org/browse/SERVER-46967</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Test the primaryPreferred read workload created in&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46965&quot; title=&quot;Test that we eliminate retries of short-running reads due to planned primary shutdown (without streamable isMaster)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46965&quot;&gt;&lt;del&gt;SERVER-46965&lt;/del&gt;&lt;/a&gt; with the latest version of pymongo.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1280871">SERVER-46967</key>
            <summary>Test locally that we eliminate retries of short-running reads due to planned primary shutdown (with streamable isMaster)</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="9">Done</resolution>
                                        <assignee username="jason.chan@mongodb.com">Jason Chan</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Mar 2020 20:00:21 +0000</created>
                <updated>Wed, 27 May 2020 16:38:25 +0000</updated>
                            <resolved>Wed, 27 May 2020 16:38:25 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3117982" author="jason.chan" created="Wed, 27 May 2020 00:06:28 +0000"  >&lt;p&gt;In the test case where we send a series of reads to a primary node P with readPreference=&apos;primaryPreferred&apos;, we expect the server to respond to the driver immediately with a ShutdownInProgress error. All future reads should be directed to the secondary as P continues with quiesce mode and eventually shuts down.&lt;/p&gt;

&lt;p&gt;Observations for this test case:&lt;br/&gt;
Reads are directed to Primary node d20020 since we set the readPreference to &apos;primaryPreferred&apos;.&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:26.721-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:26.721-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;test&quot;,&quot;commandArgs&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;3ff22c32-375d-4bbf-b4e1-fd2199e912b4&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590537086,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:26.722-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:26.721-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;test.state&quot;,&quot;command&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;3ff22c32-375d-4bbf-b4e1-fd2199e912b4&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590537086,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}},&quot;planSummary&quot;:&quot;COLLSCAN&quot;,&quot;keysExamined&quot;:0,&quot;docsExamined&quot;:1,&quot;cursorExhausted&quot;:true,&quot;numYields&quot;:0,&quot;nreturned&quot;:1,&quot;reslen&quot;:272,&quot;locks&quot;:{&quot;ReplicationStateTransition&quot;:{&quot;acquireCount&quot;:{&quot;w&quot;:1}},&quot;Global&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Database&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Collection&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Mutex&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}}},&quot;storage&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:26.973-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:26.973-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;test&quot;,&quot;commandArgs&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;3ff22c32-375d-4bbf-b4e1-fd2199e912b4&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590537086,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:26.974-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:26.974-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;test.state&quot;,&quot;command&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;3ff22c32-375d-4bbf-b4e1-fd2199e912b4&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590537086,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}},&quot;planSummary&quot;:&quot;COLLSCAN&quot;,&quot;keysExamined&quot;:0,&quot;docsExamined&quot;:1,&quot;cursorExhausted&quot;:true,&quot;numYields&quot;:0,&quot;nreturned&quot;:1,&quot;reslen&quot;:272,&quot;locks&quot;:{&quot;ReplicationStateTransition&quot;:{&quot;acquireCount&quot;:{&quot;w&quot;:1}},&quot;Global&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Database&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Collection&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Mutex&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}}},&quot;storage&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;...&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;Node d20020 receives a shutdown command, and proceeds to stepdown and enter quiesce mode:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.095-0400 ReplSetTest stop *** Shutting down mongod in port 20020, wait for process termination: true ***&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.095-0400 {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T23:51:27.095Z&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;-&quot;,        &quot;id&quot;:22820,   &quot;ctx&quot;:&quot;js&quot;,&quot;msg&quot;:&quot;shell: stopping mongo program, waitpid={getWaitPid_a}&quot;,&quot;attr&quot;:{&quot;getWaitPid_a&quot;:true}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.096-0400 {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T23:51:27.095Z&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;-&quot;,        &quot;id&quot;:22819,   &quot;ctx&quot;:&quot;js&quot;,&quot;msg&quot;:&quot;waiting for process {pid} to terminate.&quot;,&quot;attr&quot;:{&quot;pid&quot;:&quot;32048&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.096-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.095-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23377,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;got signal {sig} ({strsignal_sig})&quot;,&quot;attr&quot;:{&quot;sig&quot;:15,&quot;strsignal_sig&quot;:&quot;Terminated&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.096-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.095-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23378,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;kill from pid:{si_si_pid} uid:{si_si_uid}&quot;,&quot;attr&quot;:{&quot;si_si_pid&quot;:32041,&quot;si_si_uid&quot;:1000}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.096-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.095-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23381,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;will terminate after current cmd ends&quot;}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.096-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.096-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21343,   &quot;ctx&quot;:&quot;RstlKillOpThread&quot;,&quot;msg&quot;:&quot;Starting to kill user operations&quot;}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.096-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.096-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21344,   &quot;ctx&quot;:&quot;RstlKillOpThread&quot;,&quot;msg&quot;:&quot;Stopped killing user operations&quot;}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.097-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.096-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21340,   &quot;ctx&quot;:&quot;RstlKillOpThread&quot;,&quot;msg&quot;:&quot;State transition ops metrics&quot;,&quot;attr&quot;:{&quot;metrics&quot;:{&quot;lastStateTransition&quot;:&quot;stepDown&quot;,&quot;userOpsKilled&quot;:0,&quot;userOpsRunning&quot;:2}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.097-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.096-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21358,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;Replica set state transition&quot;,&quot;attr&quot;:{&quot;newState&quot;:&quot;SECONDARY&quot;,&quot;oldState&quot;:&quot;PRIMARY&quot;},&quot;tags&quot;:[]}&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;...&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.099-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.097-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:4695102, &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;Entering quiesce mode for shutdown&quot;,&quot;attr&quot;:{&quot;quiesceTimeMillis&quot;:4998}}&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;Node d20020 responds to the driver with a ShutdownInProgress isMaster response almost immediately:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.102-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.101-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;ismaster&quot;:1,&quot;client&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;},&quot;$db&quot;:&quot;admin&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.102-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.101-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:51800,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;client metadata&quot;,&quot;attr&quot;:{&quot;remote&quot;:&quot;127.0.0.1:53398&quot;,&quot;client&quot;:&quot;conn16&quot;,&quot;doc&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.102-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.101-04:00&quot;},&quot;s&quot;:&quot;D1&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21962,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;Assertion while executing command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;ismaster&quot;,&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;ismaster&quot;:1,&quot;client&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;},&quot;$db&quot;:&quot;admin&quot;},&quot;error&quot;:&quot;ShutdownInProgress: The server is in quiesce mode and will shut down&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.102-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.101-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;admin.$cmd&quot;,&quot;command&quot;:{&quot;ismaster&quot;:1,&quot;client&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;},&quot;$db&quot;:&quot;admin&quot;},&quot;numYields&quot;:0,&quot;ok&quot;:0,&quot;errMsg&quot;:&quot;The server is in quiesce mode and will shut down&quot;,&quot;errName&quot;:91,&quot;errCode&quot;:91,&quot;reslen&quot;:344,&quot;locks&quot;:{},&quot;protocol&quot;:&quot;op_query&quot;,&quot;durationMillis&quot;:0}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.103-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.101-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:22944,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;connection ended&quot;,&quot;attr&quot;:{&quot;remote&quot;:&quot;127.0.0.1:53398&quot;,&quot;connectionCount&quot;:6}}&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;All future reads are sent to the secondary node d20021:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.477-0400 d20021| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.477-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn12&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;test&quot;,&quot;commandArgs&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;3ff22c32-375d-4bbf-b4e1-fd2199e912b4&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590537086,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:51:27.478-0400 d20021| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:51:27.477-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn12&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;test.state&quot;,&quot;command&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;3ff22c32-375d-4bbf-b4e1-fd2199e912b4&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590537086,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}},&quot;planSummary&quot;:&quot;COLLSCAN&quot;,&quot;keysExamined&quot;:0,&quot;docsExamined&quot;:1,&quot;cursorExhausted&quot;:true,&quot;numYields&quot;:0,&quot;nreturned&quot;:1,&quot;reslen&quot;:272,&quot;locks&quot;:{&quot;ReplicationStateTransition&quot;:{&quot;acquireCount&quot;:{&quot;w&quot;:1}},&quot;Global&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Database&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Collection&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Mutex&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}}},&quot;storage&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;...&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;The test completes successfully with driver option retryReads set to false, indicating that all reads completed successfully without the driver ever having to retry.&lt;/p&gt;

&lt;p&gt;Example logs:  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/262591/262591_primary_quiesce_mode_streamable_ismaster.txt&quot; title=&quot;primary_quiesce_mode_streamable_ismaster.txt attached to SERVER-46967&quot;&gt;primary_quiesce_mode_streamable_ismaster.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                            <comment id="3117957" author="jason.chan" created="Tue, 26 May 2020 23:34:28 +0000"  >&lt;p&gt;In the test case where the primary node P enters quiesce mode while a read is still in-progress, we expect to see that P will return a ShutdownInProgress error as an isMaster response to the driver. The find should proceed to complete and return to the driver without raising an error even if the driver has already marked S as unknown.&lt;/p&gt;

&lt;p&gt;Observations for this test case:&lt;br/&gt;
Reads are directed to primary node d20020 since we set the readPreference to &apos;primaryPreferred&apos;:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.170-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.170-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;test&quot;,&quot;commandArgs&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;abec9041-4652-4958-b1e7-2a1c896bae44&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.170-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.170-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn16&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;test.state&quot;,&quot;command&quot;:{&quot;find&quot;:&quot;state&quot;,&quot;filter&quot;:{},&quot;limit&quot;:1,&quot;singleBatch&quot;:true,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;abec9041-4652-4958-b1e7-2a1c896bae44&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;test&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primaryPreferred&quot;}},&quot;planSummary&quot;:&quot;COLLSCAN&quot;,&quot;keysExamined&quot;:0,&quot;docsExamined&quot;:1,&quot;cursorExhausted&quot;:true,&quot;numYields&quot;:0,&quot;nreturned&quot;:1,&quot;reslen&quot;:272,&quot;locks&quot;:{&quot;ReplicationStateTransition&quot;:{&quot;acquireCount&quot;:{&quot;w&quot;:1}},&quot;Global&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Database&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Collection&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}},&quot;Mutex&quot;:{&quot;acquireCount&quot;:{&quot;r&quot;:1}}},&quot;storage&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;Set a failpoint on the primary node d20020 to hang during a find command. Wait for us to hit this failpoint.:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.209-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.208-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;configureFailPoint&quot;:&quot;waitAfterCommandFinishesExecution&quot;,&quot;mode&quot;:&quot;alwaysOn&quot;,&quot;data&quot;:{&quot;ns&quot;:&quot;test.state&quot;,&quot;commands&quot;:[&quot;find&quot;]},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.209-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.209-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21961,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Admin only command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;configureFailPoint&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.209-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.209-04:00&quot;},&quot;s&quot;:&quot;W&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23829,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Set failpoint&quot;,&quot;attr&quot;:{&quot;failPointName&quot;:&quot;waitAfterCommandFinishesExecution&quot;,&quot;failPoint&quot;:{&quot;mode&quot;:1,&quot;data&quot;:{&quot;ns&quot;:&quot;test.state&quot;,&quot;commands&quot;:[&quot;find&quot;]},&quot;timesEntered&quot;:0}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.209-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.209-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;admin.$cmd&quot;,&quot;appName&quot;:&quot;MongoDB Shell&quot;,&quot;command&quot;:{&quot;configureFailPoint&quot;:&quot;waitAfterCommandFinishesExecution&quot;,&quot;mode&quot;:&quot;alwaysOn&quot;,&quot;data&quot;:{&quot;ns&quot;:&quot;test.state&quot;,&quot;commands&quot;:[&quot;find&quot;]},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;},&quot;numYields&quot;:0,&quot;reslen&quot;:174,&quot;locks&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.211-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.210-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;waitForFailPoint&quot;:&quot;waitAfterCommandFinishesExecution&quot;,&quot;timesEntered&quot;:1.0,&quot;maxTimeMS&quot;:300000.0,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.211-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.210-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21961,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Admin only command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;waitForFailPoint&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.211-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.211-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;admin.$cmd&quot;,&quot;appName&quot;:&quot;MongoDB Shell&quot;,&quot;command&quot;:{&quot;waitForFailPoint&quot;:&quot;waitAfterCommandFinishesExecution&quot;,&quot;timesEntered&quot;:1.0,&quot;maxTimeMS&quot;:300000.0,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;},&quot;numYields&quot;:0,&quot;reslen&quot;:163,&quot;locks&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;Set a failpoint on the primary node d20020 to hang during quiesce mode:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.212-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.212-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;configureFailPoint&quot;:&quot;hangDuringQuiesceMode&quot;,&quot;mode&quot;:&quot;alwaysOn&quot;,&quot;data&quot;:{},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.213-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.212-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21961,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Admin only command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;configureFailPoint&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.213-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.212-04:00&quot;},&quot;s&quot;:&quot;W&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23829,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Set failpoint&quot;,&quot;attr&quot;:{&quot;failPointName&quot;:&quot;hangDuringQuiesceMode&quot;,&quot;failPoint&quot;:{&quot;mode&quot;:1,&quot;data&quot;:{},&quot;timesEntered&quot;:0}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.213-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.212-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:51803,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Slow query&quot;,&quot;attr&quot;:{&quot;type&quot;:&quot;command&quot;,&quot;ns&quot;:&quot;admin.$cmd&quot;,&quot;appName&quot;:&quot;MongoDB Shell&quot;,&quot;command&quot;:{&quot;configureFailPoint&quot;:&quot;hangDuringQuiesceMode&quot;,&quot;mode&quot;:&quot;alwaysOn&quot;,&quot;data&quot;:{},&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;},&quot;numYields&quot;:0,&quot;reslen&quot;:174,&quot;locks&quot;:{},&quot;protocol&quot;:&quot;op_msg&quot;,&quot;durationMillis&quot;:0}}&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;Primary node d20020 receives a shutdown command. It proceeds to stepdown and transition to quiesce mode. The node will hang here due to the failpoint:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.214-0400 {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T23:24:33.214Z&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;-&quot;,        &quot;id&quot;:22820,   &quot;ctx&quot;:&quot;js&quot;,&quot;msg&quot;:&quot;shell: stopping mongo program, waitpid={getWaitPid_a}&quot;,&quot;attr&quot;:{&quot;getWaitPid_a&quot;:false}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.214-0400 {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T23:24:33.214Z&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;-&quot;,        &quot;id&quot;:22818,   &quot;ctx&quot;:&quot;js&quot;,&quot;msg&quot;:&quot;skip waiting for pid {pid} to terminate&quot;,&quot;attr&quot;:{&quot;pid&quot;:&quot;31075&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.214-0400 {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T23:24:33.214Z&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;-&quot;,        &quot;id&quot;:22821,   &quot;ctx&quot;:&quot;js&quot;,&quot;msg&quot;:&quot;shell: stopped mongo program on port {port}&quot;,&quot;attr&quot;:{&quot;port&quot;:20020}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.215-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.214-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23377,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;got signal {sig} ({strsignal_sig})&quot;,&quot;attr&quot;:{&quot;sig&quot;:15,&quot;strsignal_sig&quot;:&quot;Terminated&quot;}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.215-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.214-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23378,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;kill from pid:{si_si_pid} uid:{si_si_uid}&quot;,&quot;attr&quot;:{&quot;si_si_pid&quot;:31068,&quot;si_si_uid&quot;:1000}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.215-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.214-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;CONTROL&quot;,  &quot;id&quot;:23381,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;will terminate after current cmd ends&quot;}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.215-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.214-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21343,   &quot;ctx&quot;:&quot;RstlKillOpThread&quot;,&quot;msg&quot;:&quot;Starting to kill user operations&quot;}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.215-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.214-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21344,   &quot;ctx&quot;:&quot;RstlKillOpThread&quot;,&quot;msg&quot;:&quot;Stopped killing user operations&quot;}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.215-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.215-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21340,   &quot;ctx&quot;:&quot;RstlKillOpThread&quot;,&quot;msg&quot;:&quot;State transition ops metrics&quot;,&quot;attr&quot;:{&quot;metrics&quot;:{&quot;lastStateTransition&quot;:&quot;stepDown&quot;,&quot;userOpsKilled&quot;:0,&quot;userOpsRunning&quot;:2}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.216-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.215-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21358,   &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;Replica set state transition&quot;,&quot;attr&quot;:{&quot;newState&quot;:&quot;SECONDARY&quot;,&quot;oldState&quot;:&quot;PRIMARY&quot;},&quot;tags&quot;:[]}&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;...&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.217-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.215-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn14&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;ismaster&quot;:1,&quot;topologyVersion&quot;:{&quot;processId&quot;:{&quot;$oid&quot;:&quot;5ecda528327743f125f915b6&quot;},&quot;counter&quot;:9},&quot;maxAwaitTimeMS&quot;:1000,&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535466,&quot;i&quot;:1}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$db&quot;:&quot;admin&quot;,&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;primary&quot;}}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.217-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.216-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;STORAGE&quot;,  &quot;id&quot;:4695101, &quot;ctx&quot;:&quot;SignalHandler&quot;,&quot;msg&quot;:&quot;hangDuringQuiesceMode failpoint enabled&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;Primary node d20020 responds to the driver with a ShutdownInProgress isMaster response immediately due to the streamable protocol:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.219-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.217-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn17&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;ismaster&quot;:1,&quot;client&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;},&quot;$db&quot;:&quot;admin&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.220-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.217-04:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;NETWORK&quot;,  &quot;id&quot;:51800,   &quot;ctx&quot;:&quot;conn17&quot;,&quot;msg&quot;:&quot;client metadata&quot;,&quot;attr&quot;:{&quot;remote&quot;:&quot;127.0.0.1:53234&quot;,&quot;client&quot;:&quot;conn17&quot;,&quot;doc&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:33.220-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:33.218-04:00&quot;},&quot;s&quot;:&quot;D1&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21962,   &quot;ctx&quot;:&quot;conn17&quot;,&quot;msg&quot;:&quot;Assertion while executing command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;ismaster&quot;,&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;ismaster&quot;:1,&quot;client&quot;:{&quot;driver&quot;:{&quot;name&quot;:&quot;PyMongo&quot;,&quot;version&quot;:&quot;3.11.0b1.dev0&quot;},&quot;os&quot;:{&quot;type&quot;:&quot;Linux&quot;,&quot;name&quot;:&quot;Linux&quot;,&quot;architecture&quot;:&quot;x86_64&quot;,&quot;version&quot;:&quot;4.13.0-46-generic&quot;},&quot;platform&quot;:&quot;CPython 3.7.0.final.0&quot;},&quot;$db&quot;:&quot;admin&quot;},&quot;error&quot;:&quot;ShutdownInProgress: The server is in quiesce mode and will shut down&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;We turn off the failpoint for the find command and return to the driver:&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:34.317-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:34.317-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21965,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;About to run the command&quot;,&quot;attr&quot;:{&quot;db&quot;:&quot;admin&quot;,&quot;commandArgs&quot;:{&quot;configureFailPoint&quot;:&quot;waitAfterCommandFinishesExecution&quot;,&quot;mode&quot;:&quot;off&quot;,&quot;lsid&quot;:{&quot;id&quot;:{&quot;$uuid&quot;:&quot;9bcf415e-eaa0-489f-8e85-5d2f0e393db7&quot;}},&quot;$clusterTime&quot;:{&quot;clusterTime&quot;:{&quot;$timestamp&quot;:{&quot;t&quot;:1590535473,&quot;i&quot;:2}},&quot;signature&quot;:{&quot;hash&quot;:{&quot;$binary&quot;:{&quot;base64&quot;:&quot;AAAAAAAAAAAAAAAAAAAAAAAAAAA=&quot;,&quot;subType&quot;:&quot;0&quot;}},&quot;keyId&quot;:0}},&quot;$readPreference&quot;:{&quot;mode&quot;:&quot;secondaryPreferred&quot;},&quot;$db&quot;:&quot;admin&quot;}}}&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;[js_test:quiesce_mode_streamable_ismaster] 2020-05-26T19:24:34.317-0400 d20020| {&quot;t&quot;:{&quot;$date&quot;:&quot;2020-05-26T19:24:34.317-04:00&quot;},&quot;s&quot;:&quot;D2&quot;, &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:21961,   &quot;ctx&quot;:&quot;conn1&quot;,&quot;msg&quot;:&quot;Admin only command&quot;,&quot;attr&quot;:{&quot;command&quot;:&quot;configureFailPoint&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;The driver does not receive an error from the find command that returns to the driver after the ShutdownInProgress isMaster response. All future reads are directed to the secondary node d20021.&lt;/p&gt;

&lt;p&gt;Example logs:  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/262589/262589_primary_quiesce_mode_streamable_ismaster_with_hanging_read.txt&quot; title=&quot;primary_quiesce_mode_streamable_ismaster_with_hanging_read.txt attached to SERVER-46967&quot;&gt;primary_quiesce_mode_streamable_ismaster_with_hanging_read.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1280854">SERVER-46964</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1280864">SERVER-46965</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="262591" name="primary_quiesce_mode_streamable_ismaster.txt" size="802380" author="jason.chan@mongodb.com" created="Wed, 27 May 2020 00:08:22 +0000"/>
                            <attachment id="262589" name="primary_quiesce_mode_streamable_ismaster_with_hanging_read.txt" size="816449" author="jason.chan@mongodb.com" created="Tue, 26 May 2020 23:43:49 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 May 2020 23:34:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 37 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-46965'>SERVER-46965</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-46964'>SERVER-46964</a></s>]]></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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1703</customfieldvalue>
                        </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>jason.chan@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 37 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jason.chan@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hx9mz3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hwxeb3:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3934">Repl 2020-06-01</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|hx998f:</customfieldvalue>

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