<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:45:40 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-58869] RS secondary node correct state during compaction</title>
                <link>https://jira.mongodb.org/browse/SERVER-58869</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Hi there, I have some questions about compaction procedure on v4.4.&lt;br/&gt;
As it&apos;s mentioned here &lt;a href=&quot;https://docs.mongodb.com/v4.4/reference/command/compact/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/v4.4/reference/command/compact/&lt;/a&gt;&#160;&lt;br/&gt;
&quot;Starting in v4.4,&#160;&lt;a href=&quot;https://docs.mongodb.com/v4.4/reference/command/compact/#mongodb-dbcommand-dbcmd.compact&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;compact&lt;/tt&gt;&lt;/a&gt;&#160;does not change the run state of the secondary, and clients may continue to read from the secondary during the compaction operation.&quot;, so we expected the same behavior during our compaction procedure running on&#160;v4.4.4.&lt;br/&gt;
But our secondary did change its state to RECOVERING.&lt;/p&gt;

&lt;p&gt;Just to clarify behavior I decided to double-check all the compaction-related tasks and stumbled upon this one - &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54445&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-54445&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Quote - &quot;We didn&apos;t change the behavior of setting maintenance mode on secondary nodes. We should make the documentation clearer about this. We have&#160;&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;&#160;to clarify this behavior.&quot;, but&#160;there are no updates since February 2021.&lt;/p&gt;

&lt;p&gt;So what&apos;s the right behavior for secondary nodes of the RS during compaction?&lt;br/&gt;
Are you planning to implement seamless compaction, so secondaries would stay secondaries during operation, or it&apos;s just documentation lack and the current recovery-switching behavior is correct?&lt;/p&gt;</description>
                <environment></environment>
        <key id="1831941">SERVER-58869</key>
            <summary>RS secondary node correct state during compaction</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="13204">Community Answered</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="haltandcatchfire91@gmail.com">Basil Markov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Jul 2021 08:58:04 +0000</created>
                <updated>Fri, 27 Oct 2023 15:56:27 +0000</updated>
                            <resolved>Wed, 28 Jul 2021 11:32:06 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3967594" author="dmitry.agranat" created="Wed, 28 Jul 2021 11:31:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=haltandcatchfire91%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;haltandcatchfire91@gmail.com&quot;&gt;haltandcatchfire91@gmail.com&lt;/a&gt;, as stated in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54445&quot; title=&quot;Compact in Secondary ReplicaSet 4.4.0 change member state&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54445&quot;&gt;&lt;del&gt;SERVER-54445&lt;/del&gt;&lt;/a&gt;, we didn&apos;t change the behavior of setting maintenance mode on secondary nodes in 4.4 so it should be the same as it was before 4.4. To be more specific, both before and after 4.4, compact forces the secondary to enter RECOVERING state during its execution. &lt;/p&gt;

&lt;p&gt;I will ask our Documentation team to speed up the resolution of &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>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1590147">DOCS-14122</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 28 Jul 2021 11:31:45 +0000</customfieldvalue>

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


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 28 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>haltandcatchfire91@gmail.com</customfieldvalue>
            <customfieldvalue>dmitry.agranat@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzuhb3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzeqrj:</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|hzu3k7:</customfieldvalue>

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