<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:19: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>[CDRIVER-3780] Create public API to report whether a server session is dirty</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3780</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;While investigating &lt;a href=&quot;https://jira.mongodb.org/browse/PHPLIB-528&quot; title=&quot;Add more sessions tests with more read and write commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PHPLIB-528&quot;&gt;&lt;del&gt;PHPLIB-528&lt;/del&gt;&lt;/a&gt;, I remembered that PHPC and PHPLIB cannot implement any of the session spec tests because libmongoc provides no API for discerning whether a session has been marked as dirty.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/sessions/driver-sessions.rst&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Sessions spec&lt;/a&gt; doesn&apos;t talk about the relevance of this field for users, although I don&apos;t see any reason why it couldn&apos;t be exposed in a public API (at least in libmongoc for the benefit of other drivers).&lt;/p&gt;

&lt;p&gt;Can we consider adding &lt;tt&gt;mongoc_client_session_is_dirty&lt;/tt&gt;? I&apos;m open to more contextual names (e.g. &lt;tt&gt;mongoc_client_session_will_be_discarded&lt;/tt&gt;, &lt;tt&gt;mongoc_client_session_has_seen_error&lt;/tt&gt;), but that&apos;s probably something better conveyed in documentation.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1450238">CDRIVER-3780</key>
            <summary>Create public API to report whether a server session is dirty</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 24 Aug 2020 13:58:33 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:39 +0000</updated>
                            <resolved>Mon, 25 Jan 2021 15:53:47 +0000</resolved>
                                                    <fixVersion>1.18.0</fixVersion>
                    <fixVersion>1.18.0-alpha</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3679450" author="xgen-internal-githook" created="Tue, 23 Mar 2021 15:40:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3780&quot; title=&quot;Create public API to report whether a server session is dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3780&quot;&gt;&lt;del&gt;CDRIVER-3780&lt;/del&gt;&lt;/a&gt; add client_session_get_dirty (#726)&lt;br/&gt;
Branch: csot&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/387054e58ca7beff8e36ff7385f660afb5f4e549&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/387054e58ca7beff8e36ff7385f660afb5f4e549&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3580404" author="xgen-internal-githook" created="Mon, 25 Jan 2021 15:53:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3780&quot; title=&quot;Create public API to report whether a server session is dirty&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3780&quot;&gt;&lt;del&gt;CDRIVER-3780&lt;/del&gt;&lt;/a&gt; add client_session_get_dirty (#726)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/387054e58ca7beff8e36ff7385f660afb5f4e549&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/387054e58ca7beff8e36ff7385f660afb5f4e549&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3580057" author="kevin.albertson" created="Mon, 25 Jan 2021 13:30:12 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/726&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/726&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1038894">PHPLIB-528</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1599040">CDRIVER-3874</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1920975">PHPC-2003</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="774384">PHPC-1381</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hxodgn:</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>