<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shrey Batra on foojay.io - Friends of OpenJDK</title><link>https://foojayio.github.io/website/today/author/shrey-batra/</link><description>Articles written by Shrey Batra on foojay.io - Friends of OpenJDK</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 26 Aug 2025 15:14:03 +0000</lastBuildDate><atom:link href="https://foojayio.github.io/website/today/author/shrey-batra/index.xml" rel="self" type="application/rss+xml"/><item><title>What happens when a Primary fails in a MongoDB replica set?</title><link>https://foojayio.github.io/website/today/what-happens-when-a-primary-fails-in-a-mongodb-replica-set-automatic-failovers/</link><pubDate>Tue, 26 Aug 2025 15:14:03 +0000</pubDate><guid>https://foojayio.github.io/website/today/what-happens-when-a-primary-fails-in-a-mongodb-replica-set-automatic-failovers/</guid><description>&lt;p&gt;In distributed systems, high availability is not a luxury&amp;mdash;it&amp;rsquo;s a necessity. And one of the very important parts of that is automatic failovers. What are automatic failovers and how do they work? Let&amp;rsquo;s see today!&lt;/p&gt;
&lt;p&gt;These concepts are actually similar in every database, but as &lt;a href="https://www.mongodb.com/cloud/atlas/register/?utm_campaign=devrel&amp;amp;utm_source=third-party-content&amp;amp;utm_medium=cta&amp;amp;utm_content=shrey-foojay&amp;amp;utm_term=tony.kim" target="_blank" rel="noopener noreferrer"&gt;MongoDB&lt;/a&gt;
 is natively built for replica-sets, we will talk about that here, whereas other DB systems need 3rd-party or managed systems to implement the same.&lt;/p&gt;</description></item></channel></rss>