<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:46:07 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-81298] Streams: &quot;field not found, expected type array&quot; during network failure in MergeOperator</title>
                <link>https://jira.mongodb.org/browse/SERVER-81298</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;mstreams%3AInvalidbytesinUTF8string&quot;&gt;&lt;/a&gt;mstreams: Invalid bytes in UTF8 string&lt;/h3&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Caused by a message like:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&quot;{\&quot;$set\&quot;:{\&quot;$schema\&quot;:\&quot;/mediawiki/recentchange/1.0.0\&quot;,\&quot;meta\&quot;:{\&quot;uri\&quot;:\&quot;https://it.wikipedia.org/wiki/Discussioni_utente:Valepert\&quot;,\&quot;request_id\&quot;:\&quot;c6d88f7f-9a3c-4b7e-a7cd-421b90ed4a46\&quot;,\&quot;id\&quot;:\&quot;48472b65-6635-4b65-990c-fcc5e66310e6\&quot;,\&quot;dt\&quot;:\&quot;2023-09-21T03:05:04Z\&quot;,\&quot;domain\&quot;:\&quot;it.wikipedia.org\&quot;,\&quot;stream\&quot;:\&quot;mediawiki.recentchange\&quot;,\&quot;topic\&quot;:\&quot;codfw.mediawiki.recentchange\&quot;,\&quot;partition\&quot;:&lt;/p&gt;
{\&quot;$numberInt\&quot;:\&quot;0\&quot;}
&lt;p&gt;,\&quot;offset\&quot;:{\&quot;$numberInt\&quot;:\&quot;628263911\&quot;}},\&quot;id\&quot;:{\&quot;$numberInt\&quot;:\&quot;326192030\&quot;},\&quot;type\&quot;:\&quot;edit\&quot;,\&quot;namespace\&quot;:{\&quot;$numberInt\&quot;:\&quot;3\&quot;},\&quot;title\&quot;:\&quot;Discussioni utente:Valepert\&quot;,\&quot;title_url\&quot;:\&quot;https://it.wikipedia.org/wiki/Discussioni_utente:Valepert\&quot;,\&quot;comment\&quot;:\&quot;\355\240\274\355\275\270\&quot;,\&quot;timestamp\&quot;:{\&quot;$numberInt\&quot;:\&quot;1695265504\&quot;},\&quot;user\&quot;:\&quot;Valepert\&quot;,\&quot;bot\&quot;:false,\&quot;notify_url\&quot;:\&quot;https://it.wikipedia.org/w/index.php?diff=135583987&amp;amp;oldid=135530929&amp;amp;rcid=326192030\&quot;,\&quot;minor\&quot;:false,\&quot;patrolled\&quot;:true,\&quot;length\&quot;:{\&quot;old\&quot;:&lt;/p&gt;
{\&quot;$numberInt\&quot;:\&quot;48232\&quot;}
&lt;p&gt;,\&quot;new\&quot;:{\&quot;$numberInt\&quot;:\&quot;48253\&quot;}},\&quot;revision\&quot;:{\&quot;old\&quot;:&lt;/p&gt;
{\&quot;$numberInt\&quot;:\&quot;135530929\&quot;}
&lt;p&gt;,\&quot;new\&quot;:{\&quot;$numberInt\&quot;:\&quot;135583987\&quot;}},\&quot;server_url\&quot;:\&quot;https://it.wikipedia.org\&quot;,\&quot;server_name\&quot;:\&quot;it.wikipedia.org\&quot;,\&quot;server_script_path\&quot;:\&quot;/w\&quot;,\&quot;wiki\&quot;:\&quot;itwiki\&quot;,\&quot;parsedcomment\&quot;:\&quot;\355\240\274\355\275\270\&quot;,\&quot;_ts\&quot;:{\&quot;$date\&quot;:{\&quot;$numberLong\&quot;:\&quot;1695272056821\&quot;}},\&quot;_stream_meta\&quot;:{\&quot;sourceType\&quot;:\&quot;kafka\&quot;,\&quot;sourcePartition\&quot;:&lt;/p&gt;
{\&quot;$numberInt\&quot;:\&quot;0\&quot;}
&lt;p&gt;,\&quot;sourceOffset\&quot;:{\&quot;$numberLong\&quot;:\&quot;10882591\&quot;},\&quot;timestamp\&quot;:{\&quot;$date\&quot;:&lt;/p&gt;
{\&quot;$numberLong\&quot;:\&quot;1695272056821\&quot;}
&lt;p&gt;}},\&quot;_id\&quot;:{\&quot;$oid\&quot;:\&quot;650c82f98c47efea135f73a3\&quot;}}}&quot;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;This kafka:&lt;/p&gt;

