PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 1st of May, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[06:45:04] <salty-horse> I have a sharded cluster that I wish to upgrade from 3.4 to 3.6. They shards aren't replica set. Is it possible to convert each shard to single-machine replica-set, just so I can perform the 3.6 upgrade, and add more machines to each at a later date?
[09:05:58] <Derick> I think you can do that, but I would recommend you initialise the replicaset (even though it's one machine) before you upgrade to 3.6
[09:06:24] <Derick> (sorry, that's exactly what you said)
[10:06:31] <salty-horse> Derick, thanks!
[10:10:24] <salty-horse> another q: when upgrading to 3.6, the guide says to call "setFeatureCompatibilityVersion: "3.4"" and then wait for the shards to become "shard aware" by receiving their shardIdentity from the config server. but there are no instructions on how to verify that.
[10:25:53] <salty-horse> found it by digging into the code of a related bug report. it was a document in admin/db.system.version -- this should REALLY be documented in the guide.
[10:26:25] <Derick> yes, care to file a bug report for that?
[10:27:50] <salty-horse> sure. hopefully I'll get to it today
[14:54:36] <mekeor> hello everyone! :) is it possible to have two names for the same field?
[15:02:59] <Derick> no
[15:04:49] <mekeor> alright, thank you :)
[15:32:08] <RyansWorld> what is the best approach to have an automatic updating DB. I'm going to make a site for a game and it needs to update a scores list (CSV File) every x seconds to my DB so that I can use the info to do things.
[15:38:09] <mekeor> RyansWorld: your game could have another thread where it updates the DB every x seconds, no?
[15:38:40] <RyansWorld> im grabbing the data from their feed
[15:38:49] <RyansWorld> they release it in csv format
[16:19:53] <mekeor> RyansWorld: you could write a script which runs in the background and downloads the CSV and updates the DB.
[16:20:39] <mekeor> RyansWorld: for the repetition, you could use a cron-task but you wouldn't need to.
[16:32:14] <RyansWorld> If i run a node app in console and keep it running it wont ever time out will it?
[16:32:35] <RyansWorld> Using the repeat or delay functions?
[19:28:46] <Kake_Fisk> MongoDB seems nice to use in the beginning, but I notice when the amount and complexity of queries increases. The queries (in this case written in JS) seems to get very big and almost unreadable. And reuse of parts of the queries (especially in aggregates) seems to be difficult. How do you cope with this?