PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 9th of May, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[13:37:17] <naggappan> Hi team , I creted a database in Mongodb And a user with role as "read". But still this user is able to (create new user, create collections, insert a document etc..)
[18:44:09] <Sasazuka> if I want to do a find and project the results formatted (concat two fields into one), I need to use aggregate?
[20:18:53] <nishttal> hello ppl I'm trying to update a document {"test 1": { "abc" : 2 }, "test 2": { "abc" : 3 }} with {"test 1": { "abc" : 5 }, "test 2": {}}
[20:19:27] <nishttal> however i notice that it only updates "test 1" ... "test 2" retains its original value.. I was expecting it to be empty
[20:20:08] <nishttal> i use updateOne with upsert=true
[20:22:00] <nishttal> let me ask differently.. is there a function that replaces or inserts a document COMPLETELY
[20:22:22] <nishttal> replaceOne behaved similar to updateOne
[21:06:35] <blizzow> I'm trying to sync two mongo databases with mongo-connector. The DB is about 20GB in size and takes ~6-10 hours to complete it's initial sync. Once I've done the initial sync, I see entries in mongo-connector.log saying it's behind oplog processing.
[21:07:27] <blizzow> Those entries increment saying they're 30 seconds further behind. Is there a way to get mongo-connector to sync up more quickly?
[21:08:10] <blizzow> or rather, how can I restart the mongo-connector and have it catch up?