[05:14:47] <HikaruBG> I want for each record in collection A to create a record in collection B, and a field in collection A.b_id_ref to point to B._id.... How can I do that with a single query?
[10:05:54] <Derick> either inserting a document or creating an index will do that
[10:32:34] <synthmeat> how does one overwrite collection?
[10:33:22] <synthmeat> actually, nvm, it's bad design anyways. sorry
[12:07:21] <vy> Hey! I am having trouble with mongodb-driver-reactivestreams-1.7.1: https://pastebin.com/tjbhmArp .subscribe() calls just hang. Any ideas?
[14:34:23] <Diranged> Hi - I'm new to Mongo and setting it up with Puppet for the first time. Puppet is doing some password hash comparison where it expects the db.system.users.find().toArray() command to return the MONGODB-CR hashed password of a user. However, mongo (3.6.3) is returning the SCRAM-SHA-1 hash. I know that SCRAM-SHA-1 is the new model to work towards, but Puppet doesn't yet have support to manage password hashes that way.
[14:34:41] <Diranged> Is there a setting in Mongo I need to enable to allow the old password hash to be returned so that puppet's comparison of "real" vs "desired" can work?
[14:35:31] <Diranged> The puppet-code in question is here: https://github.com/voxpupuli/puppet-mongodb/blob/master/lib/puppet/provider/mongodb_user/mongodb.rb#L32-L39
[19:30:14] <sivy> I’m still new to mongodb, and I’m trying to figure out if there’s a way for aggregations on a small-ish to midsize document store to be feasible for “realtime” (within a synchronous http request) usage
[19:31:19] <sivy> in my defintition, small-mid is 1M documents in a collection, but that’s just to start. I’m seeing document growth of about 150k documents/mo.