<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:53 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-592] Remove unused second shard from drivers-evergreen-tools cluster configs</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-592</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;&lt;b&gt;TLDR: Please validate that your driver&apos;s test suite does not depend on having two shards when testing against a sharded cluster.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The fix for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-32088&quot; title=&quot;ChangeStream resumeAfter does not work on sharded collections if not all shards have chunks for the collection &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-32088&quot;&gt;&lt;del&gt;SERVER-32088&lt;/del&gt;&lt;/a&gt; has increased the latency for getting changes from a sharded ChangeStream. The basic gist is that if one shard is not performing any writes then the change stream will block until the shard&apos;s periodic no-op thread writes to the oplog. This increases the latency for changes from milliseconds to 10 seconds (the default periodicNoopIntervalSecs) or more. In total these extra 10 second pauses make PyMongo&apos;s ChangeStreams test suite to take 5 &lt;b&gt;minutes&lt;/b&gt; instead of 5 seconds.&lt;/p&gt;

&lt;p&gt;Some workarounds are to:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Set the periodicNoopIntervalSecs startup parameter to 1 second.&lt;/li&gt;
	&lt;li&gt;During change streams tests, periodically write to all the shards in the cluster.&lt;/li&gt;
	&lt;li&gt;Only test on sharded clusters with a single shard.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Option (1) is a bit annoying since periodicNoopIntervalSecs has only existed since 3.6. We would need to make some mongo-orchestration changes to set this only on &amp;gt;=3.6 nodes or some other backwards compatible change.&lt;/p&gt;

&lt;p&gt;Option (2) is even more annoying since every driver would need to do this in order to speed up their testing.&lt;/p&gt;

&lt;p&gt;Option (3) is the simplest. All we need to do is remove the second shard from our &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/tree/master/.evergreen/orchestration/configs&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;sharded cluster configs in drivers-evergreen-tools&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now my question for everyone is: does your driver rely on having two shards for testing or does a single shard suffice? Does anyone think we should keep testing with two shards for any other reason?&lt;/p&gt;</description>
                <environment></environment>
        <key id="643649">DRIVERS-592</key>
            <summary>Remove unused second shard from drivers-evergreen-tools cluster configs</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="-1">Unassigned</assignee>
                                    <reporter username="shane.harvey@mongodb.com">Shane Harvey</reporter>
                        <labels>
                            <label>newdriver</label>
                    </labels>
                <created>Wed, 5 Dec 2018 00:24:07 +0000</created>
                <updated>Wed, 22 May 2019 13:11:22 +0000</updated>
                            <resolved>Wed, 22 May 2019 13:11:22 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2080653" author="shane.harvey" created="Wed, 5 Dec 2018 00:45:44 +0000"  >&lt;p&gt;PR to remove the second shard: &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/pull/55&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/pull/55&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="650221">NODE-1794</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="650224">RUBY-1615</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="769137">RUST-172</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_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/NODE-1794'>NODE-1794</a>
    </td>
    <td>Works as Designed</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PERL-1049'>PERL-1049</a>
    </td>
    <td>Works as Designed</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-1615'>RUBY-1615</a>
    </td>
    <td>Works as Designed</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-172'>RUST-172</a>
    </td>
    <td>Won't Fix</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-488'>SWIFT-488</a>
    </td>
    <td>Works as Designed</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu4msf:</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>