PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 7th of August, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[09:59:39] <benoitc> does anyone knows how to send a bulk write command at the protocol level to mongodb ?
[09:59:53] <benoitc> it seems the bulkWrite command doesn't exist
[10:00:18] <benoitc> from the lib i'm using I get the following :
[10:00:25] <benoitc> https://www.irccloud.com/pastebin/N8fbd4FN/
[11:52:55] <GothAlice> https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-insert ← may take multiple records in bulk. From the PyMongo driver: https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/bulk.py#L274-L275 ← _Bulk._execute_command → [operation, collection, ordered_operations]
[11:54:08] <GothAlice> L284: loop over the "buffered" operations, L295 actually execute the operation, L306 merge the results together.
[11:56:12] <benoitc> thanks
[11:57:02] <GothAlice> Chief lesson: bulk writes aren't a server side thing. ;P
[12:11:25] <benoitc> :)
[12:12:08] <benoitc> that's fine, i think i will have to add support of gtransaction sin that opensource lib as well
[12:12:18] <benoitc> erlang lib
[15:03:13] <lope> when will mongodb support debian buster?
[15:03:22] <lope> http://repo.mongodb.org/apt/debian
[16:35:21] <aksu> hi guys! in sharded cluster all my configuration servers are gone. is it possible to add new one anymore from scratch? or is it only possible by dumping data, recreating cluster and importing data?