<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:31:10 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-53522] Sharding: Could not find host matching read preference { mode: &quot;primary&quot; } for set clockwork</title>
                <link>https://jira.mongodb.org/browse/SERVER-53522</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;ongo shard, balancer not running, getting below error:&lt;br/&gt;
Could not find host matching read preference { mode: &quot;primary&quot; } for set clockwork&lt;br/&gt;
 Notes&lt;br/&gt;
1. When mongo cluster was running with authentication and authorization, I was getting error for second shard.&lt;br/&gt;
2. Then I disabled authentication and authorization and restarted entire cluster, I started getting error for first cluster named clockwork. &lt;br/&gt;
3. Shard state is retruned true.&lt;/p&gt;

&lt;p&gt;I am getting nowhere from last 3 days, kindly help here.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1577471">SERVER-53522</key>
            <summary>Sharding: Could not find host matching read preference { mode: &quot;primary&quot; } for set clockwork</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="9">Done</resolution>
                                        <assignee username="eric.sedor@mongodb.com">Eric Sedor</assignee>
                                    <reporter username="monika.1234yadav@gmail.com">monika yadav</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Dec 2020 12:49:48 +0000</created>
                <updated>Fri, 21 May 2021 17:21:46 +0000</updated>
                            <resolved>Fri, 21 May 2021 17:21:46 +0000</resolved>
                                    <version>4.0.21</version>
                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3805946" author="eric.sedor" created="Fri, 21 May 2021 17:21:31 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=monika.1234yadav%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;monika.1234yadav@gmail.com&quot;&gt;monika.1234yadav@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;I am closing this ticket, but if you are able to provide the information I requested &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-53522?focusedCommentId=3547601&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-3547601&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; we would be happy to reopen.&lt;/p&gt;

&lt;p&gt;Sincerely,&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                            <comment id="3665755" author="eric.sedor" created="Mon, 15 Mar 2021 23:04:48 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;We still need additional information to diagnose the problem. If this is still an issue for you, can you please provide the logs, diagnostic data, and timestamps we&apos;ve requested?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                            <comment id="3547601" author="eric.sedor" created="Mon, 4 Jan 2021 19:44:39 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=monika.1234yadav%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;monika.1234yadav@gmail.com&quot;&gt;monika.1234yadav@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Sorry for the delay and thanks for your patience! Are you still experiencing this issue?&lt;/p&gt;

&lt;p&gt;If so, we&apos;d like to collect more information to help determine if we suspect a bug is involved. I&apos;ve created a support uploader &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/8beddc2b-4157-46ee-95b1-88152f71053f.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;support uploader&lt;/a&gt; portal for you. Files uploaded to this portal are visible only to MongoDB employees and are routinely deleted after some time.&lt;/p&gt;

&lt;p&gt;For the mongos, and any shard prompting the error you see, can you please upload an archive (tar or zip) the mongod.log files and the &lt;tt&gt;$dbpath/diagnostic.data&lt;/tt&gt; directory (the contents are described &lt;a href=&quot;https://docs.mongodb.com/manual/administration/analyzing-mongodb-performance/#full-time-diagnostic-data-capture&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;)?&lt;/p&gt;

&lt;p&gt;Since some time has passed it will also help if you can provide some recent timestamps of errors.&lt;/p&gt;

&lt;p&gt;Gratefully,&lt;br/&gt;
Eric&lt;/p&gt;</comment>
                            <comment id="3541866" author="monika.1234yadav@gmail.com" created="Thu, 24 Dec 2020 13:22:57 +0000"  >&lt;p&gt;On Mongos I am getting below error:&lt;/p&gt;

&lt;p&gt;2020-12-24T13:14:48.312+0000 I CONTROL&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;LogicalSessionCacheReap&amp;#93;&lt;/span&gt; Sessions collection is not set up; waiting until next sessions reap interval: No chunks were found for the collection&lt;/p&gt;

&lt;p&gt;2020-12-24T13:08:50.306+0000 I NETWORK&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitor-TaskExecutor&amp;#93;&lt;/span&gt; Successfully connected to &amp;lt;cluster-shard1-primary-node&amp;gt; (1 connections now open to 10.5.11.131:27017 with a 5 second timeout)&lt;/p&gt;

&lt;p&gt;2020-12-24T13:08:50.307+0000 W NETWORK&#160; &lt;span class=&quot;error&quot;&gt;&amp;#91;ReplicaSetMonitor-TaskExecutor&amp;#93;&lt;/span&gt; Unable to reach primary for set &amp;lt;cluster-shard-1&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 4 Jan 2021 19:44:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 37 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>eric.sedor@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 37 weeks, 5 days 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>eric.sedor@mongodb.com</customfieldvalue>
            <customfieldvalue>monika.1234yadav@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyndfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy96e7:</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_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>
                                    <customfieldvalue><![CDATA[eric.sedor@mongodb.com]]></customfieldvalue>
    

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

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