<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:55 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-2578] Switch to polling monitoring when running within a FaaS environment</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2578</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;As identified by &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2246&quot; title=&quot;Heartbeat build up with streaming protocol when driver process is stopped (FAAS)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2246&quot;&gt;&lt;del&gt;DRIVERS-2246&lt;/del&gt;&lt;/a&gt;, the streaming protocol used by SDAM monitoring when communicating with MongoDB 4.4+ clusters can result in socket timeouts when the underlying runtime environment resumes after being frozen/paused then (ex: Lambda).&lt;/p&gt;

&lt;p&gt;Drivers should revert their SDAM monitoring process to use the legacy polling mechanism when a FaaS runtime environment is detected (DRIVERS-2209) to improve the developer experience when interacting with MongoDB from these environments.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2297329">DRIVERS-2578</key>
            <summary>Switch to polling monitoring when running within a FaaS environment</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="13453" iconUrl="https://jira.mongodb.org/images/icons/status_generic.gif" description="">Implementing</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="shane.harvey@mongodb.com">Shane Harvey</assignee>
                                    <reporter username="alex.bevilacqua@mongodb.com">Alex Bevilacqua</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Mar 2023 12:54:03 +0000</created>
                <updated>Thu, 12 Oct 2023 20:24:26 +0000</updated>
                                                                <component>FaaS</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="5774788" author="xgen-internal-githook" created="Thu, 12 Oct 2023 20:16:21 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Shane Harvey&apos;, &apos;email&apos;: &apos;shnhrv@gmail.com&apos;, &apos;username&apos;: &apos;ShaneHarvey&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2578&quot; title=&quot;Switch to polling monitoring when running within a FaaS environment&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2578&quot;&gt;DRIVERS-2578&lt;/a&gt; Drivers use polling SDAM on AWS Lambda (#1452)&lt;/p&gt;

&lt;p&gt;Disable streaming SDAM by default on AWS Lambda and similar FaaS platforms.&lt;br/&gt;
Introduce the serverMonitoringMode=stream/poll/auto URI option.&lt;br/&gt;
Add Unified Test Format version 1.17 to add support for server heartbeat events.&lt;br/&gt;
Clients MUST NOT use dedicated connections to measure RTT when using the polling protocol.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/14a6c8134d0c3038cdaa34bb33bcebbb3a545ca8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/14a6c8134d0c3038cdaa34bb33bcebbb3a545ca8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5652083" author="shane.harvey" created="Tue, 22 Aug 2023 21:38:52 +0000"  >&lt;p&gt;Note that this change relies on the FaaS detection logic added in DRIVERS-2209.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2009489">DRIVERS-2246</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2073169">DRIVERS-2364</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2313424">JAVA-4936</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313429">RUBY-3241</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313430">RUST-1631</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313422">CSHARP-4615</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313420">CDRIVER-4615</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313421">CXX-2676</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313423">GODRIVER-2810</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313426">MOTOR-1120</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313425">NODE-5197</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313427">PYTHON-3668</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2313428">PHPC-2281</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2073169">DRIVERS-2364</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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;In this change drivers will:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Disable streaming SDAM by default on AWS Lambda and similar FaaS platforms.&lt;/li&gt;
	&lt;li&gt;Introduce the serverMonitoringMode=stream/poll/auto URI option.&lt;/li&gt;
	&lt;li&gt;Add Unified Test Format version 1.17 to add support for server heartbeat events and asserting on the &quot;awaited&quot; field.&lt;/li&gt;
	&lt;li&gt;Ensure that clients MUST NOT use dedicated connections to measure RTT when using the polling protocol.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;See the spec changes in: &lt;a href=&quot;https://github.com/mongodb/specifications/commit/14a6c8134d0c3038cdaa34bb33bcebbb3a545ca8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/14a6c8134d0c3038cdaa34bb33bcebbb3a545ca8&lt;/a&gt;&lt;br/&gt;
And the Python implementation: &lt;a href=&quot;https://github.com/mongodb/mongo-python-driver/commit/4c00227c1d350a64d1af6672cb6de26072082b81&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-python-driver/commit/4c00227c1d350a64d1af6672cb6de26072082b81&lt;/a&gt;&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </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-4615'>CDRIVER-4615</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.25.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2676'>CXX-2676</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4615'>CSHARP-4615</a>
    </td>
    <td>In Code Review</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2810'>GODRIVER-2810</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.13.0, 1.13.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4936'>JAVA-4936</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-5197'>NODE-5197</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>6.3.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-1120'>MOTOR-1120</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3668'>PYTHON-3668</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.6</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPC-2281'>PHPC-2281</a>
    </td>
    <td>Won't Fix</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3241'>RUBY-3241</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1631'>RUST-1631</a>
    </td>
    <td>Backlog</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18362" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Engineering Lead</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>steve.silvester@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_18358" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Product Manager</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alex.bevilacqua@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18359" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Program Manager</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>esha.bhargava@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1k1p:ho</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_14261" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 26 Jun 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>