&lt;p&gt;kafkacat -C -b kafka.0x2f8.io:9093 -X security.protocol=SASL_PLAINTEXT -X sasl.mechanisms=PLAIN -X sasl.username=mongo -X sasl.password=mongodata_123 -C -t &#8220;topic name&#8221;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;This streamProcessor:&lt;/p&gt;

&lt;p&gt;&#160;&#160;{&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;id: &apos;650bb29b49d37c600ee82da1&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;name: &apos;kafkaToCollection&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;lastModified: ISODate(&quot;2023-09-21T03:03:55.814Z&quot;),&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;state: &apos;FAILED&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;errorMsg: &apos;resource has no heartbeat&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&lt;b&gt;pipeline: [&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;*{ &apos;$source&apos;:&lt;/p&gt;

{ connectionName: &apos;TestKafka1&apos;, topic: &apos;wiki1&apos; }

&lt;p&gt;},*&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;{&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;&apos;$merge&apos;: {&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;into: { connectionName: &apos;TestAtlas1&apos;, db: &apos;test&apos;, coll: &apos;wiki1&apos; }&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;}&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;}&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;]&lt;/p&gt;

&lt;p&gt;&#160;&#160;}&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Happened after&#160;&lt;/p&gt;

&lt;p&gt;{ partitions: [ &lt;br class=&quot;atl-forced-newline&quot; /&gt;&lt;/p&gt;
{ partition: 0, offset: 10806944 }

&lt;p&gt;] }&lt;/p&gt;

