Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
111 views

This is simple but I'm slowly falling into madness, I got existing JSON imported to mongoDB: { "_id": { "$oid": "5611acaca5ea5f7c5d1a1f41" }, "...
0 votes
0 answers
41 views

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 ...
0 votes
0 answers
52 views

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 ...
0 votes
0 answers
25 views

When using the $vectorSearch aggregation stage and specifying filter, using the $exists operator isn't supported, but another way of effectively doing the same thing is to check if the property value ...
1 vote
0 answers
608 views

I have prod and staging environments for Mongodb. I have good amount of data entered it staging environment for every release which will go through testing process. Once the testing is done, I would ...
0 votes
0 answers
53 views

I have a collection migrationTest in MongoDB with a unique index for the message field. In my migration I'm inserting documents to this collection and in one place I'm using the existing message to ...
3 votes
0 answers
103 views

I'm facing a counter-intuitive performance issue with my MongoDB sharded cluster where queries with fewer values in an $in clause are significantly slower than queries with more values. The Issue: ...
0 votes
0 answers
61 views

I'm currently trying to create the model using nestjs mongoose schema, and i want to convert the mongodb data from snake case to camel case in my schema layer like this: export type ...
0 votes
0 answers
76 views

I am developing a project using Kotlin and the Quarkus framework (version 3.20 LTS), that connects to a MongoDB database, which has already been populated previously with some documents using the ...
1 vote
0 answers
37 views

I have a MongoDB Docker container, running locally. I have set this up using the following file, docker-compose.yml services: mongodb: container_name: mongodb-local image: mongo:latest ...
0 votes
0 answers
32 views

I'm using Confluent’s Kafka Connect MongoDB Source Connector in a Docker Compose environment. I expect the connector to create an output topic based on my configuration, but it isn’t creating any new ...
1 vote
0 answers
45 views

I am learning to build an MEVN project. I have a MongoDB connection string that looks like this "mongodb+srv://<username>:<password>@<clustername>.abcdefg.mongodb.net/?...
0 votes
0 answers
47 views

import { DBCon } from "./db/index.js"; import express from "express"; const app = express(); app.use(express.json()); app.use(express.urlencoded({ extended: true })); DBCon() ....
2 votes
0 answers
71 views

So I have a dockerized mongodb. My docker-composer.yml code is: mongodb: image: mongo:latest container_name: mongodb restart: unless-stopped environment: ...
0 votes
0 answers
69 views

I am working on migrating the project to a new version. Stack: express 5, mongoose 8, typescript 5.8, typegoose 12 I looked for more information and would now like to clarify the cause of the problem:...
0 votes
0 answers
68 views

Hopefully this makes sense. Using mongoose to push new items into an array of subdocuments, the documents get added fine, however on certain (random) occasions, the createdAt date of the current ...
1 vote
0 answers
371 views

I don't think it's a server issue but I tried fixing server timing, I don't know where else to turn to at this point. I tried every option and stack overflow is my last option. Point out what I am ...
1 vote
0 answers
63 views

I’m deploying a MongoDB ReplicaSet using the MongoDB Community Operator v0.13.0 (Helm chart). I want to enforce mutual TLS so that clients must present a valid certificate signed by my CA. Based off ...
2 votes
0 answers
133 views

Mongoose connection to MongoDB Atlas fails with queryTxt ETIMEOUT I’m trying to connect my Node.js app to MongoDB Atlas using Mongoose, but the connection fails with a timeout error. Here’s the error ...
1 vote
0 answers
131 views

Spark reading data from MongoDB(ver 7.0) and DocumentDB(ver 4.0) and loading into the spark DataFrameReader is failing when DataFrameReader.isEmpty() method is called . SparkSession and ...
0 votes
0 answers
110 views

I'm making an event management application. I'm using better-auth & mongodb. I got a form in which I can create an event. Now, alongside the event name, and dates I want to pass along the owner's ...
1 vote
0 answers
773 views

I went through hundreds of pages for several days without success and here is my problem. I use the MEAN stack and at this point I have a simple form that works very well to save a "name" ...
0 votes
0 answers
46 views

I am running into an issue with trying to use .NET Identity with a MongoDB backend. The problem is related to authorization. I want the API to use JWT but it would seem the package I am using defaults ...
0 votes
0 answers
40 views

Suppose that I have the below simplified schema: const Venue = new mongoose.Schema( { name: { en: { type: String, required: true }, // English translation fr: { type: String, ...
0 votes
0 answers
177 views

Since upgrading to .NET 6 to .NET 8, we are getting very unusual and sporadic behaviour from MongoDB (driver?). Every couple of days (sometimes weeks) the driver would start throwing the following ...

1
2 3 4 5
592