Update List of collections in Mongo leading to update failure

Hello everyone,

Actually I’m new to mongo and facing the following issue: Trying to update existing mongo collections, upon messages published from a message broker. Update returns success, reading data directly from database after updating shows the new values applied, but actually in the database the value isn’t updated as shown in Compass.

Any help regarding this issue?


Many possible reasons. Maybe replication takes too long, maybe secondaries fail to write, maybe there is a roll back happened, maybe…

You need to think about what can go wrong end to end.

Thanks dear for your reply!
Is there any tool I may use to figure out what’s going on internally?