<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:40 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>[CDRIVER-2578] mongoc_change_stream_t can send getMore with wrong lsid</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2578</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;A change stream can forget its implicit session between the initial &quot;aggregate&quot; and subsequent &quot;getMore&quot; commands.&lt;/p&gt;</description>
                <environment></environment>
        <key id="518941">CDRIVER-2578</key>
            <summary>mongoc_change_stream_t can send getMore with wrong lsid</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Mar 2018 18:48:33 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:59 +0000</updated>
                            <resolved>Tue, 3 Apr 2018 13:32:29 +0000</resolved>
                                    <version>1.9.0</version>
                                    <fixVersion>1.9.4</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1860091" author="xgen-internal-githook" created="Tue, 10 Apr 2018 12:33:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;, &apos;email&apos;: &apos;kevin.albertson@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2578&quot; title=&quot;mongoc_change_stream_t can send getMore with wrong lsid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2578&quot;&gt;&lt;del&gt;CDRIVER-2578&lt;/del&gt;&lt;/a&gt; changestream getmore and agg lsid&lt;/p&gt;

&lt;p&gt;collection_watch runs an aggregate command with&lt;br/&gt;
collection_read_command_with_opts and then creates a cursor with&lt;br/&gt;
cursor_new_from_command_reply. To ensure they use the same implicit&lt;br/&gt;
session lsid, the change_stream_t must be responsible for creating&lt;br/&gt;
the implicit session and pass this session to both the command and&lt;br/&gt;
cursor as if it were an explicit session.&lt;br/&gt;
Branch: r1.9-dfsg&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5415c883c3ea1e99a09644ddbd4f201b369f40a5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5415c883c3ea1e99a09644ddbd4f201b369f40a5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1860089" author="xgen-internal-githook" created="Tue, 10 Apr 2018 12:33:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;kevin.albertson@10gen.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2578&quot; title=&quot;mongoc_change_stream_t can send getMore with wrong lsid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2578&quot;&gt;&lt;del&gt;CDRIVER-2578&lt;/del&gt;&lt;/a&gt; changestream getmore and agg lsid&lt;/p&gt;

&lt;p&gt;collection_watch runs an aggregate command with&lt;br/&gt;
collection_read_command_with_opts and then creates a cursor with&lt;br/&gt;
cursor_new_from_command_reply. To ensure they use the same implicit&lt;br/&gt;
session lsid, the change_stream_t must be responsible for creating&lt;br/&gt;
the implicit session and pass this session to both the command and&lt;br/&gt;
cursor as if it were an explicit session.&lt;br/&gt;
Branch: debian&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5415c883c3ea1e99a09644ddbd4f201b369f40a5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5415c883c3ea1e99a09644ddbd4f201b369f40a5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1853284" author="xgen-internal-githook" created="Tue, 3 Apr 2018 13:31:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;kevin.albertson@10gen.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2578&quot; title=&quot;mongoc_change_stream_t can send getMore with wrong lsid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2578&quot;&gt;&lt;del&gt;CDRIVER-2578&lt;/del&gt;&lt;/a&gt; changestream getmore and agg lsid&lt;/p&gt;

&lt;p&gt;collection_watch runs an aggregate command with&lt;br/&gt;
collection_read_command_with_opts and then creates a cursor with&lt;br/&gt;
cursor_new_from_command_reply. To ensure they use the same implicit&lt;br/&gt;
session lsid, the change_stream_t must be responsible for creating&lt;br/&gt;
the implicit session and pass this session to both the command and&lt;br/&gt;
cursor as if it were an explicit session.&lt;br/&gt;
Branch: r1.9&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5415c883c3ea1e99a09644ddbd4f201b369f40a5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5415c883c3ea1e99a09644ddbd4f201b369f40a5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1852640" author="xgen-internal-githook" created="Mon, 2 Apr 2018 19:46:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;kevin.albertson@10gen.com&apos;, &apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2578&quot; title=&quot;mongoc_change_stream_t can send getMore with wrong lsid&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2578&quot;&gt;&lt;del&gt;CDRIVER-2578&lt;/del&gt;&lt;/a&gt; changestream getmore and agg lsid&lt;/p&gt;

&lt;p&gt;collection_watch runs an aggregate command with&lt;br/&gt;
collection_read_command_with_opts and then creates a cursor with&lt;br/&gt;
cursor_new_from_command_reply. To ensure they use the same implicit&lt;br/&gt;
session lsid, the change_stream_t must be responsible for creating&lt;br/&gt;
the implicit session and pass this session to both the command and&lt;br/&gt;
cursor as if it were an explicit session.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/490306b586b5d4106a8b93cd903b443bde1ed980&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/490306b586b5d4106a8b93cd903b443bde1ed980&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="518921">PHPC-1152</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="526642">PHPLIB-342</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="528808">PHPC-1161</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|htl807:</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>