Skip to main content
0 votes
0 answers
27 views

Mongodb atlas local in docker stopped working because of security keys

I'm running mongodb/mongodb-atlas-local in Docker, I got the docker-compose from here. It used to work, but it suddenly stopped. I tried deleting every images and volumes and rebuild it but nothing ...
François MENTEC's user avatar
0 votes
0 answers
24 views

"Query Targeting: Scanned Objects / Returned" Exceeding 1000 – How to Fix?

I'm using MongoDB Atlas and noticed a warning in the Performance Advisor and monitoring dashboard: "Query Targeting: Scanned Objects / Returned" has gone above 1000 From my understanding, ...
Annamalai's user avatar
  • 135
0 votes
0 answers
26 views

mongodb atlas functions consuming too many connections

I have a trigger set up on a database that fires a function whenever a new document is inserted. This function generates a summary from the full document and updates a collection in another database. ...
Saleem Abdullah's user avatar
0 votes
0 answers
33 views

After Commit Transational Event Listener can't find entity from mongodb

Hi I'm trying to implement service logic that invoke aws s3 codes after saving data(after commit) to mongodb. Basically, in @Service class, there's @Transactional method which receives data from ...
Vunter Slaush's user avatar
0 votes
0 answers
25 views

MongoDB insertOne Replaces Documents Instead of Appending in Next.js API Route

I'm working on a Next.js API route that inserts user data into a MongoDB collection. However, whenever I insert a new document, it seems to replace all existing documents in the collection instead of ...
Ame Suzuki's user avatar
0 votes
0 answers
55 views

How to Create a Partial Atlas Search Index in MongoDB Based on a Filter?

I am using MongoDB Atlas Search and want to create a partial search index where: Only specific documents are indexed based on a field condition (e.g., status: "active"). Only specific fields ...
Brainfuck's user avatar
0 votes
1 answer
52 views

Can't display user data from database

I want to get data from database and display it in html code through <%= %> tag. // index.js const express = require('express'); const router = express.Router(); const { ensureAuthenticated } = ...
Stefan's user avatar
  • 1
0 votes
0 answers
38 views

MongoDB Atlas Device Sync (Realm) with expo in 2025

I’m migrating my existing react-native project into Expo. I am using Realm 11 and @realm/react 0.4.2. It will compile, but gives me a runtime error: ‘Missing Realm Constructor, Did you run pod-install?...
Joris416's user avatar
  • 4,892
0 votes
0 answers
60 views

MongoDB Atlas Local Docker Vector Search always in building status

I am trying to run mongodb atlas locally and trying to index data but the vector search index is always in building mode: Following is the docker compose and error screenshot attached. name: mongodb-...
silentsudo's user avatar
  • 6,993
1 vote
0 answers
33 views

MongoTimeoutError: Server selection timed out after 10000 ms - disconnected suddenly

I use docker-compose on aws ec2 to build node.js express to connect to mongodb atlas. I have created a connection whitelist and can connect smoothly. But, the db connection will be disconnected ...
Finn's user avatar
  • 1,459
1 vote
0 answers
27 views

Best Approach to Handle Unsharded Collections in a MongoDB Global Write Cluster?

Thanks for taking the time to look into my issue. I currently have a MongoDB Atlas global write cluster with three region-specific shards in UK, US, and HK. The unsharded collections are located ...
Shailendra Garg's user avatar
0 votes
1 answer
117 views

How can I solve the Mongodb atlas connection error in nodejs?

I'm getting below error while try to connect mongodb atlas database with nodejs mongoose: Error: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying ...
sugnay patel's user avatar
0 votes
0 answers
29 views

How to create search index for an attribute and query it which has nested dynamic fields in mongoDB atlas search?

I want to create an index on qualityConfirmations attribute and query it. As qualityConfirmations has dynamic fields at the root level for eg. 228, 234, and inside that I need to query for "...
Pawan Kumar's user avatar
0 votes
1 answer
120 views

mongoDB $lookup with $search pipeline

I have two collections: store_group collection: {"_id": ObjectId("674fe7cc4e65df54a0db23b5"), "stores": [ {"id": 101, "name":"abc&...
user468587's user avatar
  • 5,027
0 votes
1 answer
81 views

How to repair a down node in MongoDB Atlas?

I have a M10 replica set on MongoDB atlas under MongoDB 8 and one of the nodes is currently down since more than the 24 hours oplog window. I have now this message “We are deploying your changes: 0 of ...
Franck Anso's user avatar
  • 1,468

15 30 50 per page
1
2 3 4 5
103