Questions tagged [mongodb-4.2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
6 views

MongoDB replica set and db.stats()

We just added a node to our replica set. After the node's state switched to SECONDARY, I do use obs db.stats() on both the PRIMARY node and the new SECONDARY. PRIMARY SECONDARY &...
1
vote
2answers
58 views

Failed to start mongo.service on ubuntu 16.04 after update from 4.0 to 4.2

I'm trying to update my MongoDB installation from 3.6 to the latest version [4.4] on Ubuntu16.04 using apt-get. Going from 4.0 to 4.2 I faced a problem during the startup process after updating the ...
0
votes
2answers
180 views

Oplog incremental backup failure

I have scheduled oplog incremental dump using mongodump but it fails very often on majority of the servers. I have a shard cluster with around 200GB of oplog size defined and around 30-40 hours of ...
0
votes
0answers
75 views

MongoDB service showing down but db is running

I have a strange problem. I am using mongodb version 4.2.8 on Redhat Linux 7. Using Master Slave Replication. When I check mongodb service status (systemctl status mongod.service) it shows as failed(...
0
votes
1answer
39 views

Consequences of increase Oplog to large size

I'm trying to add a new member (m*-server: 4.2.7) in my replica set (m*-servers: 4.2.1), and it can't sync in time, after the initial sync it changes state to RECOVERING and have: (~ 4.3 - 6.31 hrs) ...
0
votes
0answers
31 views

MongoDb write performance degradation when increasing the number of concurrent writers

I was testing MongoDb write performance and noticed the following behaviour: when I increase the number of concurrent writers, the average time needed to write a document increases as well and ...
0
votes
1answer
2k views

MongoDB - Replication Oplog Window has gone below 1 hours

I'm working with MongoDB Atlas and I have a cluster of 3 with M30 and 100gb of storage. My current usecase is the following: - An user dispatches one search in my platform - The platform dispatches ...
0
votes
0answers
15 views

Remove all Node Descendants when remove Node parent in MongoDB

I have data in MongoDB as Tree Structures model. Here is my data: use TreeMongoParent; db.categoriesPCO.insert({_id:"Electronics",parent:null}); db.categoriesPCO.insert({_id:"Cameras_and_Photography",...
0
votes
1answer
14 views

Mongo assigning user permsions issue on docker

I'm using docker image mongo and I extend it to create a user and assign permissions on image build with such a line COPY init.sh /docker-entrypoint-initdb.d/ Here is the init.sh: #!/bin/bash set -e;...
0
votes
1answer
207 views

Mongo slow startup after upgrade to 4.2.5

I have upgraded the MongoDB replica set, which consists of 3 members, from 4.0.11 to 4.2.5. After upgrading, startup lasts about 5 minutes. Before upgrading it was instant. It is related to ...
0
votes
1answer
105 views

mongorestore - documents fail validation

The similar question already have been asked: How to validate a mongorestore But how to actually validate the documents in mongodumb and mongorestore? And also - can I see the documents that fail ...
0
votes
3answers
7k views

Failed to start of service MongoDB community4.2 using Homebrew in Mac OS Mojave 10.14

Error message while starting the mongoDB service. Error: Permission denied @ rb_sysopen - /Users/syedahmed/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist I installed/reinstall the ...
0
votes
1answer
347 views

MongoDB 4.2 using change streams with read concern majority disabled in a PSA deployment

I currently run a PSA (Primary, Secondary, Arbiter) deployment and thous only have two databearing nodes. In case of a databearing node going down, read concern majority prevented the change stream to ...