<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11:02 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-927] libbson streaming writer docs are unclear, perhaps misleading</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-927</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I&apos;m trying to use libbson&apos;s streaming interface to write a sequence of records as described in &lt;a href=&quot;http://stackoverflow.com/questions/33025818/how-to-use-libbson-streaming-writer-t-interface-to-write-bson-with-list-of-recor&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this StackOverflow question&lt;/a&gt;.  The streaming docs say the following:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Libbson provides mechanisms to stream BSON documents to and from file-descriptors. This can be convenient if you want to do stream oriented processing.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I do see that the reader interface, via &lt;tt&gt;bson_reader_new_from_file&lt;/tt&gt;, does allow for reading from a file, but I see no similar interface for writing to a file as the docs suggest.&lt;/p&gt;

&lt;p&gt;My code sample in the SO question shows some working code for writing from the &lt;tt&gt;bson_writer_t&lt;/tt&gt;&apos;s buffer, but when dealing with an arbitrary number of sub-documents, this would mean I&apos;d have to use one writer for the entire parent document, meaning the buffer can grow arbitrarily large and undermine the whole point of streaming.&lt;/p&gt;

&lt;p&gt;Are there plans to add file writing support directly to the &lt;tt&gt;bson_writer&lt;/tt&gt; interface as the docs seem to indicate, and if so, would this kind of incremental writing of documents be supported?  This seems like a basic requirement for anyone who wants to emit larger documents with nested sub-documents.&lt;/p&gt;</description>
                <environment></environment>
        <key id="234142">CDRIVER-927</key>
            <summary>libbson streaming writer docs are unclear, perhaps misleading</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="tonycpsu">Tony Cebzanov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Oct 2015 15:55:12 +0000</created>
                <updated>Mon, 11 Jan 2016 22:02:22 +0000</updated>
                            <resolved>Mon, 19 Oct 2015 16:28:46 +0000</resolved>
                                                    <fixVersion>1.3.0-beta0</fixVersion>
                                    <component>docs</component>
                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1131694" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:02:22 +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: Merge branch &apos;master&apos; into r1.2&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;master:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
  post-release bump&lt;br/&gt;
  consistent punctuation in NEWS&lt;br/&gt;
  fix Jira URL in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-595&quot; title=&quot;Remove uses of bare memory methods and ensure we don&amp;#39;t add new ones&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-595&quot;&gt;&lt;del&gt;CDRIVER-595&lt;/del&gt;&lt;/a&gt;: Use the bson_free wrapper for copy&amp;amp;pastability&lt;br/&gt;
  Missing statement&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-913&quot; title=&quot;Coverity analysis defect 18296: Logically dead code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-913&quot;&gt;&lt;del&gt;CDRIVER-913&lt;/del&gt;&lt;/a&gt;: Logically dead code&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-754&quot; title=&quot;Review &amp;quot;supported platforms&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-754&quot;&gt;&lt;del&gt;CDRIVER-754&lt;/del&gt;&lt;/a&gt; update list of supported platforms&lt;br/&gt;
  use &quot;.B&quot;, not &quot;.BR&quot;, in man pages&lt;br/&gt;
  escape backslashes in man pages&lt;br/&gt;
  typo in bson_utf8_validate.page&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-862&quot; title=&quot;lintian warnings about hyphens in man pages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-862&quot;&gt;&lt;del&gt;CDRIVER-862&lt;/del&gt;&lt;/a&gt; escape hyphens in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-863&quot; title=&quot;lintian warnings about man pages&amp;#39; whatis entries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-863&quot;&gt;&lt;del&gt;CDRIVER-863&lt;/del&gt;&lt;/a&gt; whatis entries for all man pages&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1131693" author="xgen-internal-githook" created="Mon, 11 Jan 2016 22:02:21 +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-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1068348" author="xgen-internal-githook" created="Thu, 22 Oct 2015 20:35:14 +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: Merge branch &apos;master&apos; into r1.2&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;master:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
  post-release bump&lt;br/&gt;
  consistent punctuation in NEWS&lt;br/&gt;
  fix Jira URL in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-595&quot; title=&quot;Remove uses of bare memory methods and ensure we don&amp;#39;t add new ones&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-595&quot;&gt;&lt;del&gt;CDRIVER-595&lt;/del&gt;&lt;/a&gt;: Use the bson_free wrapper for copy&amp;amp;pastability&lt;br/&gt;
  Missing statement&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-913&quot; title=&quot;Coverity analysis defect 18296: Logically dead code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-913&quot;&gt;&lt;del&gt;CDRIVER-913&lt;/del&gt;&lt;/a&gt;: Logically dead code&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-754&quot; title=&quot;Review &amp;quot;supported platforms&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-754&quot;&gt;&lt;del&gt;CDRIVER-754&lt;/del&gt;&lt;/a&gt; update list of supported platforms&lt;br/&gt;
  use &quot;.B&quot;, not &quot;.BR&quot;, in man pages&lt;br/&gt;
  escape backslashes in man pages&lt;br/&gt;
  typo in bson_utf8_validate.page&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-862&quot; title=&quot;lintian warnings about hyphens in man pages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-862&quot;&gt;&lt;del&gt;CDRIVER-862&lt;/del&gt;&lt;/a&gt; escape hyphens in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-863&quot; title=&quot;lintian warnings about man pages&amp;#39; whatis entries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-863&quot;&gt;&lt;del&gt;CDRIVER-863&lt;/del&gt;&lt;/a&gt; whatis entries for all man pages&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1065734" author="xgen-internal-githook" created="Tue, 20 Oct 2015 15:39:31 +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: Merge branch &apos;master&apos; into r1.2&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;master:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
  post-release bump&lt;br/&gt;
  consistent punctuation in NEWS&lt;br/&gt;
  fix Jira URL in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-595&quot; title=&quot;Remove uses of bare memory methods and ensure we don&amp;#39;t add new ones&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-595&quot;&gt;&lt;del&gt;CDRIVER-595&lt;/del&gt;&lt;/a&gt;: Use the bson_free wrapper for copy&amp;amp;pastability&lt;br/&gt;
  Missing statement&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-913&quot; title=&quot;Coverity analysis defect 18296: Logically dead code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-913&quot;&gt;&lt;del&gt;CDRIVER-913&lt;/del&gt;&lt;/a&gt;: Logically dead code&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-754&quot; title=&quot;Review &amp;quot;supported platforms&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-754&quot;&gt;&lt;del&gt;CDRIVER-754&lt;/del&gt;&lt;/a&gt; update list of supported platforms&lt;br/&gt;
  use &quot;.B&quot;, not &quot;.BR&quot;, in man pages&lt;br/&gt;
  escape backslashes in man pages&lt;br/&gt;
  typo in bson_utf8_validate.page&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-862&quot; title=&quot;lintian warnings about hyphens in man pages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-862&quot;&gt;&lt;del&gt;CDRIVER-862&lt;/del&gt;&lt;/a&gt; escape hyphens in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-863&quot; title=&quot;lintian warnings about man pages&amp;#39; whatis entries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-863&quot;&gt;&lt;del&gt;CDRIVER-863&lt;/del&gt;&lt;/a&gt; whatis entries for all man pages&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1065733" author="xgen-internal-githook" created="Tue, 20 Oct 2015 15:39:30 +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-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1065592" author="xgen-internal-githook" created="Tue, 20 Oct 2015 14:56:37 +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: Merge branch &apos;master&apos; into r1.2&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;master:&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
  post-release bump&lt;br/&gt;
  consistent punctuation in NEWS&lt;br/&gt;
  fix Jira URL in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-595&quot; title=&quot;Remove uses of bare memory methods and ensure we don&amp;#39;t add new ones&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-595&quot;&gt;&lt;del&gt;CDRIVER-595&lt;/del&gt;&lt;/a&gt;: Use the bson_free wrapper for copy&amp;amp;pastability&lt;br/&gt;
  Missing statement&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-913&quot; title=&quot;Coverity analysis defect 18296: Logically dead code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-913&quot;&gt;&lt;del&gt;CDRIVER-913&lt;/del&gt;&lt;/a&gt;: Logically dead code&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-754&quot; title=&quot;Review &amp;quot;supported platforms&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-754&quot;&gt;&lt;del&gt;CDRIVER-754&lt;/del&gt;&lt;/a&gt; update list of supported platforms&lt;br/&gt;
  use &quot;.B&quot;, not &quot;.BR&quot;, in man pages&lt;br/&gt;
  escape backslashes in man pages&lt;br/&gt;
  typo in bson_utf8_validate.page&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-862&quot; title=&quot;lintian warnings about hyphens in man pages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-862&quot;&gt;&lt;del&gt;CDRIVER-862&lt;/del&gt;&lt;/a&gt; escape hyphens in man pages&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-863&quot; title=&quot;lintian warnings about man pages&amp;#39; whatis entries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-863&quot;&gt;&lt;del&gt;CDRIVER-863&lt;/del&gt;&lt;/a&gt; whatis entries for all man pages&lt;br/&gt;
