<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:09:04 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-301] Inconvenient destruction of mongoc_gridfs_file_t</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-301</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The problem is that after getting stream from mongoc_gridfs_file_t, it&apos;s impossible to destroy only stream, since during stream destruction gridfs_file is also destroyed. So it&apos;s causes at least to problems.&lt;/p&gt;

&lt;p&gt;1. In order to destroy gridfs_file you should know if stream was already opened and call mongoc_stream_destroy otherwise call mongoc_gridfs_file_destroy.&lt;br/&gt;
2. It&apos;s impossible to reuse gridfs_file, because it&apos;s destroyed with stream.&lt;/p&gt;</description>
                <environment></environment>
        <key id="122538">CDRIVER-301</key>
            <summary>Inconvenient destruction of mongoc_gridfs_file_t</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="9">Done</resolution>
                                        <assignee username="christian.hergert@10gen.com">Christian Hergert</assignee>
                                    <reporter username="spir">Vahe Sahakyan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Mar 2014 10:27:52 +0000</created>
                <updated>Wed, 3 May 2017 22:15:19 +0000</updated>
                            <resolved>Tue, 20 May 2014 07:17:49 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="589903" author="christian.hergert@10gen.com" created="Tue, 20 May 2014 07:17:39 +0000"  >&lt;p&gt;I pushed a fix for this to master. Better to fix this now before we start locking down ABI.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/07dde6c98463923c795f98623e256bf592b470a9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/07dde6c98463923c795f98623e256bf592b470a9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="589898" author="christian.hergert@10gen.com" created="Tue, 20 May 2014 07:09:35 +0000"  >&lt;p&gt;I actually don&apos;t like this either, it feels inconsistent with the rest of the API. I&apos;ll take a look this week.&lt;/p&gt;</comment>
                    </comments>
                    <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|hrwuo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>105705</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>