[09:58:52] <Kake_Fisk> How can I provoke an error in collection.aggregate? I want to test my error handling
[12:51:56] <marcelofr> Hi!. I'm testing replica set and succeded building primary+secondary+arbiter. I 've shutdown all three servers and now the replica set is down: "Our replica set config is invalid or we are not a member of it"
[14:02:34] <jdipierro> Good morning. I'm trying to split chunks in an existing collection with a hashed shard key. Looking at the sharding status the chunk ranges for a hashed key appear to be converted to NumberLongs. Is there an easy way to just say "I want 200 chunks" or do I need to calculate the middles for each of the 200 chunks between the min and max of NumberLong?
[14:03:20] <Derick> jdipierro: i would strongly recommend that you do not mess by hand with the splitting of chunks in a non-empty collection
[14:04:03] <jdipierro> It is mostly-empty :P Okay, I'll look into if we can reprovision the collections using `numInitialChunks`. Thanks
[14:40:04] <guardian> I don't install mongodb-serer so often. I just took a debian stretch and installed the mongodb-server package. Connecting with mongo shell show there's only a local db
[14:40:11] <guardian> I expected to see at least an 'admin' db
[14:48:14] <Derick> you want one from https://docs.mongodb.com/master/tutorial/install-mongodb-on-debian/#import-the-public-key-used-by-the-package-management-system — but I am not sure we do strech
[14:51:37] <guardian> hmm but there are no official packages for Debian Stretch
[14:51:49] <guardian> which surprises me, it's been the stable version for something like 1 year
[14:53:32] <guardian> looks like you're working on it https://jira.mongodb.org/browse/SERVER-29463
[14:56:05] <Derick> i'm not sure whether 3.6.5 is out yet
[20:54:24] <aFeijo> I was wondering if I can write a single command line that will create a db and an user? I am trying it with db.createUser() but if I use "mongo newdb -u admin" it say "login failed"
[20:56:05] <aFeijo> hmmm maybe I can do it with getSiblingDB('db')