<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:36:58 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-1715] Incorrect Upserted count in BulkWriteResult</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1715</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Getting wrong upserted count when high number of model is bulk upserted.&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;&lt;b&gt;Steps to replicate:&lt;/b&gt;&lt;/ins&gt;&lt;/p&gt;

&lt;p&gt;Try to bulk upsert n no models using.&lt;/p&gt;

&lt;p&gt;if &lt;b&gt;n &amp;lt;= 100000&lt;/b&gt; results is &lt;b&gt;n&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;if &lt;b&gt;n &amp;gt; 100000&lt;/b&gt; result is &lt;b&gt;(n % 100000)&lt;/b&gt;&lt;/p&gt;</description>
                <environment>software platform </environment>
        <key id="1441107">GODRIVER-1715</key>
            <summary>Incorrect Upserted count in BulkWriteResult</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="isabella.siu@mongodb.com">Isabella Siu</assignee>
                                    <reporter username="ankushgoyal030@gmail.com">Ankush Goyal</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Aug 2020 15:59:35 +0000</created>
                <updated>Sat, 28 Oct 2023 11:38:04 +0000</updated>
                            <resolved>Tue, 6 Oct 2020 19:48:51 +0000</resolved>
                                    <version>1.4.0</version>
                    <version>1.3.4</version>
                                    <fixVersion>1.4.2</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3429286" author="xgen-internal-githook" created="Tue, 6 Oct 2020 19:48:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Isabella Siu&apos;, &apos;email&apos;: &apos;isabella.siu@mongodb.com&apos;, &apos;username&apos;: &apos;iwysiu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1715&quot; title=&quot;Incorrect Upserted count in BulkWriteResult&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1715&quot;&gt;&lt;del&gt;GODRIVER-1715&lt;/del&gt;&lt;/a&gt; sum up results from batches (#506)&lt;br/&gt;
Branch: release/1.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/d74074499dda030ce2708c77d99caab8bc30840b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/d74074499dda030ce2708c77d99caab8bc30840b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3429277" author="xgen-internal-githook" created="Tue, 6 Oct 2020 19:46:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Isabella Siu&apos;, &apos;email&apos;: &apos;isabella.siu@mongodb.com&apos;, &apos;username&apos;: &apos;iwysiu&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-1715&quot; title=&quot;Incorrect Upserted count in BulkWriteResult&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-1715&quot;&gt;&lt;del&gt;GODRIVER-1715&lt;/del&gt;&lt;/a&gt; sum up results from batches (#506)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/90a0db4834452f0d85433bfef1a1799318384cec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/90a0db4834452f0d85433bfef1a1799318384cec&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3362127" author="divjot.arora" created="Thu, 27 Aug 2020 14:34:01 +0000"  >&lt;p&gt;Community PR: &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/490&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/490&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3357016" author="JIRAUSER1255486" created="Tue, 25 Aug 2020 09:15:31 +0000"  >&lt;p&gt;Hi @Divjot Arora,&lt;/p&gt;

&lt;p&gt;Thanks. I have sent the &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/490/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;PR&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;-&#160; Ankush&lt;/p&gt;</comment>
                            <comment id="3356215" author="divjot.arora" created="Mon, 24 Aug 2020 19:59:35 +0000"  >&lt;p&gt;There aren&apos;t really any branch-naming guidelines or anything like that. You probably don&apos;t have permissions to create new branches on the mongo-go-driver project. Can you fork the project, push the branch to your fork, and create a pull request from there? That should not require any permissions.&lt;/p&gt;

&lt;p&gt;&amp;#8211; Divjot&lt;/p&gt;</comment>
                            <comment id="3356211" author="JIRAUSER1255486" created="Mon, 24 Aug 2020 19:57:14 +0000"  >&lt;p&gt;Hi @Divjot Arora,&lt;/p&gt;

&lt;p&gt;&#160; I don&apos;t have permission to commit or push a new branch to the mongo-go-driver repo (may be because I am contributing first time to the project).&lt;/p&gt;

&lt;p&gt;&#160;I have the code change ready with me. If you have some documentation or steps that the community follows can you please direct me to it (for example - any branch naming guidelines etc).&lt;/p&gt;

&lt;p&gt;-&#160; Ankush&lt;/p&gt;</comment>
                            <comment id="3354920" author="divjot.arora" created="Mon, 24 Aug 2020 13:18:54 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ankushgoyal030%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;ankushgoyal030@gmail.com&quot;&gt;ankushgoyal030@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;If you have a pull request with a proposed fix, you can submit it to the mongodb/mongo-go-driver repo and we&apos;ll add reviewers as necessary. Nothing extra needed on your end.&lt;/p&gt;

&lt;p&gt;&amp;#8211; Divjot&lt;/p&gt;</comment>
                            <comment id="3354241" author="JIRAUSER1255486" created="Mon, 24 Aug 2020 07:01:41 +0000"  >&lt;p&gt;Should I create a pull request and submit the fix or do I need to discuss with some one one from mongo golang developer team&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="273786" name="Screenshot from 2020-08-13 21-23-14.png" size="285454" author="ankushgoyal030@gmail.com" created="Thu, 13 Aug 2020 15:53:44 +0000"/>
                            <attachment id="273787" name="main.go" size="1302" author="ankushgoyal030@gmail.com" created="Thu, 13 Aug 2020 15:53:07 +0000"/>
                    </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|hxmx27:</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>