<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:58:39 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>[SERVER-63781] $sortKey not filtered out in initial batch from post batch resume token</title>
                <link>https://jira.mongodb.org/browse/SERVER-63781</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;b&gt;Failing test:&lt;/b&gt; shell_helper.js&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Error:&lt;/b&gt; results != expected&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Symptoms:&lt;/b&gt; sortKey not removed&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&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;variant&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;file&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;log&lt;/th&gt;
&lt;th class=&apos;confluenceTh&apos;&gt;run&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;ubuntu UBSAN AFF&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;shell_helper.js&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://logkeeper.mongodb.org/build/9db01172bacb418e193152591f201771/test/620aba86c2ab6846f7f2afbc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logs&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;RHEL all feature flags&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;metadata_notifications.js&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://logkeeper.mongodb.org/build/33c7bcf3795f709813f1ce753262b176/test/620d420ec2ab6846f725787d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logs&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://spruce.mongodb.com/version/620aa5c3850e61197d495bfc/tasks?page=0&amp;amp;variant=enterprise-rhel-80-64-bit-dynamic-required&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;RHEL&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;apply_ops.js&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://logkeeper.mongodb.org/build/b9a9a5d22602c2e31b294f81fc152619/test/620abc76c2ab6846f7f5989b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logs&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;RHEL AFF query patch&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;apply_ops.js&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://logkeeper.mongodb.org/build/8f341b6cd65ae2deda729787a4d910ed/test/620abc8c54f24868c6b8a3f0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logs&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;ubuntu UBSAN AFF&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;apply_ops.js&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://logkeeper.mongodb.org/build/8dfca45f238abe9a684f006003733d21/test/620aba6d90413053f7a403e3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logs&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;RHEL all feature flags&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;apply_ops_resumability.js&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;&lt;a href=&quot;https://logkeeper.mongodb.org/build/3ee0e16c33b711e5cb5d70045efb1fde/test/620abc7c90413053f7a71a74&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logs&lt;/a&gt;&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</description>
                <environment></environment>
        <key id="1985804">SERVER-63781</key>
            <summary>$sortKey not filtered out in initial batch from post batch resume token</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="mickey.winters@mongodb.com">Mickey Winters</assignee>
                                    <reporter username="jennifer.peshansky@mongodb.com">Jennifer Peshansky</reporter>
                        <labels>
                            <label>pm-2419-commit</label>
                    </labels>
                <created>Thu, 17 Feb 2022 18:03:55 +0000</created>
                <updated>Sun, 29 Oct 2023 21:42:16 +0000</updated>
                            <resolved>Fri, 4 Mar 2022 01:42:50 +0000</resolved>
                                                    <fixVersion>6.0.0-rc0</fixVersion>
                    <fixVersion>4.4.18</fixVersion>
                    <fixVersion>4.2.24</fixVersion>
                    <fixVersion>5.0.13</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4965276" author="xgen-internal-githook" created="Tue, 8 Nov 2022 23:00:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mickey. J Winters&apos;, &apos;email&apos;: &apos;mickey.winters@mongodb.com&apos;, &apos;username&apos;: &apos;mjrb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69004&quot; title=&quot;[4.2] backport pm-2419 Per Shard Cursors via mongos &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69004&quot;&gt;&lt;del&gt;SERVER-69004&lt;/del&gt;&lt;/a&gt; backport per shard cursors&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62400&quot; title=&quot;Add $_passthroughToShard parameter to AggregateCommandRequest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62400&quot;&gt;&lt;del&gt;SERVER-62400&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62681&quot; title=&quot;Create change streams per shard cursor passthrough suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62681&quot;&gt;&lt;del&gt;SERVER-62681&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62738&quot; title=&quot;Give mongos the ability to passthrough to a specific shard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62738&quot;&gt;&lt;del&gt;SERVER-62738&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63781&quot; title=&quot;$sortKey not filtered out in initial batch from post batch resume token&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63781&quot;&gt;&lt;del&gt;SERVER-63781&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63774&quot; title=&quot;Pass optional dbVersion to runPipelineOnSpecificShard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63774&quot;&gt;&lt;del&gt;SERVER-63774&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63772&quot; title=&quot;Post Batch Resume token not sent on initial batch from per shard cursor change stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63772&quot;&gt;&lt;del&gt;SERVER-63772&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63773&quot; title=&quot;Per Shard cursor post batch resume token not set in getMore responses&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63773&quot;&gt;&lt;del&gt;SERVER-63773&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-58673&quot; title=&quot;Enable featureFlagPerShardCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-58673&quot;&gt;&lt;del&gt;SERVER-58673&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70633&quot; title=&quot;Make per shard cursors suite actually run tests in 5.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70633&quot;&gt;&lt;del&gt;SERVER-70633&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69785&quot; title=&quot;robustify change_streams_per_shard_cursor.js&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69785&quot;&gt;&lt;del&gt;SERVER-69785&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;both modified:   src/mongo/s/query/cluster_aggregate.cpp&lt;br/&gt;
