<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:12 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>[DRIVERS-299] Custom GridFS files._id</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-299</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;When sharding GridFS chunks collection it is necessary to set a custom value for the _id field. Using default ObjectId causes all writes to be routed to the first shard in the cluster.&lt;/p&gt;</description>
                <environment></environment>
        <key id="280398">DRIVERS-299</key>
            <summary>Custom GridFS files._id</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="kiril.piskunov">Kiril Piskunov</reporter>
                        <labels>
                            <label>gridfs</label>
                            <label>sharding</label>
                    </labels>
                <created>Mon, 18 Apr 2016 11:51:23 +0000</created>
                <updated>Mon, 15 Apr 2019 17:27:59 +0000</updated>
                            <resolved>Mon, 11 Dec 2017 18:31:40 +0000</resolved>
                                                                            <votes>1</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="1260987" author="rstam" created="Tue, 10 May 2016 17:34:48 +0000"  >&lt;p&gt;The GridFS spec has been updated to reflect how drivers will support custom file ids.&lt;/p&gt;

&lt;p&gt;Individual driver tickets will be created as necessary and linked to this ticket.&lt;/p&gt;</comment>
                            <comment id="1250602" author="jason.zucchetto@10gen.com" created="Fri, 29 Apr 2016 17:40:49 +0000"  >&lt;p&gt;We expect to begin working on this functionality soon, please watch this ticket for updates.  Thanks!&lt;/p&gt;</comment>
                            <comment id="1238417" author="kiril.piskunov" created="Mon, 18 Apr 2016 11:56:58 +0000"  >&lt;p&gt;Current GridFS spec conflicts with our main documentation for GridFS where we suggest that files._id can be set when saving a file.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The default files_id value is an ObjectId, as a result, the values of files_id are always ascending, and applications will insert all new GridFS data to a single chunk and shard. If your write load is too high for a single server to handle, consider a different shard key or use a different value for _id in the files collection.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.mongodb.org/manual/tutorial/shard-gridfs-data/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.org/manual/tutorial/shard-gridfs-data/&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;_id:	a unique ID for this document, of type BSON ObjectId. Legacy GridFS systems may store this value as a different type. New files must be stored using an ObjectId.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.rst&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="331798">CXX-1130</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="283798">CSHARP-1644</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="289448">CDRIVER-1306</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="286876">JAVA-2188</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="353168">NODE-928</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="289450">PHPLIB-197</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="288330">RUBY-1111</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="289449">PYTHON-1097</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="344068">TOOLS-1591</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="456189">DOCS-10993</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="343660">DOCS-9741</issuekey>
        </issuelink>
                            </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_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-1644'>CSHARP-1644</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PERL-620'>PERL-620</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.6.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-2188'>JAVA-2188</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.3.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-1111'>RUBY-1111</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.3.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-1306'>CDRIVER-1306</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-197'>PHPLIB-197</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.1.0-alpha1, 1.1.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-1097'>PYTHON-1097</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-1130'>CXX-1130</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>3.2.0-rc0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-928'>NODE-928</a>
    </td>
    <td>Works as Designed</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hskiov:</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>