[05:57:39] <sakix> does anybody have a sec to help me with a quick problem? I feel stupid since it seems like it should be so easy, but I feel like I've been spinning my wheels on this for a bit too long
[09:41:38] <Rumbles> HI, I set up an arbiter last week, and configured it with log rotation to test I had all the config right. The logs there are rotating as I would expect, so I then took that config and applied it to another db-node at the end of the week, I've checked this morning and although the config is the same, I am getting 2 files created each day, 1 mongodb.log-20160116.gz and mongodb.log.2016-01-16T06-43-30 also created as an empty file, can anyone help me unde
[09:41:38] <Rumbles> rstand why? Further info: http://fpaste.org/311910/
[17:37:55] <Derick> it contains users, and user roles for example
[18:06:08] <ggoodman> I've provisioned a new replicaset to which I'd like to migrate an existing replicaset. Is there a way that I could fuse the two so that the new members sync automatically?
[18:24:30] <d-snp> hey guys, I have a replicaset with both nodes in state SECONDARY
[18:24:55] <d-snp> mongo-blob-4[14023]: 2016-01-18T18:18:48.485+0000 W NETWORK [ReplicaSetMonitorWatcher] No primary detected for set shard2
[18:25:23] <d-snp> how can I debug whether they're electing anyone? they've been like this for half an hour
[18:25:49] <lipiec> d-snp: you should see apropriate messages in logs
[18:29:00] <d-snp> mongo-blob-5[8823]: 2016-01-18T18:16:26.474+0000 I REPL [initandlisten] Did not find local voted for document at startup; NoMatchingDocument Did not find replica set lastVote document in local.replset.election
[18:29:43] <lipiec> d-snp: seems reasonable, they cannot sync each other cause there is any master
[18:30:08] <lipiec> d-snp: does your replica set consists only of primary and secondary
[18:47:02] <d-snp> I don't think that will solve it
[18:49:54] <d-snp> ok so mongo-blob-5 won't elect itself because it's not the freshest
[18:50:33] <d-snp> mongo-blob-5 has priority 1 in the config, he has 1 votes
[18:51:05] <d-snp> mongo blob 4 can't find the replica set lastVote document in local.replset.election, it has priority 2 in the config and also 1 votes
[18:51:17] <d-snp> I can't change anything in the replset config because there's no primary
[20:16:07] <d-snp> then turned them on one at a time, arbiter last
[20:24:17] <deathanchor> d-snp: the logs usually tell what happened during elections
[20:25:49] <deathanchor> my fav was when a secondary repl lag was $gt oplog repl window and vetoed votes when the other primary/secondary couldn't talk.
[21:33:26] <stevenxl> Hello everyone. I have an issue. Excuse me if this is a noob question but I am a noob.
[21:33:46] <stevenxl> Basically, I want to insert a document into a colleciton such that part of the document references its own objectID.
[21:34:14] <stevenxl> However, because I do not know what the document's objectID is when I am going to insert it, I was wondering how I could achieve this task?
[21:34:32] <stevenxl> I know I can set the objectId that is used myself, but how would I avoid duplicate key errors?