Questions tagged [mongodb-4.0]

84 questions
8
votes
1 answer

How can I reduce time spent acquiring the mongodb schema lock?

We have a mongodb 4.0.10 cluster, backed by WiredTiger, in production, with a 3 node replica set consisting of a master and two slaves. One of the slaves has another service co-located that queries the slave extensively. In addressing some…
expez
  • 83
  • 6
8
votes
3 answers

Unable to start mongodb as a service - Exception; Collection does not have UUID in KVCatalog

I have installed Mongodb 4.2 and when running sudo service mongod start|restart It does not start the server and I have the log below in mongod.log file. Exception in initAndListen: MustDowngrade: Collection does not have UUID in KVCatalog.…
ako
  • 183
  • 1
  • 6
3
votes
2 answers

mongodb removeShard issue with config.system.session

I have a staging mongodb 4.0.19 sharded cluster with 2 replica set shards . I want to remove one shard. I followed the documentation: https://docs.mongodb.com/v4.0/tutorial/remove-shards-from-cluster/index.html and used removeShard command. But one…
coconut30
  • 31
  • 1
3
votes
2 answers

can't update user password on Mongodb 4.0.5 (Use of SCRAM-SHA-256 requires undigested passwords)

I'm trying to update a password from a user, using changeUserPassword(), and I just receive the following message: Error: Updating user failed: Use of SCRAM-SHA-256 requires undigested passwords > db mydb > db.getUsers() [ { "_id" :…
ivanleoncz
  • 291
  • 1
  • 3
  • 14
3
votes
1 answer

32GB RAM needed to work with 200.000.000 rows in MongoDB?

I've been playing with a large dataset, consisting of a few tens of billions of rows of small ascii strings. I want to count the number of occurrences of each string in the dataset, and i suspect the unique number of strings is about 1 billion. I've…
user37203
  • 141
  • 2
2
votes
0 answers

shard migration failed with aborted at system.config.sessions collection!

A month ago, I have upgraded my mongodb cluster to version 4.4.1 from 3.6. Then recently mongodb shard migration failed with error 'aborted' as follows: balancer: Currently enabled: yes Currently running: no Failed balancer rounds in…
jelongpark
  • 61
  • 4
2
votes
1 answer

Read Concern Majority when majority nodes are down

I have a 6 node replica set (all of them data bearing) with 5 voting members. If I lose 3 voting members, I will not have a majority voting members and my replica set will become read-only. In this scenario, if the application has a read concern of…
user2405589
  • 123
  • 2
  • 5
2
votes
1 answer

Why does MongoDB 4.0 require journaling for replica set members using WiredTiger?

This is a very interesting change in version 4.0 since checkpoints seem to serve a very similar role to journaling. The checkpoint ensures that the data files are consistent up to and including the last checkpoint; i.e. checkpoints can act as…
Breedly
  • 165
  • 6
2
votes
0 answers

MongoDB Chunk Migration fails with "error 'aborted'"

I have a simple setup: 2 Mongos 3 Shards, deployed as a Replica Set 3 Config Servers, deployed as a Replica Set Each replica set consists of 1 Primary, 1 Secondary and 1 Arbiter. (Except the Config Servers, they don't contain an arbiter). Beside…
Snowball
  • 121
  • 2
2
votes
0 answers

Adding to MongoDB a new shard. How to minimize Impact on server loads

Is the possible to minimize Impact on server loads while adding to MongoDB 4.2 a new shard? I have found this recommendation. It could help but I sure should be few more thing which we can do. Prior to a new shard, I would first explore setting…
2
votes
1 answer

How to set a correct value for wiredTiger concurrentTransactions

I have a single instance in server with 7 Processor and 15 Gb. In value default for wiredTigerConcurrentReadTransactions and wiredTigerConcurrentWriteTransactions is 128. But is value default, how to calculate the ideal value for…
2
votes
0 answers

Mongodb return Error : $cursor stage :: caused by :: operation was interrupted

In recently, i meet a problem with mongodb. After i surveyed on google, there is no good result unfortunately. So i really wish anyone could answer it. As title, there is a kind of error message in my mongo.log. The error occasionally occurs while…
Aaron
  • 21
  • 3
2
votes
2 answers

Mongodb consumes too much RAM during replica resync

I have a mongodb cluster with 2 data nodes and 1 arbiter. I use mongodb 4.0.7 for all my centos VMs. A few days ago one of my servers (lets call it data-2) had a fatal crash and requested a complete resync of the data. After restarting mongodb on…
ST-DDT
  • 280
  • 2
  • 9
2
votes
1 answer

Fastest way to move Collection from Sharded MongoDB Cluster to a another Sharded MongoDB Cluster

I have to move a MongoDB Collection (Size: 1TB+) from Sharded MongoDB Cluster to another[5 shards on both clusters]. During this operation, it is assumed that the accompanying program will be offline, so no need to worry about inconsistent data, but…
andy_l
  • 31
  • 1
  • 3
2
votes
0 answers

Mongodb secondary reads data at 100% 24/7

We have a Mongodb 4.0 database, running a replica set with 3 members. Total database size is about 800GB. All of the members are running in docker containers. Docker shows that the master container has read total 60GB data and written 165GB in the…
nagylzs
  • 421
  • 2
  • 7
  • 17
1
2 3 4 5 6