<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:23:21 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>[DRIVERS-1409] Add CommandStartedEvent to CommandSucceedEvent/CommandFailedEvent</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-1409</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Original ticket:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1761&quot; title=&quot;CommandFinishedEvent have not db name property&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1761&quot;&gt;&lt;del&gt;GODRIVER-1761&lt;/del&gt;&lt;/a&gt; requests that a databaseName property be added to CommandFailedEvent because storing the corresponding CommandStartedEvent and then retrieving it via the requestId field requires keeping a thread-safe map and the user says that this hurts their performance in highly concurrent applications.&lt;/p&gt;

&lt;p&gt;Instead of duplicating fields like this across all three event types, would it be feasible to store a reference to the CommandStartedEvent in both CommandSucceedEvent and CommandFailedEvent? It would solve this specific issue and would also present a simpler API for users that only want to loop at a started/finished pair because they could register handlers for succeeded/failed and not have to register one for started.&lt;/p&gt;

&lt;p&gt;Summary of discussion:&lt;br/&gt;
We will update the spec to state that drivers may store a CommandStartedEvent in a CommandSucceededEvent/CommandFailedEvent as an implementation detail if it makes sense for them.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1505880">DRIVERS-1409</key>
            <summary>Add CommandStartedEvent to CommandSucceedEvent/CommandFailedEvent</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="-1">Unassigned</assignee>
                                    <reporter username="divjot.arora@mongodb.com">Divjot Arora</reporter>
                        <labels>
                            <label>leads-triage</label>
                    </labels>
                <created>Wed, 7 Oct 2020 18:11:18 +0000</created>
                <updated>Fri, 7 Apr 2023 18:03:33 +0000</updated>
                            <resolved>Tue, 27 Sep 2022 19:13:37 +0000</resolved>
                                                        <component>Command Logging and Monitoring</component>
                                        <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="4859695" author="JIRAUSER1268808" created="Tue, 27 Sep 2022 19:13:37 +0000"  >&lt;p&gt;After triage discussion, it was decided to create a new ticket for this work and make the work specific to databaseName only. Please track over in the next ticket: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2452&quot; title=&quot;Add databaseName property to command events&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2452&quot;&gt;DRIVERS-2452&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3439951" author="divjot.arora" created="Mon, 12 Oct 2020 17:11:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaitlin.mahar&quot; class=&quot;user-hover&quot; rel=&quot;kaitlin.mahar&quot;&gt;kaitlin.mahar&lt;/a&gt;&#160;I&apos;d be fine with adding databaseName to CommandFinishedEvent but I like Jeff&apos;s idea of embedding the full CommandStartedEvent in CommandSucceeded/Finished events as an implementation strategy for drivers that can efficiently do so. Maybe that could be called out as an acceptable alternative API in the spec?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2289239">DRIVERS-2575</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1496920">GODRIVER-1761</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2145543">GODRIVER-2558</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2146402">DRIVERS-2452</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                            <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxxkyn:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>