PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 13th of February, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[02:43:06] <tomservo291> For the native node driver, why are client.startSession() and session.startTransaction() synchronous methods? It seems like, especially startTransaction, have server state associated with them, I keep running into use test cases which end up with server-side error :Given transaction number 1 does not match any in-progress transactions."
[02:43:51] <tomservo291> From experimentation, it seems to me that committing a transaction too quickly after starting it causes this pretty often, and I'm assuming this is because startTransaction should really be async with a callback mechanism...
[11:53:19] <chris_99> Hi, i'm just wondering, is there a simple way with mongodb, to use hashes for the ID fields?
[11:53:51] <Derick> what's not good enough about the default objectids?
[11:54:32] <chris_99> it's easy to guess the ones
[11:54:37] <chris_99> *next ones
[11:54:51] <Derick> you shouldn't expose them to users
[11:54:59] <chris_99> mm, i'm looking for something i can expose
[22:57:48] <fancyfetus> hi everyone. I'm trying to store location over time in mongodb
[22:58:21] <fancyfetus> The problem is that I want to take any arbitrary time and retrieve the document that is closest to my requested time