<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:51 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>[JAVA-2295] Buffer size used by GridFSBucket.downloadToAsyncOutputStream should be configurable</title>
                <link>https://jira.mongodb.org/browse/JAVA-2295</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The current implementation uses a 4MB buffer to perform the read.  It would be nice if this were configurable via an option as is the case in the rest of the API (you can control chunk size, batch size, and read/write buffer sizes on other methods).&lt;/p&gt;</description>
                <environment></environment>
        <key id="313862">JAVA-2295</key>
            <summary>Buffer size used by GridFSBucket.downloadToAsyncOutputStream should be configurable</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="smfitts@gmail.com">Sean Fitts</reporter>
                        <labels>
                    </labels>
                <created>Fri, 2 Sep 2016 22:26:10 +0000</created>
                <updated>Wed, 8 Jan 2020 09:37:37 +0000</updated>
                            <resolved>Wed, 8 Jan 2020 09:37:37 +0000</resolved>
                                    <version>3.3.0</version>
                                                    <component>GridFS</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2711436" author="xgen-internal-githook" created="Wed, 8 Jan 2020 09:37:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;, &apos;username&apos;: &apos;rozza&apos;}
&lt;p&gt;Message: Remove unused AsyncGridFS code&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2295&quot; title=&quot;Buffer size used by GridFSBucket.downloadToAsyncOutputStream should be configurable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2295&quot;&gt;&lt;del&gt;JAVA-2295&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d3a73531fda7d141174f794c654522128de02384&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d3a73531fda7d141174f794c654522128de02384&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2709598" author="ross@10gen.com" created="Tue, 7 Jan 2020 15:31:56 +0000"  >&lt;p&gt;I did find some code that can now be removed in 4.0:&lt;/p&gt;

&lt;p&gt;PR: &lt;a href=&quot;https://github.com/rozza/mongo-java-driver/pull/347&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/rozza/mongo-java-driver/pull/347&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2709596" author="ross@10gen.com" created="Tue, 7 Jan 2020 15:31:26 +0000"  >&lt;p&gt;This is no longer an issue as in 4.0 the driver has moved away from the hard to use AsyncInputStream &amp;amp; AsyncOutputStream implementations in favour of a ByteBuffer publisher API.  With the new reactive streams API buffer size can be configured directly on the Publisher.&lt;/p&gt;</comment>
                            <comment id="1376770" author="smfitts@gmail.com" created="Mon, 5 Sep 2016 17:08:39 +0000"  >&lt;p&gt;More a general observation that it should be configurable (pretty much everything else is) &amp;#8211; though the 4MB size does raise concerns for high volume use.&lt;/p&gt;</comment>
                            <comment id="1376618" author="ross@10gen.com" created="Mon, 5 Sep 2016 11:27:07 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=smfitts%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;smfitts@gmail.com&quot;&gt;smfitts@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the ticket. The API follows the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.rst#file-download&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;GridFS Specification&lt;/a&gt; and there is no set options for this scenario.   Is the current default causing an issue or is it more of a general observation / desire that it should be configurable?&lt;/p&gt;

&lt;p&gt;Ross&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|hr7m7j:</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>