<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:56:58 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-2342] GridFS constructor tries to create index</title>
                <link>https://jira.mongodb.org/browse/JAVA-2342</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The GridFS class constructor tries to create indexes on the .files and .chunks collection. If the database is read-only - for instance, due to the temporary unavailability of some mongoD&apos;s in a replicaset - this causes an attempt to read data to fail.&lt;/p&gt;

&lt;p&gt;The indexes should be created when the databases is initialized.&lt;/p&gt;</description>
                <environment></environment>
        <key id="322941">JAVA-2342</key>
            <summary>GridFS constructor tries to create index</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="alessandro.gherardi@yahoo.com">Alessandro Gherardi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Oct 2016 04:33:10 +0000</created>
                <updated>Wed, 12 Oct 2016 11:47:07 +0000</updated>
                            <resolved>Wed, 12 Oct 2016 11:46:50 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1406129" author="ross@10gen.com" created="Wed, 12 Oct 2016 11:46:50 +0000"  >&lt;p&gt;I&apos;m marking this as &quot;Won&apos;t Fix&quot; because the old GridFS implementation was effectively deprecated in 3.0 due to its reliance on the deprecated DB class. As such there are no plans to change the implementation.  Especially, as its behaviour has been this way for a number of years.&lt;/p&gt;

&lt;p&gt;The good news is in the Java driver 3.1 series we introduced a new GridFS API accessible via  &lt;tt&gt;com.mongodb.client.gridfs.GridFSBuckets&lt;/tt&gt;.  The new API follows a new &lt;a href=&quot;https://github.com/mongodb/specifications/tree/master/source/gridfs&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;GridFS specification&lt;/a&gt;. Under this specification reading data from GridFS is accessible to users with read only permissions.&lt;/p&gt;

&lt;p&gt;All the best,&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|hsqqkn:</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>