PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 28th of January, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[08:08:40] <madprops> Is it worth it to selectively fetch from a document, like avoid big strings if i don't really need them? This might complicate things, but is it worth it at all?
[08:09:08] <madprops> I guess if it was network based it would matter more
[09:48:03] <Derick> it only really matters for network traffic
[09:48:16] <Derick> (or things going through an Aggregation Pipeline)
[22:15:27] <cyrus_mc_> I am a Mongo newbie so please bear with me. I have two collections, feedFiles.files and feedFiles.chunks. I want to query feedFiles.files based on date (which I have figured out: db.feedFiles.files.find({ "uploadDate": {"$gte": ISODate("2017-01-01T00:00:00.000Z")} })) and then use the results from that to delete the corresponding object from feedFiles.chunks
[22:32:45] <cyrus_mc_> figured out how to do what I needed. Removed a bunch of items from the collection. But I didn't see (according to db.collection.stats) the storagesize reduce
[23:29:32] <gtmanfred> I am looking for some help troubleshooting an issue caused when trying to use pymongo and the moto mocking library for boto3/aws. When trying to use the moto_server mocking stuff, my pymongo code is unable to connect to the mongo database, but only in python3.
[23:29:35] <gtmanfred> https://gist.github.com/gtmanfred/e382518c4a022b4ca056853f047b509c
[23:30:36] <gtmanfred> that fails with the error pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 9] Bad file descriptor
[23:31:11] <gtmanfred> the full stack trace is in the gist
[23:31:16] <gtmanfred> any help would be greatly appreciated