<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:03 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>[CDRIVER-2379] Optimize txnNumber rewriting</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2379</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Each time we send a write command in a batch we must increment the value in its txnNumber field. I&apos;d thought it was a good idea to keep a bson_iter_t permanently located at that field and use bson_iter_overwrite_int64 to increment the number, but something was wrong with that and it had to be reverted:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/jmikola/mongo-c-driver/commit/c2dd0d4a5a69ef74adc01e2d3a0f879cf9c075f9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/jmikola/mongo-c-driver/commit/c2dd0d4a5a69ef74adc01e2d3a0f879cf9c075f9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Investigate whether it&apos;s possible to avoid re-locating the txnNumber field for each command in the batch.&lt;/p&gt;</description>
                <environment></environment>
        <key id="460208">CDRIVER-2379</key>
            <summary>Optimize txnNumber rewriting</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="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                            <label>bgtrack</label>
                    </labels>
                <created>Fri, 17 Nov 2017 08:58:06 +0000</created>
                <updated>Tue, 7 Mar 2023 11:00:52 +0000</updated>
                            <resolved>Tue, 7 Mar 2023 11:00:52 +0000</resolved>
                                                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5254925" author="JIRAUSER1269924" created="Tue, 7 Mar 2023 11:00:52 +0000"  >&lt;p&gt;Closing as per above comments.&lt;/p&gt;</comment>
                            <comment id="5251959" author="kevin.albertson" created="Mon, 6 Mar 2023 15:38:17 +0000"  >&lt;p&gt; This optimization only applies when a retry on error occurs. IMO this is not a significant enough optimization to investigate further.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="460645">CDRIVER-2386</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="460656">CDRIVER-2387</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="411288">CDRIVER-2228</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|htby3j:</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>