PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 12th of October, 2013

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[02:08:53] <rafaelhbarros> help!
[02:08:58] <rafaelhbarros> I have 3 nodes down and nobody is master
[02:09:00] <rafaelhbarros> what the hell
[02:30:58] <joannac> ERm
[02:31:06] <joannac> How many nodes in your replica set?
[02:31:15] <joannac> rafaelhbarros: ping
[02:31:26] <rafaelhbarros> joannac: sorry, focused on fixing it
[02:31:47] <rafaelhbarros> joannac: I had 2 dead nodes that I removed, I had to recreate the cluster, it was just easier considering the size of dataset
[02:32:13] <joannac> Erm, okay.
[02:34:57] <rafaelhbarros> joannac: it was 6, 2 nodes wouldnt start up
[02:35:14] <rafaelhbarros> joannac: and no node was picking up master
[02:35:18] <joannac> You shouldn't have lost a replica set with 2 down
[02:35:35] <joannac> Although, having an even number is weird
[02:35:45] <rafaelhbarros> joannac: why?
[02:36:04] <joannac> because you can't break ties with an even number
[02:36:21] <rafaelhbarros> oh
[02:36:27] <joannac> a 6 node replica set can survive 2 nodes going down, same as a 5 node set
[02:36:40] <joannac> you don't get anything for adding a 6th node
[02:36:59] <joannac> anyway... what do the mongod logs say? why didn't you get an election?
[02:41:07] <rafaelhbarros> joannac: 1 minute.
[02:42:02] <rafaelhbarros> joannac: from what I remember it said not all nodes were up and everybody was less than 5min online
[02:42:05] <rafaelhbarros> then nothing came up
[02:43:18] <rafaelhbarros> joannac: one final question
[02:43:25] <joannac> Are yousure you didn't lose 3 nodes?
[02:43:34] <joannac> Was this an initial sync?
[02:48:54] <rafaelhbarros> joannac: what actually happened was me trying to establish a connection to the mongodb cluster
[02:48:58] <rafaelhbarros> but it was taking forever
[02:49:05] <rafaelhbarros> so I restarted them
[02:49:10] <rafaelhbarros> and when they got up, nothing was master
[02:49:15] <rafaelhbarros> and nobody was connecting
[02:53:44] <joannac> Okay, there are a whole bunch of things that could be going wrong there. Anyway. What was your question.
[02:53:46] <joannac> ?
[06:47:04] <birdy111> Does Mongo shard become "unavailable for insertion" on any database, when drop database is in progress on any database?
[07:03:06] <birdy111> For example: database to insert is db1 and database to delete is db2
[07:23:27] <meson10> I am using go bson driver, How I can specify the conditional parameters in the structure so that ONLY null values are omitted , empty strings should be allowed
[13:59:17] <squeakytoy> stupid mongohq :S whole service is down
[17:57:04] <mongodbuser> quit
[18:40:19] <jediunixmaster> Hey guys, I'm setting up a mongodb server (64bit) and I can't authenticate through the mongo command
[18:40:38] <jediunixmaster> I can inside the repl using: db.auth('user','pass')
[18:40:44] <jediunixmaster> any ideas?
[18:42:30] <jediunixmaster> I get an "exception: login failed'
[22:51:45] <jb41> what I've to do to query object in rails console, when I'm using Mongoid?
[22:52:11] <jb41> I've empty arrays when I do User.first.posts, but it's not empty for sure