175,458 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
0
answers
15
views
Multi-Service Deployment Strategy for a Next.js/Node.js/Python Monorepo using [Your CI/CD Tool] [closed]
I have a monorepo containing three distinct services: a Next.js frontend, a Node.js/GraphQL backend, and a Python NLP microservice. I am struggling with the CI/CD pipeline and deployment configuration ...
3
votes
0
answers
19
views
How to reduce logging level in mongodb/mongodb-atlas-local
Problem:
I'm using the mongodb/mongodb-atlas-local Docker image in our CI/CD pipeline for running tests. While the verbose logging is acceptable for local development, it becomes problematic in CI/CD ...
-3
votes
0
answers
31
views
how can i read/update/delete data in MongoDB from Express.js
how can i create a read with find and findByID method and also
an update and delete endpoint from vscode.
from the Mongosh cli i can do all this stuff like update, delete post and read but not from ...
3
votes
1
answer
63
views
Mongodb timeseries collection can't query far far future records
Mongo can't bring records which are in far far future like 2394年10月20日T16:10:23
now: 2025年11月17日
Description:
I have a timeseries collection in mongo and here is the command to created it:
db....
Advice
1
vote
2
replies
65
views
Connecting to Mongodb from inside Docker container
I want to connect to my mongodb running on my localhost machine (dockerhost) from inside a docker container. For that I have to allow connections other than localhost. Unfortunetly when using --...
Advice
0
votes
1
replies
31
views
Is Mongoid 9 compatible with MongoDB 8.2?
Looking at the compatibility page, MongoDB 8.2 isn't listed as compatible. In practice, I suspect this page is updated less often than it should be, so I wonder if Mongoid is actually fully compatible ...
5
votes
1
answer
180
views
.NET 9 -> .NET 10: MongoDB query using array.Contains throws NotSupportedException
After upgrading from .NET 9 to .NET 10, a MongoDB query that used to work now throws a System.NotSupportedException during query execution. I'm looking for pointers whether this is a runtime change in ...
Best practices
0
votes
1
replies
46
views
Mongodb Using aggregates for advanced search
Trying to solve a conundrum I have in writing some queries.
I’ve traditionally used simple find operations (and cursor operations for paging functionalities), but need something more complex to ...
2
votes
0
answers
62
views
MongoDB 8.0: StaleDbVersion triggers shard-local majority write after step-up; fails with 2 data + 1 arbiter when one data pod is down [closed]
Environment
Deployment: Kubernetes (RKE2), Bitnami MongoDB Sharded Helm chart
MongoDB: 8.0.8
mongosh: 2.5.0
Topology:
Config servers: 3 (CSRS)
Mongos: 3
Shards: 3 shards total; each shard is a replica ...
1
vote
1
answer
45
views
Jest + Testcontainers MongoDB: Intermittent ECONNREFUSED errors running integration tests
Problem
Starting November 10th, my Jest integration tests began failing randomly with MongoDB connection errors. The tests use @testcontainers/mongodb v11.5.1 and mongodb v8.0.12.
Error:
...
0
votes
0
answers
40
views
MongoDb connection limit
I am running a MongoDb atlas M20 instance which should have a maximum of 1500 connections in its pool. It has 1 primary and two secondaries. If I look at the server stats I can see the connections are ...
-3
votes
0
answers
44
views
Azure Cosmos DB MongDB deployement is failing after selecting free tier [closed]
Operation could not be completed as it results in exceeding approved Total Regional Cores quota. Additional details, Location: eastus, Subscription: 591916d6-75dd-4723-ac6d-47e12812b487, Current Limit:...
1
vote
0
answers
48
views
PySpark/MongoDB Connector DataException: dataType 'struct' is invalid for 'BsonArray' during ETL
I am running a data ingestion ETL pipeline orchestrated by Airflow using PySpark to read data from MongoDB (using the MongoDB Spark Connector) and load it into a Delta Lake table. The pipeline is ...
0
votes
0
answers
52
views
MongoDB Atlas Timeout After Deployment Update — "ReplicaSetNoPrimary"
I updated my backend deployment (Flask app) with a new feature not related to database logic, and suddenly MongoDB Atlas connections no longer work. Before the update, everything was fine.
Local ...
2
votes
1
answer
74
views
How to combine diacritics-insensitive, case-insensitive and partial search in MongoDB?
I'm trying to implement a robust search function in my NestJS/Mongoose application that can handle partial matches while being case-insensitive and diacritics-insensitive (ignoring accents).
My ...