[00:09:06] <Raticide> Hi. I'm running mongodb 3.6 in docker and trying to get it to use an existing data volume, but mongo is refusing to find any of the data in there. I've run --repair but that didn't do anything, and there's no errors. Any ideas what I need to do?
[00:45:32] <Raticide> I fixed it, and it was somehow dockers fault. I just `docker container prune` and started fresh, now it sees it.
[11:52:53] <Donitzo> so, I have a collection in which _id is the unix timestamp. What I'd like to do now is select all documents n seconds back INCLUDING one additional point
[11:52:58] <Donitzo> not really sure what type of query that would be
[11:53:55] <Donitzo> I want to do a bit of the old linear interpolation
[17:31:40] <zfigz> having issues here with turning on auth…as soon as i turn on auth everything fails / can't connect.
[17:32:03] <zfigz> everything goes into a recovery state…"could not find member to sync from" etc
[17:32:31] <zfigz> maybe i need the cluster auth mode set to true?
[17:38:54] <GothAlice> zfigz: If authentication is to be enabled, ensure you have a shared key between the existing nodes ready to go.
[17:40:11] <GothAlice> zfigz: http://www.dba86.com/docs/mongo/2.4/tutorial/deploy-replica-set-with-auth.html#procedure — note the creation of the users and keyfile prior to enabling authentication.
[17:41:55] <zfigz> GothAlice: Ah, that just might be the ticket! Thank you GotAlice
[17:43:14] <GothAlice> Er, silly clipboard buffers. Second link should have been: https://docs.mongodb.com/manual/core/security-internal-authentication/
[17:46:55] <GothAlice> Donitzo: https://github.com/marrow/mongo/pull/11/commits/a7a02106ec4181d07d1d772a216b1a5d6d47e1ef#diff-4745b5c62d4d0d557c8ccdcde5af16e5R153 — gah, that’s quite the link.
[17:47:21] <GothAlice> Donitzo: I link this to demonstrate that simple range querying against artificially constructed ObjectId values (whose only populated component is the timestamp) works A-OK.