<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:20:44 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-49759] Destruct AuthorizationManager on shutdown</title>
                <link>https://jira.mongodb.org/browse/SERVER-49759</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The AuthorizationManager is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/e8b1b9719d675882758105f116dda2e51c9c7d77/src/mongo/db/auth/auth_decorations.cpp#L48-L49&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;a service context decorator&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/4aa1a5d5d49e13d1080b1d73eb4ba79b49e1acb2/src/mongo/db/auth/authorization_manager_global.cpp#L43&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;is constructed using ConstructorActionRegisterer&lt;/a&gt; but is never destructed.&lt;/p&gt;

&lt;p&gt;The goal of this ticket is to add a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a3598c1fbad542259a48505859c97414a01708ad/src/mongo/db/service_context.h#L339&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;DestructorAction&lt;/a&gt; that destructs the AuthorizationManager on shutdown.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1415759">SERVER-49759</key>
            <summary>Destruct AuthorizationManager on shutdown</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="mark.benvenuto@mongodb.com">Mark Benvenuto</assignee>
                                    <reporter username="tommaso.tocci@mongodb.com">Tommaso Tocci</reporter>
                        <labels>
                            <label>thread-sanitizer</label>
                    </labels>
                <created>Tue, 21 Jul 2020 14:14:46 +0000</created>
                <updated>Thu, 30 Jul 2020 15:44:35 +0000</updated>
                            <resolved>Thu, 30 Jul 2020 15:44:35 +0000</resolved>
                                    <version>4.5.1</version>
                    <version>4.2.8</version>
                    <version>4.4.0-rc13</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3314002" author="mark.benvenuto" created="Thu, 30 Jul 2020 15:41:27 +0000"  >&lt;p&gt;Yes, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48490&quot; title=&quot;Destroy the ServiceContext on clean shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48490&quot;&gt;&lt;del&gt;SERVER-48490&lt;/del&gt;&lt;/a&gt; would solve this issue. I wrote clean shutdown yesterday to confirm it would fix this issue.&lt;/p&gt;</comment>
                            <comment id="3312751" author="acm" created="Wed, 29 Jul 2020 19:44:45 +0000"  >&lt;p&gt;So perhaps this should be re-closed and the BF made to block on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48490&quot; title=&quot;Destroy the ServiceContext on clean shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48490&quot;&gt;&lt;del&gt;SERVER-48490&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3312668" author="tommaso.tocci" created="Wed, 29 Jul 2020 19:10:17 +0000"  >&lt;p&gt;Yes, doing a clean shutdown and perform all the current DestructorAction should be enough to fix  BF-18230 &lt;/p&gt;</comment>
                            <comment id="3312513" author="acm" created="Wed, 29 Jul 2020 17:55:14 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.benvenuto&quot; class=&quot;user-hover&quot; rel=&quot;mark.benvenuto&quot;&gt;mark.benvenuto&lt;/a&gt; - Would fixing &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-49762&quot; title=&quot;Destroy the ServiceContext on clean shutdown in TSAN builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-49762&quot;&gt;&lt;del&gt;SERVER-49762&lt;/del&gt;&lt;/a&gt; (or &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48490&quot; title=&quot;Destroy the ServiceContext on clean shutdown&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48490&quot;&gt;&lt;del&gt;SERVER-48490&lt;/del&gt;&lt;/a&gt; if the tickets merge per my suggestion) address the issue?&lt;/p&gt;</comment>
                            <comment id="3312339" author="mark.benvenuto" created="Wed, 29 Jul 2020 16:43:59 +0000"  >&lt;p&gt;I am reopening it this issue because it is still responsible for the failures in BF-18230 because it is not destroyed on shutdown.&lt;/p&gt;</comment>
                            <comment id="3300111" author="tommaso.tocci" created="Fri, 24 Jul 2020 08:42:22 +0000"  >&lt;p&gt;The DestructorAction is actually instantiated &lt;a href=&quot;https://github.com/mongodb/mongo/blob/e8da98999ff4aa201b2805fbd4b379a9f0e807a7/src/mongo/db/auth/auth_decorations.cpp#L79&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. So no need of doing this.&lt;/p&gt;</comment>
                            <comment id="3294553" author="tommaso.tocci" created="Tue, 21 Jul 2020 15:01:01 +0000"  >&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/270717/270717_destruct_authorization_manager.diff&quot; title=&quot;destruct_authorization_manager.diff attached to SERVER-49759&quot;&gt;destruct_authorization_manager.diff&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1366638">SERVER-48490</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="270717" name="destruct_authorization_manager.diff" size="720" author="tommaso.tocci@mongodb.com" created="Tue, 21 Jul 2020 15:00:50 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</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, 29 Jul 2020 16:43:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 27 weeks, 6 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_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 27 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </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>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>tommaso.tocci@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxvw7b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxirkf:</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="4065">Security 2020-08-10</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|hxvign:</customfieldvalue>

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