<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:06 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>[CSHARP-882] In GridFS, Delete, Move and CopyTo should always use ReadPreference.Primary as opposed to user specified ReadPreference</title>
                <link>https://jira.mongodb.org/browse/CSHARP-882</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;GridFS, in order to ensure read consistency, pins a GridFSFileInfo to the member it was read from.  This is inadvertantly used when deleting this file which can cause &quot;Not Primary&quot; errors when the file was read from a secondary.&lt;/p&gt;</description>
                <environment></environment>
        <key id="103595">CSHARP-882</key>
            <summary>In GridFS, Delete, Move and CopyTo should always use ReadPreference.Primary as opposed to user specified ReadPreference</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="sridhar">Sridhar Nanjundeswaran</assignee>
                                    <reporter username="craig.wilson@mongodb.com">Craig Wilson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Dec 2013 16:34:21 +0000</created>
                <updated>Thu, 2 Apr 2015 18:28:35 +0000</updated>
                            <resolved>Mon, 24 Feb 2014 15:41:19 +0000</resolved>
                                    <version>1.8.2</version>
                                    <fixVersion>1.9</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="485113" author="xgen-internal-githook" created="Tue, 21 Jan 2014 20:03:19 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;sridharn&apos;, u&apos;name&apos;: u&apos;Sridhar Nanjundeswaran&apos;, u&apos;email&apos;: u&apos;sridhar@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-882&quot; title=&quot;In GridFS, Delete, Move and CopyTo should always use ReadPreference.Primary as opposed to user specified ReadPreference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-882&quot;&gt;&lt;del&gt;CSHARP-882&lt;/del&gt;&lt;/a&gt; - Fixed Create, CreateText etc which did not work with Secondary read preference&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/df523aeac2230b4077cbf5ff41fb5990c11002e4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/df523aeac2230b4077cbf5ff41fb5990c11002e4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="485112" author="xgen-internal-githook" created="Tue, 21 Jan 2014 20:03:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;sridharn&apos;, u&apos;name&apos;: u&apos;Sridhar Nanjundeswaran&apos;, u&apos;email&apos;: u&apos;sridhar@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-882&quot; title=&quot;In GridFS, Delete, Move and CopyTo should always use ReadPreference.Primary as opposed to user specified ReadPreference&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-882&quot;&gt;&lt;del&gt;CSHARP-882&lt;/del&gt;&lt;/a&gt; - Used primary read preference for delete, copyto and moveto&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/04e0ca744f22d938d452c4c33b5e6df93166c939&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/04e0ca744f22d938d452c4c33b5e6df93166c939&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="474581" author="joanna.cheng@10gen.com" created="Mon, 23 Dec 2013 23:04:58 +0000"  >&lt;p&gt;As a workaround, customers can use a ReadPreference of Primary when they know they are going to delete a file. This will, of course, still fail when a primary is unavailable, but should clear up any issues in the meantime until 1.9 is released.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrv013:</customfieldvalue>

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