<!-- 
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-482] Separate command.Command into command.Read and command.Write</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-482</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently &lt;tt&gt;command.Command&lt;/tt&gt; is used as the base level command to send to a server. During the implementation of &lt;tt&gt;OP_MSG&lt;/tt&gt;&#160;additional properties were added to &lt;tt&gt;command.Command&lt;/tt&gt; that make it much more difficult to use, mainly the &lt;tt&gt;Acknowledged&lt;/tt&gt; property which should default to true.&lt;/p&gt;

&lt;p&gt;Additionally, the &lt;tt&gt;command&lt;/tt&gt; package will eventually be used as a proxy or server implementation, which means it needs to be able to decode driver requests. The current &lt;tt&gt;command.Command&lt;/tt&gt; can handle this but has no path to transform into another command type, such as &lt;tt&gt;command.Insert&lt;/tt&gt;. When the proxy and server components of the networking library are created, there will be a need for a new type that can handle this decode path.&lt;/p&gt;

&lt;p&gt;To enable a more usable &lt;tt&gt;command&lt;/tt&gt; package and to make space for the networking library improvement split &lt;tt&gt;command.Command&lt;/tt&gt; into &lt;tt&gt;command.Read&lt;/tt&gt; and &lt;tt&gt;command.Write&lt;/tt&gt;. The &lt;tt&gt;command.Read&lt;/tt&gt; type will take the &lt;tt&gt;*readpref.ReadPref&lt;/tt&gt; property from &lt;tt&gt;command.Command&lt;/tt&gt; and the &lt;tt&gt;command.Write&lt;/tt&gt; type will have a &lt;tt&gt;*writeconcern.WriteConcern&lt;/tt&gt; property.&lt;/p&gt;

&lt;p&gt;Further, the &lt;tt&gt;mongo&lt;/tt&gt; package should handle extracting the &lt;tt&gt;*writeconcern.WriteConcern&lt;/tt&gt; option and the &lt;tt&gt;*readpref.ReadPref&lt;/tt&gt; and attaching them to the correct &lt;tt&gt;command&lt;/tt&gt; type.&lt;/p&gt;

&lt;p&gt;In the future, when the networking library&apos;s proxy and server components are being developed, the &lt;tt&gt;command.Command&lt;/tt&gt; type can be recreated to handle the functionality described above.&lt;/p&gt;</description>
                <environment></environment>
        <key id="566881">GODRIVER-482</key>
            <summary>Separate command.Command into command.Read and command.Write</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:08:46 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:31 +0000</updated>
                            <resolved>Mon, 9 Jul 2018 20:30:13 +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="1942404" author="roland.fong" created="Mon, 9 Jul 2018 20:30:13 +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="1942380" author="xgen-internal-githook" created="Mon, 9 Jul 2018 20:09:15 +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>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="566886">GODRIVER-483</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="411196">GODRIVER-52</issuekey>
        </issuelink>
            <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|htslp3:</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>