<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:48:57 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-18854] Manage connected client information via a decoration on the service context</title>
                <link>https://jira.mongodb.org/browse/SERVER-18854</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;ClientBasic current caches information about the connected network client by holding an AbstractMessagingPort pointer. This pointer is accessed from a few places in the database layer, notably:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;src/mongo/db/auth/sasl_commands.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/commands/authentication_commands.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/repl/replset_commands.cpp&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This couples the database implementation to details of the network implementation. Additionally, the last instance, in the replication code, makes use of the connection tagging facility, which is currently managed by  a global &quot;Ports&quot; object instantiated inside messaging_port.cpp, which is used to implement MessagingPort::closeAllSockets.&lt;/p&gt;

&lt;p&gt;Rather than allowing the database layer direct access to the socket types and using globals to track connections, we should create a new connection management facility, and attach it to the service context. The connection management facility would be responsible for providing database Client level access to information about the network (local and remote addresses, X509 names, etc.), and for managing tagging and global actions on connected clients.&lt;/p&gt;</description>
                <environment></environment>
        <key id="208898">SERVER-18854</key>
            <summary>Manage connected client information via a decoration on the service context</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="9">Done</resolution>
                                        <assignee username="backlog-server-platform">DO NOT USE - Backlog - Platform Team</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                            <label>platforms-re-triaged</label>
                    </labels>
                <created>Sat, 6 Jun 2015 12:28:14 +0000</created>
                <updated>Mon, 24 Jul 2017 17:28:46 +0000</updated>
                            <resolved>Mon, 24 Jul 2017 17:28:46 +0000</resolved>
                                                                    <component>Networking</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1630233" author="acm" created="Mon, 24 Jul 2017 17:28:46 +0000"  >&lt;p&gt;The work to introduce the TransportLayer has achieved the aims of this ticket.&lt;/p&gt;</comment>
                            <comment id="954896" author="acm" created="Tue, 30 Jun 2015 18:57:39 +0000"  >&lt;p&gt;This was a pre-req to database worker threads, which we have cut from 3.2. Kicking out to 3.3 Required.&lt;/p&gt;</comment>
                            <comment id="933377" author="acm" created="Sat, 6 Jun 2015 13:02:01 +0000"  >&lt;p&gt;Additionally, the following files use functions like ClientBasic::getIsLocalHostConnection or Client::clientAddress, which are implemented in terms of the AbstractMessagingPort that is currently held by ClientBasic.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;src/mongo/db/auth/authz_session_external_state_server_common.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/commands.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/clientlistplugin.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/commands/writeback_compatibility_shim.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/dbcommands.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/introspect.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/db/repl/replication_coordinator_external_state_impl.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/s/catalog/legacy/catalog_manager_legacy.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/s/d_state.cpp&lt;/li&gt;
	&lt;li&gt;src/mongo/s/commands/cluster_whats_my_uri_cmd.cpp&lt;/li&gt;
&lt;/ul&gt;

</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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_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_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 29 weeks, 2 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-719</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>andrew.morrow@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 29 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-platform</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrl3wn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrah4n:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="567">Platform 5 06/26/16</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|hsfymf:</customfieldvalue>

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