<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:14:32 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-27230] Poor compression of diagnostic data when replica set is unhealthy</title>
                <link>https://jira.mongodb.org/browse/SERVER-27230</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Under some circumstances involving network or other cluster health issues we can see frequent diagnostic data schema changes due to &quot;lastHeartbeatMessage&quot; and &quot;syncingTo&quot; fields that disappear and reappear frequently in replica set status. In one case this was observed to result in about 5x larger compressed ftdc data (~1300 bytes per sample vs the normal ~250 bytes per sample) and therefore about 5x shorter retention period, which is unfortunate because one use case for ftdc is diagnosing the cause of an unhealthy cluster.&lt;/p&gt;

&lt;p&gt;Since the fields in question have string values they don&apos;t contribute to ftdc data so shouldn&apos;t participate in determining whether there is a schema change.&lt;/p&gt;</description>
                <environment></environment>
        <key id="335272">SERVER-27230</key>
            <summary>Poor compression of diagnostic data when replica set is unhealthy</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="vesselina.ratcheva@mongodb.com">Vesselina Ratcheva</assignee>
                                    <reporter username="bruce.lucas@mongodb.com">Bruce Lucas</reporter>
                        <labels>
                            <label>SWDI</label>
                            <label>neweng</label>
                    </labels>
                <created>Wed, 30 Nov 2016 19:50:22 +0000</created>
                <updated>Tue, 22 May 2018 05:00:19 +0000</updated>
                            <resolved>Tue, 27 Mar 2018 16:56:53 +0000</resolved>
                                    <version>3.2.11</version>
                                    <fixVersion>3.4.16</fixVersion>
                    <fixVersion>3.6.6</fixVersion>
                    <fixVersion>3.7.4</fixVersion>
                                    <component>Diagnostics</component>
                                        <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="1897890" author="xgen-internal-githook" created="Tue, 22 May 2018 04:45:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;vessy-mongodb&apos;, &apos;name&apos;: &apos;Vesselina Ratcheva&apos;, &apos;email&apos;: &apos;vesselina.ratcheva@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27230&quot; title=&quot;Poor compression of diagnostic data when replica set is unhealthy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27230&quot;&gt;&lt;del&gt;SERVER-27230&lt;/del&gt;&lt;/a&gt; Always emit string status fields in replica set status&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d01dde5b3cca80a5db8c07c6d3f029c60f3b332e)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2fd20c7ffd8c99ce6c404ec24b8e302045a30071&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2fd20c7ffd8c99ce6c404ec24b8e302045a30071&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1897870" author="xgen-internal-githook" created="Tue, 22 May 2018 04:14:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;smani87&apos;, &apos;name&apos;: &apos;Suganthi Mani&apos;, &apos;email&apos;: &apos;suganthi.mani@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27230&quot; title=&quot;Poor compression of diagnostic data when replica set is unhealthy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27230&quot;&gt;&lt;del&gt;SERVER-27230&lt;/del&gt;&lt;/a&gt; Always emit string status fields in replica set status&lt;/p&gt;

