<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:26:34 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-11719] Mongos crash when log rotating</title>
                <link>https://jira.mongodb.org/browse/SERVER-11719</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When performing logrotation on mongos logs, sometimes it crashes, showing following info:&lt;br/&gt;
Fri Nov 15 12:10:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7261&amp;#93;&lt;/span&gt; ERROR: Failed to rename &apos;/var/log/mongo/mongos.log&apos; to &apos;/var/log/mongo/mongos.log.2013-11-15T11-10-01&apos;: errno:2 No such file or directory&lt;br/&gt;
Fri Nov 15 12:10:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7261&amp;#93;&lt;/span&gt;   Fatal Assertion 16175&lt;br/&gt;
Fri Nov 15 12:10:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7260&amp;#93;&lt;/span&gt; ERROR: Failed to rename &apos;/var/log/mongo/mongos.log&apos; to &apos;/var/log/mongo/mongos.log.2013-11-15T11-10-01&apos;: errno:2 No such file or directory&lt;br/&gt;
Fri Nov 15 12:10:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7260&amp;#93;&lt;/span&gt;   Fatal Assertion 16175&lt;br/&gt;
0x81fa31 0x7e75c3 0x5b8e31 0x706554 0x79fab2 0x791dd3 0x76605b 0x501e31 0x80da95 0x7fa0eb2d3851 0x7fa0ea67990d&lt;br/&gt;
0x81fa31 0x7e75c3 0x5b8e31 0x706554 0x79fab2 0x791dd3 0x76605b 0x501e31 0x80da95 0x7fa0eb2d3851 0x7fa0ea67990d&lt;br/&gt;
Fri Nov 15 12:10:01 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7259&amp;#93;&lt;/span&gt; end connection 127.0.0.1:49191 (127 connections now open)&lt;br/&gt;
 /usr/bin/mongos(_ZN5mongo15printStackTraceERSo+0x21) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x81fa31&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongos(_ZN5mongo13fassertFailedEi+0xa3) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x7e75c3&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongos() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x5b8e31&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongos(_ZN5mongo7Command20runAgainstRegisteredEPKcRNS_7BSONObjERNS_14BSONObjBuilderEi+0x764) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x706554&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /usr/bin/mongos(_ZN5mongo14SingleStrategy7queryOpERNS_7Reque..&lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;script to rotate is as follows:&lt;br/&gt;
MONGO_BIN=&quot;/usr/bin/mongo --verbose&quot;&lt;br/&gt;
MONGO_HOST=&quot;localhost&quot;&lt;br/&gt;
PORT1=10000&lt;br/&gt;
$MONGO_BIN $MONGO_HOST:$PORT1/admin  --eval &quot;printjson(db.runCommand( &lt;/p&gt;
{ logRotate : 1 }
&lt;p&gt; ))&quot;&lt;/p&gt;

</description>
                <environment>redhat 6.4</environment>
        <key id="98535">SERVER-11719</key>
            <summary>Mongos crash when log rotating</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="pjgomez@full-on-net.com">Pedro G&#243;mez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Nov 2013 13:33:22 +0000</created>
                <updated>Wed, 10 Dec 2014 23:06:07 +0000</updated>
                            <resolved>Fri, 15 Nov 2013 14:48:12 +0000</resolved>
                                    <version>2.2.6</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="93309">SERVER-11087</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 13 weeks, 5 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 13 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </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>pjgomez@full-on-net.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrm7ev:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>90272</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_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|hsp4tr:</customfieldvalue>

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