both modified:   src/mongo/s/query/cluster_aggregation_planner.cpp&lt;br/&gt;
both modified:   src/mongo/s/query/cluster_aggregation_planner.h&lt;br/&gt;
these files had irreconcilable differences and the changes had to be reimplemented by hand.&lt;br/&gt;
this is due to some refactoring and AggregationTargeter not existing&lt;/p&gt;

&lt;p&gt;(cherry-picked from commit e424f3ed1266bcd772c52bcf23c518b2fe6c83ab)&lt;br/&gt;
(cherry-picked from commit ba8f9a28c8769dfe10f73b190c943ee4a57ee7a1)&lt;br/&gt;
(cherry-picked from commit 1219ff764c932f16a68c7ba1afd9b925f9f876c8)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/792f237975470ab61e3e9cd4b54ede87ed9377d8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/792f237975470ab61e3e9cd4b54ede87ed9377d8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4942006" author="xgen-internal-githook" created="Mon, 31 Oct 2022 20:07:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mickey. J Winters&apos;, &apos;email&apos;: &apos;mickey.winters@mongodb.com&apos;, &apos;username&apos;: &apos;mjrb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69003&quot; title=&quot;[4.4] backport pm-2419 Per Shard Cursors via mongos &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69003&quot;&gt;&lt;del&gt;SERVER-69003&lt;/del&gt;&lt;/a&gt; backport per shard cursors&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62400&quot; title=&quot;Add $_passthroughToShard parameter to AggregateCommandRequest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62400&quot;&gt;&lt;del&gt;SERVER-62400&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62681&quot; title=&quot;Create change streams per shard cursor passthrough suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62681&quot;&gt;&lt;del&gt;SERVER-62681&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62738&quot; title=&quot;Give mongos the ability to passthrough to a specific shard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62738&quot;&gt;&lt;del&gt;SERVER-62738&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63781&quot; title=&quot;$sortKey not filtered out in initial batch from post batch resume token&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63781&quot;&gt;&lt;del&gt;SERVER-63781&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63774&quot; title=&quot;Pass optional dbVersion to runPipelineOnSpecificShard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63774&quot;&gt;&lt;del&gt;SERVER-63774&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63772&quot; title=&quot;Post Batch Resume token not sent on initial batch from per shard cursor change stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63772&quot;&gt;&lt;del&gt;SERVER-63772&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63773&quot; title=&quot;Per Shard cursor post batch resume token not set in getMore responses&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63773&quot;&gt;&lt;del&gt;SERVER-63773&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-58673&quot; title=&quot;Enable featureFlagPerShardCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-58673&quot;&gt;&lt;del&gt;SERVER-58673&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-70633&quot; title=&quot;Make per shard cursors suite actually run tests in 5.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-70633&quot;&gt;&lt;del&gt;SERVER-70633&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69785&quot; title=&quot;robustify change_streams_per_shard_cursor.js&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69785&quot;&gt;&lt;del&gt;SERVER-69785&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(cherry-picked from commit 4d5451b20fecaf4a054cca94de6962fcf28c577f)&lt;br/&gt;
(cherry-picked from commit ba8f9a28c8769dfe10f73b190c943ee4a57ee7a1)&lt;br/&gt;
(cherry-picked from commit 1219ff764c932f16a68c7ba1afd9b925f9f876c8)&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e424f3ed1266bcd772c52bcf23c518b2fe6c83ab&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e424f3ed1266bcd772c52bcf23c518b2fe6c83ab&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4809950" author="xgen-internal-githook" created="Wed, 7 Sep 2022 22:46:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mickey. J Winters&apos;, &apos;email&apos;: &apos;mickey.winters@mongodb.com&apos;, &apos;username&apos;: &apos;mjrb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69002&quot; title=&quot;[5.0] backport pm-2419 Per Shard Cursors via mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69002&quot;&gt;&lt;del&gt;SERVER-69002&lt;/del&gt;&lt;/a&gt; backport per shard cursors&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62400&quot; title=&quot;Add $_passthroughToShard parameter to AggregateCommandRequest&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62400&quot;&gt;&lt;del&gt;SERVER-62400&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62681&quot; title=&quot;Create change streams per shard cursor passthrough suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62681&quot;&gt;&lt;del&gt;SERVER-62681&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62738&quot; title=&quot;Give mongos the ability to passthrough to a specific shard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62738&quot;&gt;&lt;del&gt;SERVER-62738&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63781&quot; title=&quot;$sortKey not filtered out in initial batch from post batch resume token&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63781&quot;&gt;&lt;del&gt;SERVER-63781&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63774&quot; title=&quot;Pass optional dbVersion to runPipelineOnSpecificShard&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63774&quot;&gt;&lt;del&gt;SERVER-63774&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63772&quot; title=&quot;Post Batch Resume token not sent on initial batch from per shard cursor change stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63772&quot;&gt;&lt;del&gt;SERVER-63772&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63773&quot; title=&quot;Per Shard cursor post batch resume token not set in getMore responses&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63773&quot;&gt;&lt;del&gt;SERVER-63773&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-58673&quot; title=&quot;Enable featureFlagPerShardCursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-58673&quot;&gt;&lt;del&gt;SERVER-58673&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(cherry-picked from commit fc54ebd0137a25ea664c022b51b685667dd037c7)&lt;br/&gt;
(cherry-picked from commit 53d7bceee61f73a1d6959edb5d490c3b338f3c0d)&lt;br/&gt;
(cherry-picked from commit 586663fec7c3a7d4a8b0185ff24825bd15e80dff)&lt;br/&gt;
(cherry-picked from commit ef2a62dcc27461d2be1b619c75bc04effa1f2021)&lt;br/&gt;
(cherry-picked from commit 4f3626ff4486e672569699dfde1cc0ae8c54d348)&lt;br/&gt;
(cherry-picked from commit 0f7683455bc06b153f14368a3f05f0b69671717e)&lt;br/&gt;
(cherry-picked from commit 11d01816f743d6764c4f12c42697f5edf813ce27)&lt;br/&gt;
(cherry-picked from commit 1fe77b5bd9fb13f9eb74275359dcc4ba69f2d5e9)&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4d5451b20fecaf4a054cca94de6962fcf28c577f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4d5451b20fecaf4a054cca94de6962fcf28c577f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4390641" author="xgen-internal-githook" created="Thu, 3 Mar 2022 22:29:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mickey. J Winters&apos;, &apos;email&apos;: &apos;mickey.winters@mongodb.com&apos;, &apos;username&apos;: &apos;mjrb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63781&quot; title=&quot;$sortKey not filtered out in initial batch from post batch resume token&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63781&quot;&gt;&lt;del&gt;SERVER-63781&lt;/del&gt;&lt;/a&gt; set per shard cursor initial batch size to 0&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ef2a62dcc27461d2be1b619c75bc04effa1f2021&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ef2a62dcc27461d2be1b619c75bc04effa1f2021&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4380984" author="JIRAUSER1258420" created="Mon, 28 Feb 2022 17:17:46 +0000"  >&lt;p&gt;We need to override the initial batch size to be 0 in the initial aggregate command for a per shard cursor. This will establish the cursors. We can establish machinery using those cursors on the mongos side, and use that to get results. It will require another getMore to the shards. If this is an initial find with a tailable awaitData cursor, we return.&lt;/p&gt;</comment>
                            <comment id="4377533" author="mickey.winters" created="Fri, 25 Feb 2022 17:30:26 +0000"  >&lt;p&gt;the fix for this seems to just be only establishing the cursor when the initial aggregate command is sent so that there is no first batch. sharded change streams seems to have this behavior where if you have startAfter and there are events to be returned you have to call getMore to actually get them&lt;/p&gt;</comment>
                            <comment id="4375953" author="mickey.winters" created="Fri, 25 Feb 2022 00:14:24 +0000"  >&lt;p&gt;in shell_helpers.js only 1 event is returned and no getMore is issued. so the events with the $sortKey unfiltered seems to be returned with the first initial batch. this explains why for some of the failures when there is more than one change only the first change seems to have the unfiltered sort key&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                        <issuelink>
            <issuekey id="2118092">SERVER-69002</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2118096">SERVER-69003</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2118097">SERVER-69004</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="1985734">SERVER-63771</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="1985756">SERVER-63776</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 25 Feb 2022 00:14:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 13 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-2419</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 13 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jennifer.peshansky@mongodb.com</customfieldvalue>
            <customfieldvalue>mickey.winters@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0klen:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i03ntr:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5287">QE 2022-03-07</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0k7jz:</customfieldvalue>

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