The AI told him a heavy production database query had stopped; it ran for 2 more hours on the replica
An agent ran a long MongoDB aggregation on a production database replica through a connector tool. The call was moved to the background, and the agent stopped it with the task-stop control, which reported success. The agent told the user the query had been stopped. Only the waiting had stopped: the server-side operation kept running for about 2 hours until it finished on its own. Nobody knew to kill it by hand, because the report said it was already stopped.
How it works
- Agent runs a heavy aggregation on a production replica
- The call is backgrounded
- Agent stops the task and gets a success result
- Tells the user the query is stopped
- The server-side operation keeps running about 2 hours
- It ends only by completing on its own
Why it’s worth knowing
The stop worked on the session’s side of the glass. The database, where the cost actually runs, never heard about it.
Where it’s from
Summarized from a public post on github.com. See the original ↗