&lt;p&gt;(cherry picked from commit d01dde5b3cca80a5db8c07c6d3f029c60f3b332e)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a5dc50015eb113aecb62f22af67b40241da14e27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a5dc50015eb113aecb62f22af67b40241da14e27&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1846693" author="xgen-internal-githook" created="Tue, 27 Mar 2018 16:54:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;vesselina.ratcheva@10gen.com&apos;, &apos;name&apos;: &apos;Vesselina Ratcheva&apos;, &apos;username&apos;: &apos;vessy-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27230&quot; title=&quot;Poor compression of diagnostic data when replica set is unhealthy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27230&quot;&gt;&lt;del&gt;SERVER-27230&lt;/del&gt;&lt;/a&gt; Always emit string status fields in replica set status&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d01dde5b3cca80a5db8c07c6d3f029c60f3b332e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d01dde5b3cca80a5db8c07c6d3f029c60f3b332e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1843829" author="bruce.lucas@10gen.com" created="Fri, 23 Mar 2018 19:49:17 +0000"  >&lt;p&gt;Perfect, thanks.&lt;/p&gt;</comment>
                            <comment id="1843828" author="spencer" created="Fri, 23 Mar 2018 19:47:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bruce.lucas&quot; class=&quot;user-hover&quot; rel=&quot;bruce.lucas&quot;&gt;bruce.lucas&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33546&quot; title=&quot;Add numeric syncing field to replSetGetStatus members array&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33546&quot;&gt;&lt;del&gt;SERVER-33546&lt;/del&gt;&lt;/a&gt; will go in in a couple of weeks, but we&apos;ll make sure to backport them together.&lt;/p&gt;</comment>
                            <comment id="1841097" author="bruce.lucas@10gen.com" created="Wed, 21 Mar 2018 18:22:14 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=vesselina.ratcheva&quot; class=&quot;user-hover&quot; rel=&quot;vesselina.ratcheva&quot;&gt;vesselina.ratcheva&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=spencer&quot; class=&quot;user-hover&quot; rel=&quot;spencer&quot;&gt;spencer&lt;/a&gt;. Can we coordinate this with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33546&quot; title=&quot;Add numeric syncing field to replSetGetStatus members array&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33546&quot;&gt;&lt;del&gt;SERVER-33546&lt;/del&gt;&lt;/a&gt; (which should be an equally small code change) so that both go in (or at least both are backported) at the same time, for the reasons detailed on that ticket (basically to preserve our ability to reconstruct sync source information from ftdc data)?&lt;/p&gt;</comment>
                            <comment id="1818774" author="bruce.lucas@10gen.com" created="Wed, 28 Feb 2018 17:13:05 +0000"  >&lt;p&gt;Would it be possible to implement &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-33546&quot; title=&quot;Add numeric syncing field to replSetGetStatus members array&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-33546&quot;&gt;&lt;del&gt;SERVER-33546&lt;/del&gt;&lt;/a&gt; at the same time this is fixed? See that ticket for details about why this would be useful.&lt;/p&gt;</comment>
                            <comment id="1818751" author="bruce.lucas@10gen.com" created="Wed, 28 Feb 2018 17:02:48 +0000"  >&lt;p&gt;The same problem is observed with respect to the infoMessage fields. There may be others.&lt;/p&gt;

&lt;p&gt;If it is preferred to keep these string fields optional, I think it&apos;s a simple fix for FTDC to ignore string-valued fields when deciding whether there has been a schema change (second option above). This would have the side benefit of fixing other places in serverStatus where we may have optional string-valued fields, if there are any other such.&lt;/p&gt;
</comment>
                            <comment id="1791010" author="bruce.lucas@10gen.com" created="Wed, 31 Jan 2018 19:39:32 +0000"  >&lt;p&gt;Two possible fixes have been discussed:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Always emit the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0322da76ec976d240191b1ca8f70c2c732f9753a/src/mongo/db/repl/topology_coordinator.cpp#L2105&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;lastHeartbeatMessage&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/0322da76ec976d240191b1ca8f70c2c732f9753a/src/mongo/db/repl/topology_coordinator.cpp#L2044&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;syncingTo&lt;/a&gt; fields to make it easier to track changes to the replica set state.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fix FTDC to ignore string-valued fields when deciding whether there has been a schema change, as string-valued fields are not emitted in FTDC data.&lt;/li&gt;
&lt;/ul&gt;

</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="503613">SERVER-33546</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="321259">SERVER-26464</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    <customfieldvalue key="14340"><![CDATA[v3.4]]></customfieldvalue>
    <customfieldvalue key="13440"><![CDATA[v3.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 21 Mar 2018 17:54:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 38 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-33546'>SERVER-33546</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_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>backlog-server-pm</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 38 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>spencer@mongodb.com</customfieldvalue>
            <customfieldvalue>vesselina.ratcheva@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjpp3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht956v:</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="2064">Repl 2018-01-15</customfieldvalue>
    <customfieldvalue id="2088">Repl 2018-01-29</customfieldvalue>
    <customfieldvalue id="2146">Repl 2018-02-26</customfieldvalue>
    <customfieldvalue id="2185">Repl 2018-03-12</customfieldvalue>
    <customfieldvalue id="2186">Repl 2018-03-26</customfieldvalue>
    <customfieldvalue id="2187">Repl 2018-04-09</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|hs4nmn:</customfieldvalue>

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