<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:33:33 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-54445] Compact in Secondary ReplicaSet 4.4.0 change member state</title>
                <link>https://jira.mongodb.org/browse/SERVER-54445</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have a replicaSet in version &lt;b&gt;4.4.0&lt;/b&gt; with &lt;ins&gt;1 primary and 2 secondary&lt;/ins&gt;, as per rs.conf below:&lt;/p&gt;

&lt;p&gt;_&quot;members&quot; : [&lt;br/&gt;
                {&lt;br/&gt;
                        &quot;_id&quot; : 4,&lt;br/&gt;
                        &quot;host&quot; : &quot;10.208.0.102:27017&quot;,&lt;br/&gt;
                        &quot;arbiterOnly&quot; : false,&lt;br/&gt;
                        &quot;buildIndexes&quot; : true,&lt;br/&gt;
                        &quot;hidden&quot; : false,&lt;br/&gt;
                        &quot;priority&quot; : 6,&lt;br/&gt;
                        &quot;tags&quot; : {&lt;/p&gt;

&lt;p&gt;                        },&lt;br/&gt;
                        &quot;slaveDelay&quot; : NumberLong(0),&lt;br/&gt;
                        &quot;votes&quot; : 1&lt;br/&gt;
                },&lt;br/&gt;
                {&lt;br/&gt;
                        &quot;_id&quot; : 5,&lt;br/&gt;
                        &quot;host&quot; : &quot;10.208.0.101:27017&quot;,&lt;br/&gt;
                        &quot;arbiterOnly&quot; : false,&lt;br/&gt;
                        &quot;buildIndexes&quot; : true,&lt;br/&gt;
                        &quot;hidden&quot; : false,&lt;br/&gt;
                        &quot;priority&quot; : 7,&lt;br/&gt;
                        &quot;tags&quot; : {&lt;/p&gt;

&lt;p&gt;                        },&lt;br/&gt;
                        &quot;slaveDelay&quot; : NumberLong(0),&lt;br/&gt;
                        &quot;votes&quot; : 1&lt;br/&gt;
                },&lt;br/&gt;
                {&lt;br/&gt;
                        &quot;_id&quot; : 6,&lt;br/&gt;
                        &quot;host&quot; : &quot;10.208.0.104:27017&quot;,&lt;br/&gt;
                        &quot;arbiterOnly&quot; : false,&lt;br/&gt;
                        &quot;buildIndexes&quot; : true,&lt;br/&gt;
                        &quot;hidden&quot; : false,&lt;br/&gt;
                        &quot;priority&quot; : 5,&lt;br/&gt;
                        &quot;tags&quot; : {&lt;/p&gt;

&lt;p&gt;                        },&lt;br/&gt;
                        &quot;slaveDelay&quot; : NumberLong(0),&lt;br/&gt;
                        &quot;votes&quot; : 1&lt;br/&gt;
                }&lt;br/&gt;
        ]_&lt;/p&gt;

&lt;p&gt;When executing a compact on the secondary member (.104) at 12:08, it entered maintenance mode and after that the other secondary member (.102) started to delay synchronization and we started to have unavailability in the applications that were connecting secondary instances.&lt;/p&gt;

&lt;p&gt;After some delay in replication, I stopped the service at around 12:22 and the .102 instance was back in sync with the primary. Then at 12:28 I started the .104 secondary service and everything went back to normal.&lt;/p&gt;

&lt;p&gt;Therefore, I have the following questions:&lt;/p&gt;

