[07:31:26] <ocx32> hello community, i have two servers running mongo, and i would like to create a two way realtime replication between them, for example if an entry is added on server1, db on server2 needs to be updated, and vice versa - what is the best way of doing that on mongo?
[09:00:59] <ocx32> Kim^J second question please, if i receive a wRITE request on slave node, is it smart enough to route that write to master node?
[09:08:46] <kali> ocx32: replication delay depends on the load, it may be below the second in many case. you can to monitor it externaly if you need it
[09:09:33] <kali> ocx32: routing writes to the primary (primary/secondary is preffered to master/slave terminology) is the responsibility of the mongodb client
[10:03:45] <ocx32> kali thank you, so there is no smart internal routing from secondary to primary?
[10:08:04] <kali> ocx32: nope, it does not work that way, the client will connect first to any node, ask for the cluster topology, connect to the primary, and routes queries to the primary. if you send a write to a secondary, you get an error
[10:08:30] <kali> (and it's not that trivial to achieve :) )
[10:19:16] <ocx32> kali got it now a cluster abstracts the whole thing
[21:55:54] <zelest> Anyone who runs MongoDB in FreeBSD 12.1? It worked fine a few hours ago, now, when I auth, the client segfaults.. https://dpaste.org/EzCq/raw
[22:45:20] <zelest> this bug really annoys me. we planned releasing this new cluster tomorrow.. been migrating our platform for months.. TODAY it decides to b0rk.. and i can't figure out why
[22:45:34] <zelest> tried restarting the services and such, all without luck