{"repo":"BitWise-0x/MongoDB-ReplicaSet-Manager","free":true,"listed":false,"github":"https://github.com/BitWise-0x/MongoDB-ReplicaSet-Manager","clone":"git clone https://github.com/BitWise-0x/MongoDB-ReplicaSet-Manager.git","description":"MongoDB Replica Set Controller for Docker Swarm","language":"Python","stars":14,"topics":["database-management","mongodb","scaling","self-healing-systems","devops","docker","docker-swarm","high-availability","python","replica-set"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"MongoDB-ReplicaSet-Manager Automated configuration, monitoring, and management of a MongoDB replica set in Docker Swarm. Ensures continuous operation and adapts to topology changes for high availability and data consistency. Read the full write-up: Building Production MongoDB Replica Sets in Docker Swarm — covers architecture decisions, failover benchmarks, and production lessons learned. --- Quick Start --- Features Deployment Intelligence - Intelligent Fresh Deployment : Configures and initiates a replica set from scratch with smart node detection, accounting for down or unavailable swarm nodes and deployment constraints. - Smart Redeployment Detection : Automatically detects container redeployments with changed IP addresses and immediately updates configuration without unnecessary delays or false initialization attempts. - Optimized Performance : Fast reconfiguration during full redeployments with intelligent primary detection using current task IPs instead of stale configuration data. - Advanced Startup Handling : Robust retry logic handles MongoDB transitional states ( NotYetInitialized ) during startup, distinguishing between temporary states and actual fresh deployments. Runtime Management - Primary Node Management : Automatic primary designation, tracking, and failover handling with intelligent election timeout and forced reconfiguration when needed. - Dynamic Scaling : Real-time addition and removal of MongoDB nodes during runtime with automatic replica set reconfigu","default_branch":null,"files":null,"tree":[],"storefront":"/r/BitWise-0x","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BitWise-0x/MongoDB-ReplicaSet-Manager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}