<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:33 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-2564] Implement Client Sessions</title>
                <link>https://jira.mongodb.org/browse/JAVA-2564</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Status &lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;Task&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Session pool pruning&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; Don&apos;t send session id without an explicit session if multiple users are authenticated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; Verify all Driver Sessions Spec tests are implemented&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Add session parameter to gridfs methods&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; ClientSession, MongoClient.startSession&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Use TopologyDescription.logicalSessionTimeoutMinutes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Session pooling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Add session parameter to all database methods&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Add session parameter to all collection methods&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Add session parameter to all client methods&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; Prohibit using ended ClientSession&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Skip sessions tests for deployments that don&apos;t allow sessions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Send session id with all commands without an explicit session, except createUser, and isMaster for monitoring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;  Add session parameter to Collection.watch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Done &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt; Gossip $clusterTime&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</description>
                <environment></environment>
        <key id="407383">JAVA-2564</key>
            <summary>Implement Client Sessions</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="13201">Fixed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="rathi.gnanasekaran">Rathi Gnanasekaran</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Jul 2017 00:41:51 +0000</created>
                <updated>Sun, 29 Oct 2023 02:32:39 +0000</updated>
                            <resolved>Thu, 5 Oct 2017 15:23:14 +0000</resolved>
                                                    <fixVersion>3.6.0</fixVersion>
                                    <component>Session Management</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1690307" author="xgen-internal-githook" created="Thu, 5 Oct 2017 15:21:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Prune server sessions on release&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/bef17105f7b73cc39b36a1e8213e1ba884e45c16&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/bef17105f7b73cc39b36a1e8213e1ba884e45c16&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1690306" author="xgen-internal-githook" created="Thu, 5 Oct 2017 15:21:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Implement server session pooling behavior from specification&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/6e510b344f82f490c447e035e7a20520da12898b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/6e510b344f82f490c447e035e7a20520da12898b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1690305" author="xgen-internal-githook" created="Thu, 5 Oct 2017 15:21:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Enhance pruning support in ConcurrentPool so that pruning can be halted&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/2e93d411784f058712cb2c0d76bcbfd9d846853a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/2e93d411784f058712cb2c0d76bcbfd9d846853a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1690304" author="xgen-internal-githook" created="Thu, 5 Oct 2017 15:20:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Refactor Mongo class to create a separate class for the ServerSession pool&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e5e1b9848caca669902f1dd174e4bdf28832ecc8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/e5e1b9848caca669902f1dd174e4bdf28832ecc8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1690303" author="xgen-internal-githook" created="Thu, 5 Oct 2017 15:20:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Don&apos;t use implicit sessions when more than one user is authenticated&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e27e3dbe99950706e9ff0d7f85228661a8a402da&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/e27e3dbe99950706e9ff0d7f85228661a8a402da&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1686291" author="xgen-internal-githook" created="Mon, 2 Oct 2017 11:41:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Overload MongoClient and MongoDatabase methods to take a ClientSession&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/4aff442ca79b606a586129d8dc0cfbb857c8d7c1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/4aff442ca79b606a586129d8dc0cfbb857c8d7c1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1685324" author="xgen-internal-githook" created="Fri, 29 Sep 2017 16:29:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Overload all MongoCollection methods to take a ClientSession&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/562a324159f0d0a229408695899d4c467d433834&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/562a324159f0d0a229408695899d4c467d433834&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1685323" author="xgen-internal-githook" created="Fri, 29 Sep 2017 16:29:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Add ClientSession to MongoCollection#find overloads&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/3437705828e3c3051c1a197df7873bcdf204912c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/3437705828e3c3051c1a197df7873bcdf204912c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1685322" author="xgen-internal-githook" created="Fri, 29 Sep 2017 16:29:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Add ClientSession to insertOne&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/380a1901d414011e479971681b5e7619088f0c93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/380a1901d414011e479971681b5e7619088f0c93&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1684499" author="xgen-internal-githook" created="Thu, 28 Sep 2017 17:58:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Temporarily, force one round of server selection before testing for existence of lsid in a command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/24ff9d359f26f30a113c3165b7f4de9f61a7c91e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/24ff9d359f26f30a113c3165b7f4de9f61a7c91e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1674664" author="xgen-internal-githook" created="Sat, 16 Sep 2017 01:15:12 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Add ClientSession and ServerSession.  Create default ClientSession if none provided and the server supports sessions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/cd5e7f5ed8fb9ceba76e8383650fbbd90d3a7ebf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/cd5e7f5ed8fb9ceba76e8383650fbbd90d3a7ebf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1674663" author="xgen-internal-githook" created="Sat, 16 Sep 2017 01:15:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;jyemin&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2564&quot; title=&quot;Implement Client Sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2564&quot;&gt;&lt;del&gt;JAVA-2564&lt;/del&gt;&lt;/a&gt;: Deprecate OperationExecutor in driver-core and created a new non-public interface in the driver module&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/d2c1ba0fd03acfe4631d5ec36bb6f4fe627d08a4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/d2c1ba0fd03acfe4631d5ec36bb6f4fe627d08a4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1665910" author="jeff.yemin" created="Wed, 6 Sep 2017 18:24:00 +0000"  >&lt;p&gt;In code review: changes to driver-core module to support session id, cluster time, and operation time propagation&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="405741">DRIVERS-395</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>JAVA-2468</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hraqvb:</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>