<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:18 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>[GODRIVER-483] Push down handling of Unacknowledged writes</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-483</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently the &lt;tt&gt;dispatch&lt;/tt&gt; package handles unacknowledged writes. With the changes in &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-482&quot; title=&quot;Separate command.Command into command.Read and command.Write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-482&quot;&gt;&lt;del&gt;GODRIVER-482&lt;/del&gt;&lt;/a&gt;, the &lt;tt&gt;dispatch&lt;/tt&gt; package will no longer need to handle this, as the commands themselves have all the required information. Additionally, implementing &lt;tt&gt;OP_MSG&lt;/tt&gt; means that it is no longer guaranteed that a request will have a response. Since it isn&apos;t known whether &lt;tt&gt;OP_MSG&lt;/tt&gt; or &lt;tt&gt;OP_QUERY&lt;/tt&gt; will be used until the command itself is encoded, the command needs to handle not reading a response from an &lt;tt&gt;OP_MSG&lt;/tt&gt; with the &lt;tt&gt;moreToCome&lt;/tt&gt; bit set.&lt;/p&gt;

&lt;p&gt;To fix these issues, remove the acknowledged/unacknowledged functionality from the &lt;tt&gt;dispatch&lt;/tt&gt; package&apos;s functions and instead alter &lt;tt&gt;command.Write&lt;/tt&gt;&apos;s &lt;tt&gt;RoundTrip&lt;/tt&gt; method to determine if an unacknowledged write is being sent and if &lt;tt&gt;OP_MSG&lt;/tt&gt; is used, return &lt;tt&gt;ErrUnacknowledgedWrite&lt;/tt&gt; and if &lt;tt&gt;OP_QUERY&lt;/tt&gt; is used, handle the round trip in a goroutine, including reading the &lt;tt&gt;OP_REPLY&lt;/tt&gt; and throwing it away, and immediately return &lt;tt&gt;ErrUnacknowledgedWrite&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="566886">GODRIVER-483</key>
            <summary>Push down handling of Unacknowledged writes</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="13201">Fixed</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="kris.brandow@mongodb.com">Kristofer Brandow</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Jul 2018 22:17:47 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:31 +0000</updated>
                            <resolved>Mon, 9 Jul 2018 20:30:25 +0000</resolved>
                                    <version>0.0.8</version>
                                    <fixVersion>0.0.9</fixVersion>
                                    <component>Command &amp;amp; Dispatch</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1942405" author="roland.fong" created="Mon, 9 Jul 2018 20:30:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/416425&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/416425&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1942381" author="xgen-internal-githook" created="Mon, 9 Jul 2018 20:09:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;divjotarora&apos;, &apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;}
&lt;p&gt;Message: Implement the OP_MSG specification.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-54&quot; title=&quot;OP_MSG support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-54&quot;&gt;&lt;del&gt;GODRIVER-54&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-482&quot; title=&quot;Separate command.Command into command.Read and command.Write&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-482&quot;&gt;&lt;del&gt;GODRIVER-482&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-483&quot; title=&quot;Push down handling of Unacknowledged writes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-483&quot;&gt;&lt;del&gt;GODRIVER-483&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Change-Id: Ida787c1005d17f0a8bae5993cbc5e72665e8daae&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/88e57ff579da3574564a9edcccdb6278cc32ce25&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/88e57ff579da3574564a9edcccdb6278cc32ce25&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="566881">GODRIVER-482</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="411198">GODRIVER-54</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|htslqv:</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>