Branch: r1.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/25fddb6259b355c3d948997e39eb7e0aa407ee96&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1065591" author="xgen-internal-githook" created="Tue, 20 Oct 2015 14:56:36 +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-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
Branch: r1.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1064671" author="tonycpsu" created="Mon, 19 Oct 2015 19:42:39 +0000"  >&lt;p&gt;Roger that.  Thanks.&lt;/p&gt;</comment>
                            <comment id="1064654" author="jesse" created="Mon, 19 Oct 2015 19:28:31 +0000"  >&lt;p&gt;I definitely see your argument, but all features compete with all other features for our limited attention. I don&apos;t think this will be a priority any time soon.&lt;/p&gt;</comment>
                            <comment id="1064482" author="tonycpsu" created="Mon, 19 Oct 2015 17:27:16 +0000"  >&lt;p&gt;OK, but I thought the intent was to promote libbson as a utility library for working with BSON data outside of MongoDB as well as within the server environment, in which case a streaming feature like this would be useful for third party developers who wish to read/write BSON.  It&apos;s understandable that use cases for the MongoDB environment would be prioritized, but with BSON being promoted as an alternative to protobuf and friends, I thought there might be some interest in handling more generalized use cases that don&apos;t necessarily correspond to the needs of MongoDB.&lt;/p&gt;</comment>
                            <comment id="1064414" author="xgen-internal-githook" created="Mon, 19 Oct 2015 16:29:39 +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-927&quot; title=&quot;libbson streaming writer docs are unclear, perhaps misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-927&quot;&gt;&lt;del&gt;CDRIVER-927&lt;/del&gt;&lt;/a&gt; can&apos;t stream BSON to an fd&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/83f756f722f11cc7ac85dab328f3336e0ba5fdd5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1064395" author="jesse" created="Mon, 19 Oct 2015 16:18:19 +0000"  >&lt;p&gt;Thanks for the report, we should update that line in the documentation.&lt;/p&gt;

&lt;p&gt;There are not plans for incrementally writing large BSON documents to an fd. Since the server caps doc sizes at 16MB, I don&apos;t think there&apos;s much use in supporting handling documents larger than that in any other part of the driver. For example, streaming a huge document to an fd is a feature we could theoretically support; but a huge document can&apos;t be read or written to MongoDB so it doesn&apos;t seem worth the effort to make the driver better able to handle such a document.&lt;/p&gt;</comment>
                            <comment id="1059153" author="tonycpsu" created="Tue, 13 Oct 2015 15:56:26 +0000"  >&lt;blockquote&gt;
&lt;p&gt;this would mean I&apos;d have to use one reader for the entire parent document&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Uh, make that &quot;one writer for the entire parent document&quot;&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|hsdo4v:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="760">C Driver 2015Q2 sprint 9</customfieldvalue>

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