<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:12:58 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>[DOCS-15459] Create &quot;Known Issue&quot; docs for ChangeStreamHistoryLost Trigger error</title>
                <link>https://jira.mongodb.org/browse/DOCS-15459</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;A common Trigger error is a Trigger becoming suspended as a result of the error: &lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#8f221b&quot;&gt;(ChangeStreamHistoryLost) Resume of change stream was not possible, as the resume point may no longer be in the oplog.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;We should create an entry in the &lt;a href=&quot;https://www.mongodb.com/docs/atlas/app-services/reference/issues-and-workarounds/#known-issues%E2%80%94workarounds&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Known Issues &amp;amp; Workaround&lt;/a&gt; documentation for Atlas App Services describing the meaning of this error and the implications.&lt;/p&gt;

&lt;p&gt;Having a public resource for this error may provide us the opportunity to link users to this guidance in the UI whenever these errors manifest, offering proactive guidance and improving the user experience.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2079683">DOCS-15459</key>
            <summary>Create &quot;Known Issue&quot; docs for ChangeStreamHistoryLost Trigger error</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="nathan.contino@mongodb.com">Nathan Contino</assignee>
                                    <reporter username="adam.harrison@mongodb.com">Adam Harrison</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Jun 2022 17:01:48 +0000</created>
                <updated>Wed, 4 Jan 2023 17:04:38 +0000</updated>
                            <resolved>Thu, 14 Jul 2022 02:41:37 +0000</resolved>
                                                                    <component>Realm</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4680953" author="JIRAUSER1257879" created="Fri, 15 Jul 2022 00:50:32 +0000"  >&lt;p&gt;I&apos;ve explained some of this in the community thread below:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.mongodb.com/community/forums/t/translatorfatalerror-with-realm-sync/120244/5?u=mansoor_omar&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/community/forums/t/translatorfatalerror-with-realm-sync/120244/5?u=mansoor_omar&lt;/a&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="4660740" author="adam.harrison" created="Wed, 6 Jul 2022 16:13:51 +0000"  >&lt;p&gt;Some additional context / thoughts:&lt;/p&gt;

&lt;p&gt;Ideally this should include some brief discussion about the oplog window, but unfortunately we don&apos;t have any good publicly facing documentation that clearly describes the oplog window (&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-13830&quot; title=&quot;[SERVER] Define the &amp;quot;oplog replication window&amp;quot; &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-13830&quot;&gt;&lt;del&gt;DOCS-13830&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

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

&lt;p&gt;I responded to a case with the following language, trying to get around defining the oplog window:&lt;/p&gt;
&lt;div class=&quot;panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot;&gt;
&lt;p&gt;The ChangeStreamHistoryLost error is an indication that your Database Trigger is attempting to restart from a point-in-time which is no longer contained within the&#160;&lt;a href=&quot;https://www.mongodb.com/docs/manual/core/replica-set-oplog/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;replica set oplog&lt;/a&gt; - an internal collection which keeps a rolling list of all operations which modify data stored in your database. Database Triggers leverage the data stored in this collection to understand what types of write operations have been performed.&lt;/p&gt;

&lt;p&gt;The Trigger can be restarted without a&#160;&lt;a href=&quot;https://www.mongodb.com/docs/manual/changeStreams/#resume-tokens&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;resume token&lt;/a&gt;, but this means that there will be one or more modifications which occurred on the cluster for which the Trigger will not have processed. See&#160;&lt;a href=&quot;https://www.mongodb.com/docs/atlas/app-services/triggers/examples/resume-a-suspended-trigger/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Resume a Suspended Trigger&lt;/a&gt; for more information.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;We should also mention that having event ordering enabled for a Trigger can be a leading cause of Triggers falling off the oplog. We can link to &lt;a href=&quot;https://www.mongodb.com/docs/atlas/app-services/triggers/database-triggers/#disable-event-ordering-for-burst-operations&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/atlas/app-services/triggers/database-triggers/#disable-event-ordering-for-burst-operations&lt;/a&gt; for this.&lt;/p&gt;</comment>
                            <comment id="4660736" author="chris.bush" created="Wed, 6 Jul 2022 16:12:44 +0000"  >&lt;p&gt;Should be documented in maxOfflineTime&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1440688">DOCS-13830</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5006R00001mdnUHQAY]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Jul 2022 16:12:44 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 29 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_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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 29 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adam.harrison@mongodb.com</customfieldvalue>
            <customfieldvalue>chris.bush@mongodb.com</customfieldvalue>
            <customfieldvalue>mansoor.omar@mongodb.com</customfieldvalue>
            <customfieldvalue>nathan.contino@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i10hvb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0jcao:</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_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i1040n:</customfieldvalue>

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