&lt;p&gt;1 - Why did the .104 member enter maintenance mode, and the MongoDB documentation states that in version 4.4 the compact does not change the state and can be run at any time? (&lt;a href=&quot;https://docs.mongodb.com/manual/release-notes/4.4/#compact-behavior-change&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/release-notes/4.4/#compact-behavior-change&lt;/a&gt;);&lt;/p&gt;

&lt;p&gt;2 - Even if the status of the .104 secondary member has changed, why was the secondary (.102) affected?&lt;/p&gt;

&lt;p&gt;3 - Even if the secondary .102 had the .104 member as syncSource, once it entered maintenance mode, it should change the syncSource for the primary instance, right? Because in the documentation it informs that it needs to be PRIMARY or SECONDARY (&lt;a href=&quot;https://docs.mongodb.com/manual/core/replica-set-sync/#initial-sync-source-selection&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/core/replica-set-sync/#initial-sync-source-selection&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Is it a version bug?&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

</description>
                <environment>OS:&lt;br/&gt;
18.04.4 LTS (Bionic Beaver)</environment>
        <key id="1619462">SERVER-54445</key>
            <summary>Compact in Secondary ReplicaSet 4.4.0 change member state</summary>
                <type id="6" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14720&amp;avatarType=issuetype">Question</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="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="flavioliroa@gmail.com">Flavio Liroa Jr</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Feb 2021 16:03:01 +0000</created>
                <updated>Mon, 22 Feb 2021 15:31:22 +0000</updated>
                            <resolved>Sun, 21 Feb 2021 11:01:56 +0000</resolved>
                                    <version>4.4.0</version>
                                                    <component>Build</component>
                    <component>Logging</component>
                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3626654" author="dmitry.agranat" created="Sun, 21 Feb 2021 11:01:34 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=flavioliroa%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;flavioliroa@gmail.com&quot;&gt;flavioliroa@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I already attached the compact logs in version 4.4.3&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Thanks for attaching the latest 4.4.3 logs, as expected, we can see that the compact command entered the maintenance 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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-02-05T14:15:04.562+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21350,   &quot;ctx&quot;:&quot;conn216&quot;,&quot;msg&quot;:&quot;Going into maintenance mode&quot;,&quot;attr&quot;:{&quot;otherMaintenanceModeTasksInProgress&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-02-05T14:15:04.562+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21358,   &quot;ctx&quot;:&quot;conn216&quot;,&quot;msg&quot;:&quot;Replica set state transition&quot;,&quot;attr&quot;:{&quot;newState&quot;:&quot;RECOVERING&quot;,&quot;oldState&quot;:&quot;SECONDARY&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-02-05T14:15:04.563+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:20284,   &quot;ctx&quot;:&quot;conn216&quot;,&quot;msg&quot;:&quot;Compact begin&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;broker-fulfillment-logistics.scheduleDetailsRequest&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-02-05T14:15:06.681+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;REPL&quot;,     &quot;id&quot;:21351,   &quot;ctx&quot;:&quot;conn216&quot;,&quot;msg&quot;:&quot;Leaving maintenance mode&quot;,&quot;attr&quot;:{&quot;otherMaintenanceModeTasksOngoing&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;blockquote&gt;
&lt;p&gt;It turns out that when I ran the compact I was following rs.status() and it continued as SECONDARY, so I thought it hadn&apos;t changed to RECOVERING. I believe I didn&apos;t realize it because it was too fast, right?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This is correct&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;As for the mistake you mentioned above, was that the reason then?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The above issue is being investigated in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52735&quot; title=&quot;mongodb crash with &amp;quot;Invariant failure&amp;quot; opCtx != nullptr &amp;amp;&amp;amp; _opCtx == nullptr&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52735&quot;&gt;&lt;del&gt;SERVER-52735&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If then the way the compact is made has not been changed in version 4.4, what would be the correct strategy to apply the compact to a replicaSet?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;As per our documentation:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;compact commands do not replicate to secondaries in a replica set.&lt;/li&gt;
	&lt;li&gt;Compact each member separately.&lt;/li&gt;
	&lt;li&gt;Ideally run compact on a secondary.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I will go ahead and close this ticket as the issue was identified and the documentation change was issued in &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14122&quot; title=&quot;Add clarification about compact command behavior on secondary nodes in 4.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14122&quot;&gt;&lt;del&gt;DOCS-14122&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3622688" author="JIRAUSER1258522" created="Thu, 18 Feb 2021 12:48:29 +0000"  >&lt;p&gt;Please, Dmitry.&lt;/p&gt;

&lt;p&gt;I have another question:&lt;/p&gt;

&lt;p&gt;If then the way the compact is made has not been changed in version 4.4, what would be the correct strategy to apply the compact to a replicaSet?&lt;/p&gt;
</comment>
                            <comment id="3622666" author="JIRAUSER1258522" created="Thu, 18 Feb 2021 12:38:28 +0000"  >&lt;p&gt;Dmitry, good morning!&lt;/p&gt;

&lt;p&gt;I already attached the compact logs in version &lt;b&gt;4.4.3&lt;/b&gt;. I noticed that in fact there was a change in the member&apos;s status.&lt;/p&gt;

&lt;p&gt;It turns out that when I ran the compact I was following rs.status() and it continued as SECONDARY, so I thought it hadn&apos;t changed to RECOVERING. I believe I didn&apos;t realize it because it was too fast, right?&lt;/p&gt;

&lt;p&gt;In the two cases I mentioned (.0 and .3) were there total unavailability of the cluster in the period? That is, the primary also stopped reading and writing?&lt;/p&gt;

&lt;p&gt;As for the mistake you mentioned above, was that the reason then?&lt;/p&gt;

&lt;p&gt;Hug!&lt;/p&gt;</comment>
                            <comment id="3622076" author="dmitry.agranat" created="Thu, 18 Feb 2021 10:08:20 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=flavioliroa%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;flavioliroa@gmail.com&quot;&gt;flavioliroa@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Regarding the state of events on 4.4.0, I do not think it is relevant for our investigation because after you have started the &lt;tt&gt;compact&lt;/tt&gt;, you&apos;ve hit this error (please note that I have redacted the actual collection name and it appears below as redacted.redacted):&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-02-02T12:10:18.808+00:00&quot;},&quot;s&quot;:&quot;I&quot;,  &quot;c&quot;:&quot;COMMAND&quot;,  &quot;id&quot;:20284,   &quot;ctx&quot;:&quot;conn353303&quot;,&quot;msg&quot;:&quot;Compact begin&quot;,&quot;attr&quot;:{&quot;namespace&quot;:&quot;redacted.redacted&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;{&quot;t&quot;:{&quot;$date&quot;:&quot;2021-02-02T12:10:18.819+00:00&quot;},&quot;s&quot;:&quot;F&quot;,  &quot;c&quot;:&quot;-&quot;,        &quot;id&quot;:23079,   &quot;ctx&quot;:&quot;TopologyVersionObserver&quot;,&quot;msg&quot;:&quot;Invariant failure&quot;,&quot;attr&quot;:{&quot;expr&quot;:&quot;opCtx != nullptr &amp;amp;&amp;amp; _opCtx == nullptr&quot;,&quot;file&quot;:&quot;src/mongo/db/client.cpp&quot;,&quot;line&quot;:126}}&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 above issue is being investigated in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-52735&quot; title=&quot;mongodb crash with &amp;quot;Invariant failure&amp;quot; opCtx != nullptr &amp;amp;&amp;amp; _opCtx == nullptr&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-52735&quot;&gt;&lt;del&gt;SERVER-52735&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As for 4.4.3, would you please archive (tar or zip) the full &lt;tt&gt;mongod.log&lt;/tt&gt; files from all members covering the time the &lt;tt&gt;compact&lt;/tt&gt; command was executed and the $dbpath/diagnostic.data directory and upload them to the same support uploader location?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                            <comment id="3620070" author="JIRAUSER1258522" created="Wed, 17 Feb 2021 19:51:43 +0000"  >&lt;p&gt;Dmitry, good afternoon!&lt;/p&gt;

&lt;p&gt;Is there a deadline for the response?&lt;/p&gt;</comment>
                            <comment id="3618930" author="dmitry.agranat" created="Wed, 17 Feb 2021 12:25:39 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=flavioliroa%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;flavioliroa@gmail.com&quot;&gt;flavioliroa@gmail.com&lt;/a&gt; for the latest update. We are investigating and will let you know about the findings.&lt;/p&gt;</comment>
                            <comment id="3615860" author="JIRAUSER1258522" created="Mon, 15 Feb 2021 10:57:37 +0000"  >&lt;p&gt;Hi Dmitry!&lt;/p&gt;

&lt;p&gt;Any update?&lt;/p&gt;</comment>
                            <comment id="3611725" author="JIRAUSER1258522" created="Thu, 11 Feb 2021 15:54:11 +0000"  >&lt;p&gt;To test, I ran the compact on a secondary instance of another environment with version &lt;b&gt;4.4.3&lt;/b&gt; and there was no change in the state of the member. It remained operational (SECONDARY status) &lt;b&gt;exactly as the documentation said&lt;/b&gt;, but only in this environment with 4.4.0 did this occur.&lt;br/&gt;
When you say the documentation is wrong, in what sense?&lt;/p&gt;</comment>
                            <comment id="3611570" author="dmitry.agranat" created="Thu, 11 Feb 2021 14:58:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=flavioliroa%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;flavioliroa@gmail.com&quot;&gt;flavioliroa@gmail.com&lt;/a&gt;, the documentation is incorrect, we didn&apos;t change the behavior of setting maintenance mode on secondary nodes in MongoDB 4.4. &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14122&quot; title=&quot;Add clarification about compact command behavior on secondary nodes in 4.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14122&quot;&gt;&lt;del&gt;DOCS-14122&lt;/del&gt;&lt;/a&gt; should address this inconsistency.&lt;/p&gt;</comment>
                            <comment id="3611361" author="JIRAUSER1258522" created="Thu, 11 Feb 2021 12:54:51 +0000"  >&lt;p&gt;Hello, Dmitry Agranat!&lt;/p&gt;

&lt;p&gt;About the maintenance mode during the compact, what I wanted to know is that, since the version of MongoDB is 4.4 it shouldn&apos;t happen, right? It was exactly the opposite of what the documentation says:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;Before v4.4, compact blocked all operations for the database it was compacting, including MongoDB CRUD Operations, and was therefore recommended for use only during scheduled maintenance periods. &lt;b&gt;Starting in v4.4, the compact command is appropriate for use at any time .&lt;/b&gt; &quot;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I attached the logs of the three instances during the period (log_full.zip) and await more information.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;</comment>
                            <comment id="3611104" author="dmitry.agranat" created="Thu, 11 Feb 2021 09:29:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=flavioliroa%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;flavioliroa@gmail.com&quot;&gt;flavioliroa@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;We didn&apos;t change the behavior of setting maintenance mode on secondary nodes. We should make the documentation clearer about this. We have &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14122&quot; title=&quot;Add clarification about compact command behavior on secondary nodes in 4.4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14122&quot;&gt;&lt;del&gt;DOCS-14122&lt;/del&gt;&lt;/a&gt; to clarify this behavior.&lt;/p&gt;

&lt;p&gt;As for the rest of the questions, we&apos;ll need more information to understand what has happened.&lt;/p&gt;

&lt;p&gt;Would you please archive (tar or zip) the full mongod.log files from all members covering the incident and the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;) and upload them to this &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/76e56daf-59e9-49d2-9fce-91f8a782a008.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;support uploader&lt;/a&gt; location?&lt;/p&gt;

&lt;p&gt;Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Dima&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1590147">DOCS-14122</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1537998">SERVER-52735</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="299521" name="logcompact_primary.log" size="154747" author="flavioliroa@gmail.com" created="Wed, 10 Feb 2021 16:02:46 +0000"/>
                            <attachment id="299520" name="logcompact_secondary_2.log" size="451058" author="flavioliroa@gmail.com" created="Wed, 10 Feb 2021 16:02:46 +0000"/>
                            <attachment id="299519" name="logcompact_secondary_4.log" size="24323" author="flavioliroa@gmail.com" created="Wed, 10 Feb 2021 16:02:46 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000sdMMdQAM]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 11 Feb 2021 09:29:45 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 50 weeks, 3 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 50 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>flavioliroa@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyugyv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hyfzon:</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_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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyu37z:</customfieldvalue>

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