r/mongodb

Who the f designed mongodb auth flow...

For real, working with mongodb gives me so much frustrations. Everytime i want to go on the dashboard, it keeps spinning and does not do anything. U must click on the logo and it will finally redirects you to the signin page. It automatically sign you out after a while, super annoying. And it does not let you know when it does... Also if u have changing ip, its super annoying to always allow the ip... COMON MAN, WE ARE DEVELOPERS WE ARE LAZY. NOBODY WANTS TO DO THIS. DO THIS ONLY FOR PRODUCTION OR SO, NOT WHEN UR DEVELOPING. WHO DECIDES THESE THINGS INTERNALLY? PROBABLY SOMEONE WHO DOES NOT TOUCH A SINGLE CODE. FIRE HIM / HER / IT. This flow is probably the reason why mongodb is in decline. The only reason that makes it survives is probably ai recommendations and the amount of vibe coders using it. But for real... this sucks.

reddit.com
u/Wooden_Drag9473 — 1 day ago

Replica set issue

Hello,

I have some issue with creating replica set. On Windows server I have installed 2 replica sets. And when try to run it I have fallowing issue:

test> db.hello()
{
  topologyVersion: { processId: ObjectId('xxxxxxxxxxxxxxxx'), counter: Long('0') },
  isWritablePrimary: false,
  secondary: false,
  info: 'Does not have a valid replica set config',
  isreplicaset: true,
  maxBsonObjectSize: 16777216,
  maxMessageSizeBytes: 48000000,
  maxWriteBatchSize: 100000,
  localTime: ISODate('2026-07-02T19:09:18.464Z'),
  logicalSessionTimeoutMinutes: 30,
  connectionId: 7,
  minWireVersion: 0,
  maxWireVersion: 17,
  readOnly: false,
  ok: 1
}

And on primary server rs.status() returns that new server have status: STARTUP

I already removed and added new server form replica set multiple time, with removing all data from dbpath. Network team asunder me that network traffic is bidirectional.

What else I can check/ do?

Mongo version is outdated 6.x my idea was to create replica set as a backup before update.

I would be grateful for any help.

reddit.com
u/Swimming_Film — 3 days ago
▲ 19 r/mongodb+1 crossposts

AMA with MongoDB: Max Marcon (Director of Product), Mikiko Bazeley (Staff Developer Advocate), and Yang Li (Senior Solutions Architect). They work on AI agents in production. Ask them anything about context engineering at our AMA next Wednesday (7/8)!

Hi r/ContextEngineering!

I’m Nina (u/ContextualNina), your friendly AMA moderator for next week, the inaugural AMA for this subreddit! I’m excited to introduce the three people who will be taking all of your questions for our upcoming AMA: Max Marcon (u/mmarcon), Mikiko Bazeley (u/mmbaze), and Yang Li (u/Ok-Amphibian6116). Between the three of them, they spend a lot of time working with teams building AI agent systems that need to hold up in production.

Ask them anything during a live AMA right here on Wednesday, July 8 from 12-1 PM ET (9-10 AM PT). The real tradeoffs, the messy parts, AI hype vs. reality - whatever you’ve got.

I invited this group because they work directly on the data layer for production AI agents, which gives them a pretty grounded view of where things get hard: context design, retrieval quality, memory, state, multi-step workflows, and the parts of agent systems that tend to fail outside of demos.

We’ll be answering questions about:

  • Where context engineering ends and memory engineering begins
  • What “context rot” looks like as context gets longer
  • How to think about memory in multi-agent systems
  • When RAG beats long context, and when it doesn’t
  • The context mistakes that can quietly sink agent systems in production

You can start dropping in questions now ahead of time (they’ll answer them during the live window), or ask them live next Wednesday!

Full disclosure: I’m the founding mod of this subreddit, and I recently started at MongoDB. I thought this subreddit could benefit from chatting with some of my new colleagues.

https://preview.redd.it/cclnm62oqoah1.jpg?width=720&format=pjpg&auto=webp&s=29a99450aedd525142f33da5dfef545874c8715a

https://preview.redd.it/dlgzx0dpqoah1.jpg?width=720&format=pjpg&auto=webp&s=695190cb7e5bce175ea56ab7726899f1dd6a1d7b

https://preview.redd.it/tecqw15qqoah1.jpg?width=1440&format=pjpg&auto=webp&s=256dcfaa205a8e94161dfdb3fb5997784ad7d196

reddit.com
u/ContextualNina — 4 days ago

Pentaho Exit and End Of Life

Just got this from the sales team incase anyone was planning an upgrade or migration. The fire sale of Pentaho to Constellation is completed with 130 staff laid off this week leaving barely any product engineering or customer support.

After an extensive strategic review, Pentaho are pleased to announce that all of our products have officially entered the phase that industry analysts have predicted for years:

END OF LIFE

As customers modernise their data platforms with faster, more capable and AI-native technologies, our role is no longer to persuade them to stay—it is to help them leave gracefully.

Accordingly, our mission has evolved.

We are no longer in the business of selling software.

