PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Monday the 16th of May, 2016

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[04:12:01] <INSANU> Hi, anyone had problems with "undefined symbols for arhitecture x86_64" linking a c++ program you wrote with mongocxx?
[14:43:48] <synic> can I tell mongo in advance which shard to put the data for a shard key on?
[14:44:01] <synic> did that question make any sense? hah
[15:20:38] <temhaa> hello
[15:21:01] <temhaa> I upgraded my system and mongodb crashed. I couldn't start mongodb service
[15:21:56] <temhaa> I am getting that error: http://pastebin.com/n8mwDpaD
[15:22:50] <Derick> temhaa: what's in the mongodb log file?
[15:23:06] <Rumbles> that looks like the journal log, what's in /var/log/mongodb/mongod.log ?
[15:23:15] <Rumbles> or whatever it is configured to use
[15:24:36] <temhaa> Derick: http://pastebin.com/ePZpXvCg
[15:25:22] <temhaa> Derick: I have data, I mustn't lose them
[15:25:53] <Derick> 2016-05-16T15:23:19.580+0000 E JOURNAL [initandlisten] Insufficient free space for journal files
[15:25:57] <Derick> 2016-05-16T15:23:19.580+0000 I JOURNAL [initandlisten] Please make at least 3379MB available in /var/lib/mongodb/journal or use --smallfiles
[15:26:10] <Derick> seems selfexplanatory to me
[15:27:20] <temhaa> Derick: is it memory problem
[15:27:38] <temhaa> Derick: or disk problem
[15:29:44] <Derick> Please make at least 3379MB available in /var/lib/mongodb/journal
[15:29:50] <Derick> that's a directory
[15:35:48] <temhaa> Derick: can I use smallfiles? If I use will be problem.
[15:35:56] <temhaa> Derick: and How can I use smallfiles :)
[15:36:48] <Rumbles> temhaa, since you don't know how to use google, https://docs.mongodb.com/v3.0/reference/configuration-options/#storage-options
[16:40:42] <itaipu> hi, I'm really new to NOSQL, and still a bit lost with how to migrate from a traditional schema app to a NOSQL, I google, of course, but there is a pletora of poor articles, does anyone can point me a good quality one ?
[16:42:14] <itaipu> some white paper from the developers would be really nice
[18:17:15] <MacWinner> if I have a .find() query that is streaming 500k documents, and after me running the .find(), 10k more documents are added to the collection, will my original stream query include the new 10k records in their stream?
[18:17:28] <MacWinner> or are the bounds of the stream set at the time i issue the .find()
[18:18:58] <silviolucenajuni> someone can explain to me whats can be a use "inadvertent" of getLastError
[18:18:59] <silviolucenajuni> ?
[18:48:59] <saml> MacWinner, depends on storage engine
[18:49:10] <MacWinner> wiredtiger
[18:49:16] <saml> not sure then :P
[18:49:24] <saml> you can take a snapshot of cursor
[18:49:30] <MacWinner> curious, what about with mmap?
[18:49:33] <saml> to enforce behavior
[18:49:54] <saml> with mmap, if more things are inserted, cursor will likely include those
[18:50:10] <saml> https://docs.mongodb.com/manual/core/read-isolation-consistency-recency/#faq-developers-isolate-cursors
[18:50:41] <starfly> git it a try, MacWinner
[18:51:05] <saml> so you can get same document more than once
[18:51:44] <MacWinner> starfly, i'm running it now.. will take a couple hours to see, but I should have a good idea by the end of it because I have counters on all my operations
[20:17:41] <mylord> can i list all subdoc2 inside doc.subdoc1.subdoc2 when subdoc1 values change and I don’t know them when making the query?
[21:38:00] <MeMReS> I'm iterating through 10k documents, is it fast to pull 10 and do a batch update or to use a cursor and update 1 by 1?
[21:42:29] <oky> MeMReS: faster to do 1000, probably
[21:42:36] <oky> MeMReS: measure it yourself
[21:56:39] <MacWinner> what's the easiest way to use mongofiles command to delete files that meet a search criteria?
[21:56:48] <MacWinner> i think i can do some redirection on the cli, but i suck with that
[23:58:43] <MeMReS> does mongo have the ability to update multiple docs at once, I'm using save and feeding a doc can i save an array of docs that way?