PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 18th of March, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[07:39:05] <gengisKahn> Hi, I'm trying to run an aggregate function for a list of documents grouped by the milliseconds. I am facing an issue where I need the default value for the date time which does not exist
[07:39:22] <gengisKahn> Hoping I can get some help
[08:06:20] <cezary_zukowski> edrocks: Many thanks, I picked up "Object" type for stroing JSON.
[08:06:28] <gengisKahn> https://stackoverflow.com/questions/55216928/mongodb-aggregation-missing-dates
[15:41:27] <klync> I just upgraded my centos7 box with the mongodb-org-3.6.11 package and it no longer starts up via systemd. been googling and tinkering with the forking settings both in the unit file and mongod.conf, checked the pid file ... I can't figure out why systemd keeps sending it sigterm. anyone have suggestions?
[17:47:45] <klync> ok, it seems I fixed it with a combination of 2 changes to my /etc/mongod. conf.... (1) setting fork: true where it was false before; and (2) adding pidFilePath: /var/run/mongodb/mongod.pid ... when either of those was missing, systemd wasn't happy
[17:56:05] <Jackneill> hi.
[17:56:28] <Jackneill> anyone familiar withe the official go pkg mongodb-driver?
[17:58:46] <klync> Jackneill: I am not, but fwiw: http://rurounijones.github.io/blog/2009/03/17/how-to-ask-for-help-on-irc/
[17:59:18] <Jackneill> klync, thanks i havent finished asking sorry
[17:59:25] <klync> heh, np
[17:59:43] <Jackneill> anyone used mongodb-driver? will it ensure consistency on a single client conn or do i need multiple? like i have a single client conn, and operating on a db.collection. 1 goroutine writes and the second reads and writes accordingly (like an update stmt with filter)
[17:59:55] <Jackneill> or should i use something like https://godoc.org/go.mongodb.org/mongo-driver/mongo/readconcern#Linearizable
[17:59:56] <Jackneill> ?
[18:00:11] <Jackneill> (already asked on #go-nuts , )