<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:28 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-431] Allow getting hint for node from failed bulk write operations</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-431</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The PHP prototype is currently using &lt;tt&gt;mongoc_bulk_operation_execute()&lt;/tt&gt; exclusively for write operations. This function returns an integer hint for the node servicing the write on success; however, no hint is returned if an error occurs. That&apos;s fine for client-side errors such as empty batches, but I think it&apos;d be helpful to report the hint for server-side errors.&lt;/p&gt;

&lt;p&gt;I understand we can&apos;t change the function signature, but can the hint be made accessible on the reply bson_t without breaking BC? Alternatively, is there another way that I can extract the hint immediately after an unsuccessful call to &lt;tt&gt;mongoc_bulk_operation_execute()&lt;/tt&gt; (perhaps something similar to how &lt;tt&gt;mongoc_collection_get_last_error()&lt;/tt&gt; works)?&lt;/p&gt;</description>
                <environment></environment>
        <key id="160329">CDRIVER-431</key>
            <summary>Allow getting hint for node from failed bulk write operations</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="9">Done</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Sep 2014 22:06:11 +0000</created>
                <updated>Wed, 10 Aug 2016 22:10:58 +0000</updated>
                            <resolved>Tue, 23 Feb 2016 16:41:28 +0000</resolved>
                                    <version>1.0.0</version>
                                    <fixVersion>1.4.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1181980" author="xgen-internal-githook" created="Tue, 23 Feb 2016 16:41:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-431&quot; title=&quot;Allow getting hint for node from failed bulk write operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-431&quot;&gt;&lt;del&gt;CDRIVER-431&lt;/del&gt;&lt;/a&gt; mongoc_bulk_operation_get_hint&lt;/p&gt;

&lt;p&gt;Also document mongoc_bulk_operation_set_hint.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f90014490ff752aa3a4223857d11a6ecda1ea9e8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f90014490ff752aa3a4223857d11a6ecda1ea9e8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1007344" author="jesse" created="Mon, 17 Aug 2015 18:06:34 +0000"  >&lt;p&gt;Let&apos;s put the info into the &quot;reply&quot; bson_t where all the other stats like &quot;nInserted&quot; go.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="161076">PHPC-66</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-1062</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hshs87:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1138</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="918">C Driver 2016 sprint 3</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>