We are now in the business of ensuring our remaining customers complete the fastest, lowest-risk migration possible.

We therefore recommend that customers evaluate modern open platforms including:

\* Argo

\* Apache Airflow

\* Flyte

\* Dagster

We sincerely thank everyone who helped build a product that outlived several generations of enterprise architecture diagrams.

THE AI ERA

The economics of migration have fundamentally changed.

Modern AI-assisted engineering tools can analyse legacy PDI transformations, explain decades-old business logic, generate equivalent pipelines, create documentation, produce automated test suites and accelerate migration projects that previously required months of specialist consultancy.

Whether your destination is Apache Hop, Apache Airflow, Dagster, Argo or another contemporary platform, AI is dramatically reducing both the cost and risk of modernisation.

For the first time in our industry's history, customers are no longer locked into legacy technology because migration is prohibitively expensive.

The future belongs to organisations that can evolve quickly.

Looking back, perhaps our greatest contribution wasn't simply building software that served customers faithfully for decades.

It was remaining available long enough for artificial intelligence to make saying goodbye faster, cheaper and considerably less painful.

reddit.com
u/JAllaway_1972 — 4 days ago

how would I set a single item in an array

when I say "set" I mean replace an item that is filtered based of one of its properties

if you dont quite understand heres my situation for clarity

I have a Meme object that is embeded in the savedMemes property array in the each user document

I want to update a specific meme in the savedMemes property array and I have an _id to reference it

I initially tried doing a $pull operation then a $push operation

but when I $pull the meme out the $push operation can no longer find to anyone with the unUpdated meme since he cant reference by its Id because its been pulled out

I looked into trying to use the $set operator but the issue is that all the instruction I can find dont specify how to set an item in an array property thats is filtered based one of its properties

reddit.com
u/NamelessArab_ — 4 days ago

MongoDb Software Developer Productivity, New York

I recently got the chance to interview at MongoDB in New York for a Software Developer Productivity role. I was able to make it to the third round, after which I received a rejection.

The overall process had multiple rounds:

  1. Recruiter screening - 30 min
  2. Aptora assignment - 30 min
  3. Technical interview with a LeetCode-style coding question - 45 min
  4. AI coding assistant round - 1 hour
  5. Behavioral interview - 1 hour
  6. Hiring manager round - 1 hour
  7. Director round - 30 min

The first round was a normal 30-minute recruiter screening. The recruiter asked about my background, introduction, interest in the role, visa status, expected compensation, and other standard screening questions.

After that, I moved on to the Aptora assignment. This round used a new platform called Aptora, which, from what I understand, was founded by an ex-MongoDB engineering manager. I have to be honest: the platform was not very intuitive. The UI was minimal, and at first, it was not clear what I was expected to do. Since the round was only 30 minutes, it took me some time to understand the workflow.

Toward the end, I figured out that the task was to prompt the AI assistant, and the AI would make changes directly in the codebase. The assignment involved working with APIs and building a more complete application using the README file and prompts. However, I ran into a bug in the platform that took around 6–10 minutes to identify and work around, which was a significant amount of time in a 30-minute assessment.

Even though I was able to complete parts of the assignment, the bug and the lack of clarity in the platform affected my overall performance.

After that, I moved to the technical interview round with a member of the same team. The question asked was around LeetCode Hard level and involved multiple classes and functions. About one and a half weeks later, I received a rejection.

PS : I see this job role has been reposted multiple times on LinkedIn, not sure if they are hiring any individuals or just wasting time.

#mongodb #swe #interview #sde #developerProductivity #Newyork #SDE2

reddit.com
u/PrizeConfusion2109 — 6 days ago
▲ 10 r/mongodb+2 crossposts

Anyone know where this mongoDB pin is from?

I found this cool enamel pin and I've looked up the company. It seems to be a tech company but this appears to be more ornate than their typical branding. I was curious if anyone knew anything about this pin.

u/AverageAny3612 — 7 days ago

Cache as a service for developers!!!

Hi folks!!!
Many backend teams use Redis + MongoDB, but the application often ends up managing cache keys, invalidation, stale data, TTLs, and cache misses manually.

I'm working on a cache proxy for MongoDB where applications connect only to the proxy instead of directly managing Redis and MongoDB separately.

The goal is:

  • Single endpoint for the application
  • Automatic cache lookups
  • Cache population on misses
  • Cache invalidation strategies
  • No need to manage Redis infrastructure from application code

The challenge I'm currently exploring is balancing automatic caching with giving developers enough control over cache keys and invalidation.

link: cachepilot

reddit.com
u/ankush2324235 — 11 days ago

With the Atlas BI Connector going EOL, what are people moving to for reporting?

For teams that were using the BI Connector to get Mongo data into Tableau/PowerBI — what's your migration plan now that it's sunsetting on Atlas? SQL Interface, a native-Mongo tool, exporting to a warehouse, something else? Especially curious from people with heavily nested documents, since that's where flattening to SQL hurts most.

reddit.com
u/jeffreyroshan — 10 days ago