<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:55:26 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-40591] Do not log WiredTiger EINVAL errors at the error level</title>
                <link>https://jira.mongodb.org/browse/SERVER-40591</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Storage code specially handles &quot;&lt;a href=&quot;https://github.com/mongodb/mongo/blob/95bb948f7e5e573ca1473ba43dd6fd8e53cb5f50/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp#L564-L566&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;snapshot too old&lt;/a&gt;&quot; because it&apos;s an expected error that queries can race with. In those cases, WT &lt;a href=&quot;https://github.com/mongodb/mongo/blob/95bb948f7e5e573ca1473ba43dd6fd8e53cb5f50/src/third_party/wiredtiger/src/txn/txn_timestamp.c#L922-L924&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;will also log a message&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;However, that message is &lt;a href=&quot;https://github.com/mongodb/mongo/blob/95bb948f7e5e573ca1473ba43dd6fd8e53cb5f50/src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp#L403-L404&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;logged by MongoDB as an error&lt;/a&gt; which is not ideal.&lt;/p&gt;</description>
                <environment></environment>
        <key id="736567">SERVER-40591</key>
            <summary>Do not log WiredTiger EINVAL errors at the error level</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13203">Gone away</resolution>
                                        <assignee username="louis.williams@mongodb.com">Louis Williams</assignee>
                                    <reporter username="daniel.gottlieb@mongodb.com">Daniel Gottlieb</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Apr 2019 18:55:20 +0000</created>
                <updated>Fri, 27 Oct 2023 20:42:54 +0000</updated>
                            <resolved>Mon, 10 Jun 2019 16:01:47 +0000</resolved>
                                                                    <component>Logging</component>
                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2277857" author="louis.williams" created="Mon, 10 Jun 2019 16:01:48 +0000"  >&lt;p&gt;Closing because &lt;a href=&quot;https://jira.mongodb.org/browse/WT-4844&quot; title=&quot;Only log an informational message when a set read-timestamp is older than the oldest timestamp.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;WT-4844&quot;&gt;&lt;del&gt;WT-4844&lt;/del&gt;&lt;/a&gt; eliminates error logging of these messages.&lt;/p&gt;</comment>
                            <comment id="2269641" author="alexander.gorrod" created="Mon, 3 Jun 2019 21:09:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=keith.bostic&quot; class=&quot;user-hover&quot; rel=&quot;keith.bostic&quot;&gt;keith.bostic&lt;/a&gt; Could you please do a review of the proposed change here?&lt;/p&gt;</comment>
                            <comment id="2265902" author="david.daly" created="Thu, 30 May 2019 19:56:31 +0000"  >&lt;p&gt;That would make the error go away. If that is a reasonable change, then please go for it.&#160;&lt;/p&gt;</comment>
                            <comment id="2265821" author="louis.williams" created="Thu, 30 May 2019 19:26:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.daly&quot; class=&quot;user-hover&quot; rel=&quot;david.daly&quot;&gt;david.daly&lt;/a&gt; Would lowering the log level to WARN fix the performance test problems?&lt;/p&gt;</comment>
                            <comment id="2216365" author="daniel.gottlieb@10gen.com" created="Wed, 17 Apr 2019 13:47:20 +0000"  >&lt;p&gt;That&apos;s a good, but complicated question. We&apos;re not entirely sure right now what the right thing is to do with this problem. But I do think we can lower-bound an estimation based on the following (I believe agreed upon) assumptions:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;It&apos;s expected for code in &lt;tt&gt;src/mongo/db/...&lt;/tt&gt; to call into &lt;tt&gt;src/third_party/wiredtiger/...&lt;/tt&gt; with a read timestamp that is no longer valid. MongoDB gracefully handles the error that&apos;s programatically returned.&lt;/li&gt;
	&lt;li&gt;WiredTiger will always log an error in this scenario. Changing that behavior will require waiting for WT work to be scheduled, pushed and dropped.&lt;/li&gt;
	&lt;li&gt;A MongoDB solution that guarantees it never races calls into WT that could invalidate an incoming read timestamp, but there&apos;s risk it would be prohibitively expensive, more error prone and would likely be backed out when a more cooperative solution that requires some WT change becomes available.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If you need something sooner than ~2 weeks (the estimate to get WT work to happen and dropped) to stem the false positives for the perf test failures, I&apos;d recommend exploring a solution that omits failing on that particular log message.&lt;/p&gt;</comment>
                            <comment id="2216335" author="david.bradford" created="Wed, 17 Apr 2019 13:27:34 +0000"  >&lt;p&gt;We are seeing this log message really frequently in our performance tests, which is causing them to be marked as failures. Is there any idea of when this work might get scheduled?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="788933">WT-4844</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="667001">SERVER-38871</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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 17 Apr 2019 13:27:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 35 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/WT-4844'>WT-4844</a></s>]]></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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 35 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alexander.gorrod@mongodb.com</customfieldvalue>
            <customfieldvalue>daniel.gottlieb@mongodb.com</customfieldvalue>
            <customfieldvalue>david.bradford@mongodb.com</customfieldvalue>
            <customfieldvalue>david.daly@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huu6p3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huias7:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2983">Execution Team 2019-06-03</customfieldvalue>
    <customfieldvalue id="2984">Execution Team 2019-06-17</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|hutsyf:</customfieldvalue>

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