<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:01 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-219] Change showDiskLoc to showRecordId</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-219</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;This ticket is motivated by server changes made under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17718&quot; title=&quot;change showDiskLoc to showRecordId&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17718&quot;&gt;&lt;del&gt;SERVER-17718&lt;/del&gt;&lt;/a&gt; and pushed in commit &lt;a href=&quot;https://github.com/mongodb/mongo/commit/374438c9134e6e31322b05c8ab4c5967d97bf3eb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;374438c9134e6e31322&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The aforementioned commit deprecated the shell&apos;s &lt;a href=&quot;http://docs.mongodb.org/manual/reference/method/cursor.showDiskLoc/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;showDiskLoc()&lt;/a&gt; helper and added a new showRecordId() helper. Drivers which offer a similar helper should consider doing the same.&lt;/p&gt;

&lt;p&gt;The $showDiskLoc query flag is still the correct flag for an OP_QUERY style find, so this change shouldn&apos;t break drivers. Note, however, that the find command field has been renamed to showRecordId.&lt;/p&gt;

&lt;p&gt;Changes made for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17718&quot; title=&quot;change showDiskLoc to showRecordId&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17718&quot;&gt;&lt;del&gt;SERVER-17718&lt;/del&gt;&lt;/a&gt; also changed the format of the meta-projection performed by showRecordId from something like&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;$diskLoc&quot; : { &quot;file&quot; : 0, &quot;offset&quot; : 20656 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;to something like&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;$recordId&quot; : NumberLong(20656)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;Drivers tests for this feature may have to be updated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="195170">DRIVERS-219</key>
            <summary>Change showDiskLoc to showRecordId</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="barrie">Barrie Segal</assignee>
                                    <reporter username="david.storch@mongodb.com">David Storch</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Apr 2015 21:05:48 +0000</created>
                <updated>Mon, 15 Apr 2019 17:28:46 +0000</updated>
                            <resolved>Tue, 21 Jun 2016 18:21:32 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>10</watches>
                                                                                                                <comments>
                            <comment id="1037573" author="acm" created="Sat, 19 Sep 2015 14:33:45 +0000"  >&lt;p&gt;Validating for C&amp;#43;&amp;#43; and C&amp;#43;&amp;#43;11: Neither C++ driver has a helper related to showDiskLoc.&lt;/p&gt;

&lt;p&gt;IIUC, changes required as part of the find command will be in a separate ticket, not this one. Is that correct?&lt;/p&gt;</comment>
                            <comment id="1019589" author="behackett" created="Tue, 1 Sep 2015 16:52:10 +0000"  >&lt;p&gt;Helpers aren&apos;t the issue here. If a user passes $showDiskLoc in the CRUD find() modifiers document do we convert that to showRecordId for the find command, raise an error, or..?&lt;/p&gt;</comment>
                            <comment id="1016265" author="jeff.yemin" created="Thu, 27 Aug 2015 18:56:35 +0000"  >&lt;p&gt;Java only has a helper for this in the deprecated DBCursor API, which we don&apos;t plan on updating.  &lt;/p&gt;</comment>
                            <comment id="877637" author="behackett" created="Thu, 9 Apr 2015 21:44:50 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin&quot;&gt;jeff.yemin&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=craiggwilson&quot; class=&quot;user-hover&quot; rel=&quot;craiggwilson&quot;&gt;craiggwilson&lt;/a&gt;, does this affect Java and/or .NET?&lt;/p&gt;</comment>
                            <comment id="877629" author="behackett" created="Thu, 9 Apr 2015 21:37:02 +0000"  >&lt;p&gt;I&apos;m guessing this only affects drivers that have builders for find()/findOne().&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="226553">NODE-538</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="668381">RUST-21</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="227321">CDRIVER-813</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="227333">CXX-655</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="227337">RUBY-1008</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="195172">DOCS-5194</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="191610">SERVER-17718</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/CDRIVER-813'>CDRIVER-813</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SCALA-202'>SCALA-202</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.1.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-1008'>RUBY-1008</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.12.4, 2.2.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-655'>CXX-655</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-538'>NODE-538</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>2.0.44</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-21'>RUST-21</a>
    </td>
    <td>Done</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|hs7yjz:</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_11150" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>SERVER fixVersion</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="12551"><![CDATA[3.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>