<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59:55 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>[JAVA-3568] The server is not the primary and did not execute the operation; nested exception is com.mongodb.MongoNotPrimaryException: The server is not the primary and did not execute the operation</title>
                <link>https://jira.mongodb.org/browse/JAVA-3568</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The server is not the primary and did not execute the operation; nested exception is com.mongodb.MongoNotPrimaryException:The&#160;server&#160;is&#160;not&#160;the&#160;primary&#160;and&#160;did&#160;not&#160;execute&#160;the&#160;operation.&lt;br/&gt;
&#160;&lt;br/&gt;
All the cluster IP&apos;s are mentioned in property files and&#160;replicaSet is also mentioned. So no new IP&apos;s also not added in the cluster.&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;br/&gt;
Take this issue as high priority and provide the solution to resolve this issue.&lt;/p&gt;</description>
                <environment>Production</environment>
        <key id="1064505">JAVA-3568</key>
            <summary>The server is not the primary and did not execute the operation; nested exception is com.mongodb.MongoNotPrimaryException: The server is not the primary and did not execute the operation</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="-1">Unassigned</assignee>
                                    <reporter username="ashokkumarsoft99@gmail.com">Ashok R</reporter>
                        <labels>
                    </labels>
                <created>Sun, 22 Dec 2019 16:19:05 +0000</created>
                <updated>Wed, 22 Sep 2021 18:47:59 +0000</updated>
                            <resolved>Thu, 26 Dec 2019 18:22:52 +0000</resolved>
                                                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2678365" author="ashokkumarsoft99@gmail.com" created="Fri, 27 Dec 2019 10:06:17 +0000"  >&lt;p&gt;Thanks&#160;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Jeffrey Yemin&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2664006" author="jeff.yemin" created="Thu, 26 Dec 2019 18:22:52 +0000"  >&lt;p&gt;From the exception, it looks like either a read or a write operation failed, most likely because it occurred during a replica set failover.  To minimize application-visible exceptions, I suggest enabling both retryable reads and retryable writes in your MongoClient configuration.&lt;/p&gt;

&lt;p&gt;Just to let you know for future reference the best place for questions regarding MongoDB usage or the Java driver specifics is the &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user mailinglist&lt;/a&gt; or &lt;a href=&quot;http://stackoverflow.com&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;stackoverflow&lt;/a&gt; as you will reach a broader audience there.  If your business requires an answer from MongoDB within a time frame then we do offer &lt;a href=&quot;https://www.mongodb.com/products/production-support&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;production support&lt;/a&gt;.&lt;/p&gt;
</comment>
                            <comment id="2660514" author="ashokkumarsoft99@gmail.com" created="Sun, 22 Dec 2019 17:17:08 +0000"  >&lt;p&gt;This issue is from Spring Boot application and currently we are using&#160;&amp;lt;version&amp;gt;2.0.1.RELEASE&amp;lt;/version&amp;gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6t7r:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>