<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:34:42 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-33831] Expire old history from `config.chunks` entries</title>
                <link>https://jira.mongodb.org/browse/SERVER-33831</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Today we simply purge any history older than 10 seconds as the storage engine does not support snapshots older than that. As part of this ticket, we should instead use the minimum timestamp across the cluster, which is known to the config server.&lt;/p&gt;</description>
                <environment></environment>
        <key id="510095">SERVER-33831</key>
            <summary>Expire old history from `config.chunks` entries</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="13202">Works as Designed</resolution>
                                        <assignee username="backlog-server-sharding-emea">[DO NOT USE] Backlog - Sharding EMEA</assignee>
                                    <reporter username="martin.neupauer@mongodb.com">Martin Neupauer</reporter>
                        <labels>
                            <label>ShardedTxn:FutureOptimizations</label>
                            <label>ShardedTxn:GlobalSnapshot</label>
                            <label>pm-564</label>
                            <label>sharding-common-backlog</label>
                    </labels>
                <created>Mon, 12 Mar 2018 20:29:28 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:55 +0000</updated>
                            <resolved>Tue, 21 Feb 2023 16:24:05 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5217097" author="pierlauro.sciarelli" created="Tue, 21 Feb 2023 16:24:05 +0000"  >&lt;p&gt;Closing the ticket as &quot;works as designed&quot; considering that:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The &lt;tt&gt;history&lt;/tt&gt; array can only grow upon migrations&lt;br/&gt;
AND&lt;/li&gt;
	&lt;li&gt;In the commit part of migrations the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/b6639eed34d9bc40c15ccaa15ea20ec87c71c2f7/src/mongo/db/s/config/sharding_catalog_manager_chunk_operations.cpp#L1327-L1343&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;old history is pruned&lt;/a&gt;&lt;br/&gt;
AND&lt;/li&gt;
	&lt;li&gt;Keeping some &quot;old&quot; history entries does not impact user experience in any way&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="4947853" author="max.hirschhorn@10gen.com" created="Wed, 2 Nov 2022 13:33:57 +0000"  >&lt;p&gt;The behavior for when the placement history is expired from config.chunks documents changed as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48318&quot; title=&quot;Risk of StaleChunkHistory errors in sharded transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48318&quot;&gt;&lt;del&gt;SERVER-48318&lt;/del&gt;&lt;/a&gt; but I&apos;m leaving this ticket open for Sharding EMEA to evaluate whether a different policy would be more appropriate given the work being done under PM-1939.&lt;/p&gt;</comment>
                            <comment id="3098100" author="jesse" created="Wed, 20 May 2020 19:26:43 +0000"  >&lt;p&gt;On second thought, this ticket might still be open. In &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47785&quot; title=&quot;Keep minSnapshotHistoryWindowInSeconds of chunk history on config servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47785&quot;&gt;&lt;del&gt;SERVER-47785&lt;/del&gt;&lt;/a&gt;, I extended the history lifetime to min(10 seconds,&#160;minSnapshotHistoryWindowInSeconds). In&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48318&quot; title=&quot;Risk of StaleChunkHistory errors in sharded transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48318&quot;&gt;&lt;del&gt;SERVER-48318&lt;/del&gt;&lt;/a&gt; I propose incorporating transactionLifetimeLimitSeconds too. But I don&apos;t know the exact intent of this ticket, so I can&apos;t say whether it will still be worth doing.&lt;/p&gt;</comment>
                            <comment id="3094057" author="jesse" created="Mon, 18 May 2020 22:51:55 +0000"  >&lt;p&gt;This will be obviated by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-47785&quot; title=&quot;Keep minSnapshotHistoryWindowInSeconds of chunk history on config servers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-47785&quot;&gt;&lt;del&gt;SERVER-47785&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25133"><![CDATA[Sharding EMEA]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 18 May 2020 22:51:55 +0000</customfieldvalue>

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


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-3127</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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            50 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-sharding-emea</customfieldvalue>
            <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>martin.neupauer@mongodb.com</customfieldvalue>
            <customfieldvalue>max.hirschhorn@mongodb.com</customfieldvalue>
            <customfieldvalue>pierlauro.sciarelli@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htsgd3:</customfieldvalue>

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

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

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