<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:06:05 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-44474] Ensure config.sessions collection can be safely managed independent of ttlMonitorEnabled setting</title>
                <link>https://jira.mongodb.org/browse/SERVER-44474</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently, server-side session management has a dependency on a TTL index in the config.sessions collection. Is it possible to ensure users can safely set ttlMonitorEnabled=false without affecting session management?&lt;/p&gt;</description>
                <environment></environment>
        <key id="992619">SERVER-44474</key>
            <summary>Ensure config.sessions collection can be safely managed independent of ttlMonitorEnabled setting</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="eric.sedor@mongodb.com">Eric Sedor</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Nov 2019 17:28:48 +0000</created>
                <updated>Tue, 6 Dec 2022 02:42:57 +0000</updated>
                            <resolved>Mon, 1 Feb 2021 19:18:10 +0000</resolved>
                                    <version>4.0.13</version>
                    <version>4.2.1</version>
                                                    <component>TTL</component>
                                        <votes>0</votes>
                                    <watches>22</watches>
                                                                                                                <comments>
                            <comment id="3260976" author="milkie" created="Wed, 1 Jul 2020 13:11:56 +0000"  >&lt;p&gt;I filed &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13741&quot; title=&quot;Augment ttlMonitorEnabled server parameter docs to make it internal-use only&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13741&quot;&gt;&lt;del&gt;DOCS-13741&lt;/del&gt;&lt;/a&gt; to change the documentation to avoid future routine use of ttlMonitorEnabled.  The functionality of disabling TTL deletes must remain accessible from outside the server to support certain procedures like backup, but should otherwise not be used routinely to reduce load on a server.  We&apos;d like to improve the performance of deletes instead, for such use cases.&lt;/p&gt;</comment>
                            <comment id="3095685" author="daniel.gottlieb@10gen.com" created="Tue, 19 May 2020 17:54:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=john.morales&quot; class=&quot;user-hover&quot; rel=&quot;john.morales&quot;&gt;john.morales&lt;/a&gt; did you find whether this would impact backup or automation?&lt;/p&gt;</comment>
                            <comment id="3095540" author="matthew.saltz" created="Tue, 19 May 2020 17:00:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.gottlieb&quot; class=&quot;user-hover&quot; rel=&quot;daniel.gottlieb&quot;&gt;daniel.gottlieb&lt;/a&gt; Have you heard anything from Backup? &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eric.sedor&quot; class=&quot;user-hover&quot; rel=&quot;eric.sedor&quot;&gt;eric.sedor&lt;/a&gt; Any thoughts on whether/how far this needs to be backported?&lt;/p&gt;</comment>
                            <comment id="3081782" author="daniel.gottlieb@10gen.com" created="Tue, 12 May 2020 19:43:41 +0000"  >&lt;p&gt;I know HEAD based backups (v4.0 and earlier?) disable the ttl thread. I can&apos;t recall if that was because there was a time where bringing up a replica set in standalone would let the TTL run wild (still the case?), or some other reason. Looping in Backup (with a message because at-mentions aren&apos;t loading the right people).&lt;/p&gt;

&lt;p&gt;How far back did we want to backport this?&lt;/p&gt;</comment>
                            <comment id="2607011" author="sheeri.cabral" created="Fri, 13 Dec 2019 16:20:21 +0000"  >&lt;p&gt;Hi Kelsey,&lt;/p&gt;


&lt;p&gt;I agree that we should not recommend turning off ttlMonitorEnabled while the config.sessions table is coupled to standard TTL indexes. I did a bit of searching to figure out why people would use this; seems that it&apos;s been suggested that the monitor running every minute could cause additional load. It&apos;s unclear if there&apos;s additional load when there are no TTL indexes.&#160;&lt;/p&gt;

&lt;p&gt;I&apos;d prefer to decouple so that config.sessions pares down entries regardless of the status of ttlMonitorEnabled. I do think it&apos;s important that people be able to disable TTL monitoring - there is a use cases where the monitoring is disabled during peak times, and another to disable it while doing a point-in-time recovery. Looping &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alyson.cabral&quot; class=&quot;user-hover&quot; rel=&quot;alyson.cabral&quot;&gt;alyson.cabral&lt;/a&gt; in as well, as I think this needs higher visibility.&lt;/p&gt;</comment>
                            <comment id="2589859" author="thomas.schubert" created="Fri, 6 Dec 2019 16:20:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ratika.gandhi&quot; class=&quot;user-hover&quot; rel=&quot;ratika.gandhi&quot;&gt;ratika.gandhi&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sheeri.cabral&quot; class=&quot;user-hover&quot; rel=&quot;sheeri.cabral&quot;&gt;sheeri.cabral&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=brian.lane&quot; class=&quot;user-hover&quot; rel=&quot;brian.lane&quot;&gt;brian.lane&lt;/a&gt;, I feel like this is a foot-gun that makes it impossible to recommend turning off ttlMonitorEnabled. We should have a plan for how to address this issue, and I&apos;m struggling to see how part of that plan wouldn&apos;t include a server code change given that the coupling of TTL and config.sessions means ttlMonitorEnabled=false can lead almost directly to downtime.&lt;/p&gt;

&lt;p&gt;I&apos;d like to keep this ticket open until we have a plan to address this issue.&lt;/p&gt;</comment>
                            <comment id="2589836" author="bruce.lucas@10gen.com" created="Fri, 6 Dec 2019 16:12:14 +0000"  >&lt;p&gt;Alternatively, do we need to remove, deprecate, or ban under certain conditions turning off ttl monitoring?&lt;/p&gt;

&lt;p&gt;Or would it be possible to change the implementation of ttlMonitoringEnabled so that it does not disable the ttl monitoring thread but only bypasses all but config.system.sessions?&lt;/p&gt;</comment>
                            <comment id="2589774" author="josef.ahmad" created="Fri, 6 Dec 2019 15:54:33 +0000"  >&lt;p&gt;Is there a DOCS to document the caveat (logical sessions reaping) when turning off&#160;ttlMonitorEnabled?&lt;/p&gt;</comment>
                            <comment id="2589758" author="ratika.gandhi" created="Fri, 6 Dec 2019 15:48:35 +0000"  >&lt;p&gt;Unfortunately, this is not feasible.&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1396145">DOCS-13741</issuekey>
        </issuelink>
                            </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>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000gfDuQQAU, 5002K00000npeQtQAI, 5002K00000oalJKQAY, 5002K00000nBiOMQA0]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 6 Dec 2019 15:48:35 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 32 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 32 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>josef.ahmad@mongodb.com</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>matthew.saltz@mongodb.com</customfieldvalue>
            <customfieldvalue>ratika.gandhi@mongodb.com</customfieldvalue>
            <customfieldvalue>sheeri.cabral</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw11of:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr42s7:</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="3841">Sharding 2020-05-04</customfieldvalue>
    <customfieldvalue id="3842">Sharding 2020-05-18</customfieldvalue>
    <customfieldvalue id="3955">Sharding 2020-06-01</customfieldvalue>
    <customfieldvalue id="3956">Sharding 2020-06-15</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|hw0nxr:</customfieldvalue>

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