<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:10:47 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-839] Bad interpretation of GridFS &quot;SEEK_END&quot; mode</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-839</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;From GitHub pull request &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/260&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/260&lt;/a&gt; by Jose Battig:&lt;/p&gt;

&lt;p&gt;Bad interpretation of seek_end mode. it should seek from one byte more than number of bytes written. seek_end with offset zero should put pointer exactly at the end ready to receive more data&lt;/p&gt;</description>
                <environment>Any</environment>
        <key id="229656">CDRIVER-839</key>
            <summary>Bad interpretation of GridFS &quot;SEEK_END&quot; mode</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="kyle.suarez@mongodb.com">Kyle Suarez</assignee>
                                    <reporter username="kyle.suarez@mongodb.com">Kyle Suarez</reporter>
                        <labels>
                            <label>bug</label>
                            <label>drivers</label>
                            <label>pull-request</label>
                    </labels>
                <created>Mon, 14 Sep 2015 19:21:04 +0000</created>
                <updated>Fri, 23 Oct 2015 19:45:43 +0000</updated>
                            <resolved>Thu, 17 Sep 2015 21:13:32 +0000</resolved>
                                                    <fixVersion>1.3.0-beta0</fixVersion>
                                    <component>GridFS</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1037215" author="xgen-internal-githook" created="Fri, 18 Sep 2015 20:02:55 +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@emptysquare.net&apos;}
&lt;p&gt;Message: Merge pull request #271 from ksuarz/&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-839&quot; title=&quot;Bad interpretation of GridFS &amp;quot;SEEK_END&amp;quot; mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-839&quot;&gt;&lt;del&gt;CDRIVER-839&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-839&quot; title=&quot;Bad interpretation of GridFS &amp;quot;SEEK_END&amp;quot; mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-839&quot;&gt;&lt;del&gt;CDRIVER-839&lt;/del&gt;&lt;/a&gt; fix &quot;seek_end&quot; on gridfs file seek&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d62df21f9686538767fa0f795a8e0e12f3688bb9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d62df21f9686538767fa0f795a8e0e12f3688bb9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1037214" author="xgen-internal-githook" created="Fri, 18 Sep 2015 20:02:55 +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@emptysquare.net&apos;}
&lt;p&gt;Message: Merge pull request #271 from ksuarz/&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-839&quot; title=&quot;Bad interpretation of GridFS &amp;quot;SEEK_END&amp;quot; mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-839&quot;&gt;&lt;del&gt;CDRIVER-839&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-839&quot; title=&quot;Bad interpretation of GridFS &amp;quot;SEEK_END&amp;quot; mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-839&quot;&gt;&lt;del&gt;CDRIVER-839&lt;/del&gt;&lt;/a&gt; fix &quot;seek_end&quot; on gridfs file seek&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d62df21f9686538767fa0f795a8e0e12f3688bb9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d62df21f9686538767fa0f795a8e0e12f3688bb9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1037213" author="xgen-internal-githook" created="Fri, 18 Sep 2015 20:02:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;ksuarz@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-839&quot; title=&quot;Bad interpretation of GridFS &amp;quot;SEEK_END&amp;quot; mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-839&quot;&gt;&lt;del&gt;CDRIVER-839&lt;/del&gt;&lt;/a&gt; test gridfs file seek between chunks&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/084576f692b163b4f5ddd791fb2355cd5dd86faf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/084576f692b163b4f5ddd791fb2355cd5dd86faf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1037212" author="xgen-internal-githook" created="Fri, 18 Sep 2015 20:02:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ksuarz&apos;, u&apos;name&apos;: u&apos;Kyle Suarez&apos;, u&apos;email&apos;: u&apos;ksuarz@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-839&quot; title=&quot;Bad interpretation of GridFS &amp;quot;SEEK_END&amp;quot; mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-839&quot;&gt;&lt;del&gt;CDRIVER-839&lt;/del&gt;&lt;/a&gt; test gridfs file seek&lt;br/&gt;
Branch: 1.3.0-dev&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/8755d4c376eb7b3a42b897bf9df4c209f84f4e21&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/8755d4c376eb7b3a42b897bf9df4c209f84f4e21&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1032051" author="kyle.suarez" created="Wed, 16 Sep 2015 17:49:41 +0000"  >&lt;p&gt;We can write tests for this, but they&apos;ll break if we can&apos;t seek on new GridFS handles.&lt;/p&gt;</comment>
                            <comment id="1029976" author="kyle.suarez" created="Tue, 15 Sep 2015 13:22:50 +0000"  >&lt;p&gt;We should clearly document the behavior of &lt;tt&gt;mongoc_gridfs_file_seek&lt;/tt&gt;; for example, the &lt;tt&gt;delta&lt;/tt&gt; is always &lt;b&gt;added&lt;/b&gt;, even when &lt;tt&gt;whence=SEEK_END&lt;/tt&gt;. This matches the behavior of &lt;tt&gt;fseek(3)&lt;/tt&gt; but might not be obvious to the casual user.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="230095">CDRIVER-847</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="180459">CDRIVER-509</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hreaw7:</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="699">C Driver 2015Q2 sprint 7</customfieldvalue>

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