&lt;p&gt;Happened again after 10821979&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20650bb29b49d37c600ee82da1%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695272328.8817200&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Splunk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;{ &lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20650bb29b49d37c600ee82da1%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695266377.8807063#&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[-]&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;_p&lt;/b&gt;: F&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;attr&lt;/b&gt;: { &lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20650bb29b49d37c600ee82da1%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695266377.8807063#&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[-]&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;context&lt;/b&gt;: { &lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20650bb29b49d37c600ee82da1%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695266377.8807063#&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[-]&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;streamProcessorId&lt;/b&gt;: 650bb29b49d37c600ee82da1&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;streamProcessorName&lt;/b&gt;: kafkaToCollection&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;tenantId&lt;/b&gt;: 650761da7df3a953fbe8390c&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;error&lt;/b&gt;: invalid bytes in UTF8 string: could not parse JSON document&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;c&lt;/b&gt;: STREAMS&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;ctx&lt;/b&gt;: thread373&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;id&lt;/b&gt;: 75897&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;kube&lt;/b&gt;:&lt;/p&gt;

{ [[+]|https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20650bb29b49d37c600ee82da1%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695266377.8807063#] &#160;&#160;&#160;}

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;msg&lt;/b&gt;: encountered exception, exiting runLoop(): {error}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;s&lt;/b&gt;: E&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;stream&lt;/b&gt;: stdout&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;t&lt;/b&gt;:&lt;/p&gt;

{ [[+]|https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20650bb29b49d37c600ee82da1%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695266377.8807063#] &#160;&#160;&#160;}

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;time&lt;/b&gt;: 2023-09-21T03:11:07.151782139Z&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;mstreamsError%3A%E2%80%9Cfieldnotfound%2Cexpectedtypearray%E2%80%9DfailsstreamProcessorusing%24merge&quot;&gt;&lt;/a&gt;mstreams Error: &#8220;field not found, expected type array&#8221; fails streamProcessor using $merge&lt;/h3&gt;

&lt;p&gt;Works:&lt;/p&gt;

&lt;p&gt;sp.process([ { &apos;$source&apos;:&lt;/p&gt;

{ connectionName: &apos;TestKafka1&apos;, topic: &apos;wiki1&apos; }

&lt;p&gt;}] )&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Fails:&lt;/p&gt;

&lt;p&gt;sp.process([ { &apos;$source&apos;:&lt;/p&gt;

{ connectionName: &apos;TestKafka1&apos;, topic: &apos;wiki1&apos; }

&lt;p&gt;}, { &apos;$merge&apos;: { into:&lt;/p&gt;

{ connectionName: &apos;TestAtlas1&apos;, db: &apos;test&apos;, coll: &apos;wiki1&apos; }

&lt;p&gt;} }] )&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;sp.createStreamProcessor(&apos;kafkaToMongoAttempt6&apos;, [ { &apos;$source&apos;:&lt;/p&gt;

{ connectionName: &apos;TestKafka1&apos;, topic: &apos;wiki1&apos; }

&lt;p&gt;}, { &apos;$merge&apos;: { into:&lt;/p&gt;

{ connectionName: &apos;TestAtlas1&apos;, db: &apos;test&apos;, coll: &apos;wiki1&apos; }

&lt;p&gt;} }] )&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Starting at:&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;state: { partitions: [&lt;/p&gt;

{ partition: 0, offset: 10878743 }

&lt;p&gt;] }&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=1695268260&amp;amp;latest=1695271863&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271930.8816799&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=1695268260&amp;amp;latest=1695271863&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271930.8816799&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;{ &lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271863.8816704#&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[-]&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;_p&lt;/b&gt;: F&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;attr&lt;/b&gt;: { &lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271863.8816704#&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[-]&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;context&lt;/b&gt;:&lt;/p&gt;

{ [[+]|https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271863.8816704#] &#160;&#160;&#160;&#160;&#160;}

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;error&lt;/b&gt;: field not found, expected type array&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;errorCode&lt;/b&gt;: 13111&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;reason&lt;/b&gt;: field not found, expected type array&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;c&lt;/b&gt;: STREAMS&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;ctx&lt;/b&gt;: thread1582&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;id&lt;/b&gt;: 75899&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;kube&lt;/b&gt;:&lt;/p&gt;

{ [[+]|https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271863.8816704#] &#160;&#160;&#160;}

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;msg&lt;/b&gt;: encountered exception, exiting runLoop(): {error}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;s&lt;/b&gt;: W&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;stream&lt;/b&gt;: stdout&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;t&lt;/b&gt;:&lt;/p&gt;

{ [[+]|https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=-60m%40m&amp;amp;latest=now&amp;amp;q=search%20index%3Dmhouse-dev%20kafkaToMongoAttempt6%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695271863.8816704#] &#160;&#160;&#160;}

&lt;p&gt;&#160;&#160;&#160;&lt;b&gt;time&lt;/b&gt;: 2023-09-21T04:50:41.381178725Z&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Also repros with below pipeline Around offset 10854764&lt;/p&gt;

&lt;p&gt;sp.process([&#160;&lt;/p&gt;

&lt;p&gt;{ &apos;$source&apos;:&lt;/p&gt;

{ connectionName: &apos;TestKafka1&apos;, topic: &apos;wiki1&apos; }

&lt;p&gt;},&#160;&lt;/p&gt;

&lt;p&gt;{ &apos;$tumblingWindow&apos;: { interval:&lt;/p&gt;

{ size: 5, unit: &apos;second&apos; }

&lt;p&gt;, pipeline: [&#160;&lt;/p&gt;

&lt;p&gt;{ &apos;$group&apos;: { _id: &apos;$title_url&apos;, count: { &apos;$count&apos;: {} } } },&lt;/p&gt;

&lt;p&gt;{ &apos;$sort&apos;:&lt;/p&gt;

{ count: -1 }

&lt;p&gt;},&lt;/p&gt;

{ &apos;$limit&apos;: 5 }

&lt;p&gt;,&#160;&lt;/p&gt;

&lt;p&gt;{ &apos;$group&apos;: {&#160;&lt;/p&gt;

&lt;p&gt;&#160; _id: null,&#160;&lt;/p&gt;

&lt;p&gt;top_urls: { $push: { top_urls:&lt;/p&gt;

{ title_url: &quot;$_id&quot;, count: &quot;$count&quot; }

&lt;p&gt;}}&#160;&lt;/p&gt;

&lt;p&gt;}}] } },&#160;&lt;/p&gt;

&lt;p&gt;{ &apos;$project&apos;:&lt;/p&gt;

{ _id: 0 }

&lt;p&gt;},&#160;&lt;/p&gt;

&lt;p&gt;{ &apos;$merge&apos;: { into:&lt;/p&gt;

{ connectionName: &apos;TestAtlas1&apos;, db: &apos;test&apos;, coll: &apos;wiki1Top5PerHour&apos; }

&lt;p&gt;} }] )&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Field not found, expecting array&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=1695269414&amp;amp;latest=1695270314&amp;amp;q=search%20index%3Dmhouse-dev%20650bc54849d37c600ee82df8%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695270378.8814113&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://splunk.corp.mongodb.com/en-US/app/cloud/search?earliest=1695269414&amp;amp;latest=1695270314&amp;amp;q=search%20index%3Dmhouse-dev%20650bc54849d37c600ee82df8%20c%3DSTREAMS&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;sid=1695270378.8814113&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&lt;b&gt;error&lt;/b&gt;: field not found, expected type array&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;errorCode&lt;/b&gt;: 13111&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;reason&lt;/b&gt;: field not found, expected type array&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;mstreamsasyncfailurejustreports%E2%80%9Cresourcehasnoheartbeat%E2%80%9D%2Cweshouldsupplytheerrormessagefrommstreams&quot;&gt;&lt;/a&gt;mstreams async failure just reports &#8220;resource has no heartbeat&#8221;, we should supply the error message from mstreams&lt;/h3&gt;

&lt;p&gt;&#160;&#160;{&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;id: &apos;650bb57f49d37c600ee82dbc&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;name: &apos;kafkaToCollectionAttempt2&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;lastModified: ISODate(&quot;2023-09-21T03:16:15.924Z&quot;),&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;state: &apos;FAILED&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;errorMsg: &apos;resource has no heartbeat&apos;,&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;pipeline: [&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;{ &apos;$source&apos;:&lt;/p&gt;

{ connectionName: &apos;TestKafka1&apos;, topic: &apos;wiki1&apos; }

&lt;p&gt;},&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;{&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&apos;$merge&apos;: {&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;into:&lt;/p&gt;

{ connectionName: &apos;TestAtlas1&apos;, db: &apos;test&apos;, coll: &apos;wiki1&apos; }

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;&#160;&#160;}&lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160;&#160;]&lt;/p&gt;

&lt;p&gt;&#160;&#160;},&lt;/p&gt;</description>
                <environment></environment>
        <key id="2447990">SERVER-81298</key>
            <summary>Streams: &quot;field not found, expected type array&quot; during network failure in MergeOperator</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="13201">Fixed</resolution>
                                        <assignee username="matthew.normyle@mongodb.com">Matthew Normyle</assignee>
                                    <reporter username="matthew.normyle@mongodb.com">Matthew Normyle</reporter>
                        <labels>
                            <label>init-337-m3</label>
                            <label>prioritize</label>
                    </labels>
                <created>Thu, 21 Sep 2023 13:59:08 +0000</created>
                <updated>Sun, 29 Oct 2023 21:16:05 +0000</updated>
                            <resolved>Fri, 22 Sep 2023 16:52:41 +0000</resolved>
                                                    <fixVersion>7.2.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25414"><![CDATA[Atlas Streams]]></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>Thu, 21 Sep 2023 21:30:53 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        19 weeks, 6 days 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>STREAMS-483</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>
                            19 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>matthew.normyle@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2rj7r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr1evo:cj9c</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7699">Sprint 32</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|i2r5d3:</customfieldvalue>

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