All Questions
Tagged with replication mongodb
388 questions
0
votes
0
answers
65
views
mongodb 8.0.4 repl set (3 members, PSA) repeatedly logs AuthenticationAbandoned
We are running a self-hosted mongodb deployment as a three member replica set (PSA), recently upgraded from mongodb 6.0.3 to 8.0.4. We are running in a containerized environment. Every so often, I see ...
0
votes
0
answers
39
views
Do Model.find() on replicate MongoDB
Hi everyone i have a problem and i need to solve for my project of university. One of my teachers said i needed a replicate database but when i make a simple request Model.find() return a error ...
0
votes
0
answers
39
views
Flip between standalone and replicaset
I've been running a 3 member replicaset for 8 months, but due to failures at a host, 2 members failed.
I got my surviving member to restart in standalone mode.
Question: now that the host failures are ...
2
votes
1
answer
312
views
MongoDB connection error with Go, ReplicaSetNoPrimary
I am trying to connect to MongoDB from my Go application but getting an error with ReplicaSetNoPrimary.
Here is my code connection to MongoDB:
exmple of MongoDB URI:
mongodb+srv://user:pass@ntw....
1
vote
1
answer
190
views
MongoDB new Replica Set member's syncSourceHost
When i try to add new replicaSet member to my rs, their syncSourceHost's are always different and certainly not PRIMARY node. They all secondaries. Why is that happening? Is there a default setting or ...
0
votes
0
answers
82
views
Unable to connect to mongod instance started with --configsvr option
I am trying to create a mongo sharded cluster. First of all, I want to create a config server replica set with docker compose.
My docker-compose.yml file
version: "3.8"
services:
mongo1:
...
0
votes
2
answers
381
views
mongodb statefulset pods restarting without any useful error during replication
I am trying to run a mongodb statefulset on minikube with replication but the pods keep restarting without any apparent reason. I have searched all over trying to debug this issue. Following is my ...
0
votes
0
answers
166
views
How to Achieve Master-Master Replication in MongoDB for Two Databases in Different Locations?
I'm working on a project where I need to deploy two MongoDB databases in different geographical locations. I want both databases to work independently, allowing reads and writes on both sides. However,...
1
vote
1
answer
67
views
Should i use transactions to update child table, if any field changes in Parent table?
product:
name
description
category
productVariants:
productId
productName
sku
price
What method should I use to reflect changes in the productVariants table, if product ...
0
votes
1
answer
532
views
Continuous copy or replication from MongoDB Atlas to Google BigQuery
We have IoT data coming into MongoDB Atlas and will need to continuously copy/replicate it into Google BigQuery. Trying to find a way that does not involve 3rd party SAAS solution due to budget ...
0
votes
1
answer
301
views
MongoDB replication issue with 2 nodes
I have configured my mongo DB replica set with 2 nodes (our use case is not fail over case), So we have one primary and one non-voting secondary, and no arbiter. The idea is to have normal application ...
0
votes
1
answer
102
views
Setup mongo image enabling replication and restore backup from /data/db with docker
I am trying by deploying a mongo image that enables replica with a master a slave and restores information through a volume from the /data/db/ directory
when I do not do any replication, the database ...
0
votes
1
answer
677
views
Dockerfile ENTRYPOINT not updating [duplicate]
I have a dockerfile that I'm creating for a project. I've tried to update the ENTRYPOINT to my shell script but I don't see it in the docker inspect readout. My docker-entrypoint.sh permission is ...
0
votes
0
answers
570
views
Facing error with error message “Waiting for an isMaster response from a topology change or until deadline”
I am working on a project, In which we are processing high amount of data.
We are using mongoDb as database into our project, I have setup replicas on my mongoDb, with 3 replica sets(1 as primary, 2 ...
1
vote
1
answer
273
views
Running `mongod --config path` yields Error parsing command line
I was trying to create a mongodb (6.1.1) server with mongod with a custom config, but when I run mongod --config path the console yields Error parsing command line: Multiple occurrences of option &...