[09:26:14] <vfuse> I'm trying to run a query with mongodump to get all the records from the last backup, why does this not work? {'_id': {$gte: ISODate("2019-01-24T00:00:00Z")}}
[12:29:58] <mcsmurf> hi all, I have a question about the $out aggregation pipeline stage (or rather about aggregations): Is there a way to abort an aggregation pipeline, like include some kind of logic there? Using MongoDB 3.4
[12:30:29] <mcsmurf> as in: I only want to write to the target $out collection when I have at least one document that would get written to the target collection
[12:30:59] <mcsmurf> I don't want it to overwrite the collection when there are zero documents in the aggregation pipeline
[12:36:19] <mcsmurf> ah nevermind, I'll use try .. catch for now as my original query gave me an error anyway when using $objectToArray failed
[14:34:10] <VectorX> hi if i have some data like "groups": [{"i": -11114, "q": -13044 }, { "i": 19227, "q": 17411 }......., { "i": 19227, "q": 17411 }] how would i add that to a Schema ?
[17:02:41] <GothAlice> Does anyone have a link to the JIRA ticket relating to the ObjectId format change? Specifically, the removal of machine/process IDs and replacement with pure random data?
[17:03:45] <GothAlice> Because I have a complaint to register about making my ID generation go from statistically guaranteed to not conflict until exceeding 16 million inserts per second within a single process on a single node to a random chance of any two IDs generated (across the cluster) conflicting within the same second, randomly.
[17:04:58] <GothAlice> (But there must have been a good rationale for the change, which Im’ trying to find.)
[17:09:50] <GothAlice> DOCS-11844 mentions updating the docs to match the server’s interpretation of “arbitrary data”, though the “unique to a process and machine” intent is exceeded by the fact the identifier will change on every process start, preventing correlation by physical machine / node.
[17:14:13] <GothAlice> CDRIVER-2771 for that driver. JAVA-749 for making use of the formerly correct machine/process/counter specification… my search for “ObjectId random machine” without quotes finds no other relevant tickets. :’(
[17:29:47] <GothAlice> Yup, this change is crampin’ mah steez. XP
[18:03:50] <GothAlice> A ha, PYTHON-1619 for that driver. Interesting direct use of SystemRandom() modulo passed to struct.pack… instead of just using sys.urandom(5)…
[18:42:09] <VectorX> i have a array object as one field, elements: [{ i: { type: Number }, q: { type: Number } }], if i create a doc without this field it still creates one and empty array, how can i prevent that ?