<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:20 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-360] Could the server remove support for getLastError?</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-360</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;Continuing to support getLastError, especially in mongos, is a minor ongoing nuisance. See, e.g., &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-28318&quot; title=&quot;make sharded getLastError work with paths that go over ASIO, or eliminate it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-28318&quot;&gt;&lt;del&gt;SERVER-28318&lt;/del&gt;&lt;/a&gt;. Could the server reasonably deprecate it in 3.6 and remove it in 3.8? What about just remove it in 3.6?&lt;/p&gt;</description>
                <environment></environment>
        <key id="365072">DRIVERS-360</key>
            <summary>Could the server remove support for getLastError?</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="grigori.melnik@mongodb.com">Grigori Melnik</assignee>
                                    <reporter username="schwerin@mongodb.com">Andy Schwerin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Mar 2017 18:00:15 +0000</created>
                <updated>Tue, 17 Mar 2020 02:28:17 +0000</updated>
                            <resolved>Mon, 8 Jan 2018 21:22:38 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1766432" author="jeff.yemin" created="Fri, 5 Jan 2018 18:52:37 +0000"  >&lt;p&gt;Linking to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10637&quot; title=&quot;Provide a mechanism to expose the connectionId so that drivers can log it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10637&quot;&gt;&lt;del&gt;SERVER-10637&lt;/del&gt;&lt;/a&gt;, which requests that &lt;tt&gt;isMaster&lt;/tt&gt; includes the &lt;tt&gt;connectionId&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="1524999" author="behackett" created="Wed, 15 Mar 2017 18:24:22 +0000"  >&lt;p&gt;Another thing to consider, though this isn&apos;t a deal breaker - just something we would likely have to document, applications that use old drivers written for server versions previous to 2.6 will break. &lt;/p&gt;</comment>
                            <comment id="1524990" author="behackett" created="Wed, 15 Mar 2017 18:14:57 +0000"  >&lt;p&gt;This would also seem to be one more nail in the coffin for unacknowledged writes.&lt;/p&gt;</comment>
                            <comment id="1524980" author="behackett" created="Wed, 15 Mar 2017 18:12:16 +0000"  >&lt;p&gt;Helpers aren&apos;t a big problem since we can document them as deprecated and document what server versions they support (or, alternatively, what server version removed support). It&apos;s automatic internal use in drivers I&apos;m worried about.&lt;/p&gt;</comment>
                            <comment id="1524968" author="jesse" created="Wed, 15 Mar 2017 18:09:37 +0000"  >&lt;p&gt;Just removing it in 3.6 seems ok. PyMongo has a deprecated helper called &quot;error&quot; that&apos;s been deprecated for years, and not even useful, given how connection pooling works in PyMongo. The C Driver has no helper. Neither driver uses getLastError internally with MongoDB 2.6+.&lt;/p&gt;</comment>
                            <comment id="1524966" author="behackett" created="Wed, 15 Mar 2017 18:09:06 +0000"  >&lt;p&gt;Assuming drivers can drop support for MongoDB 2.4 in the releases that support 3.6, I &lt;b&gt;think&lt;/b&gt; the answer is yes. We&apos;ll have to do some research to ensure no driver is using getLastError for anything other than inserts, updates, and deletes. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="364962">SERVER-28318</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="87748">SERVER-10637</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hswrrb:</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>