-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.2.0
-
Component/s: None
-
None
-
Environment:CentOS 5.8 x64, Ubuntu 12.04 x64
-
ALL
Steps to reproduce:
1. Setup two independent replica sets.
2. Make few data changes (say, {{db.test.insert(
{foo: "bar"})}} in replica set #1. We need to have something in oplog.
3. Run mongooplog, pass full replica set connection string in --host:
silver@silver-laptop:~/bin/mongodb-2.2.0$ ./mongooplog --from localhost:30001 --host rs2/localhost:30001,localhost:30002,localhost:30003 Sat Sep 1 16:51:34 starting new replica set monitor for replica set rs2 with seed of localhost:30001,localhost:30002,localhost:30003 Sat Sep 1 16:51:34 successfully connected to seed localhost:30001 for replica set rs2 Sat Sep 1 16:51:34 warning: node: localhost:30001 isn't a part of set: rs2 ismaster: { setName: "rs", ismaster: true, secondary: false, hosts: [ "silver-laptop:30001" ], primary: "silver-laptop:30001", me: "silver-laptop:30001", maxBsonObjectSize: 16777216, localTime: new Date(1346507494332), ok: 1.0 } Sat Sep 1 16:51:34 successfully connected to seed localhost:30002 for replica set rs2 Sat Sep 1 16:51:34 changing hosts to { 0: "silver-laptop:30002", 1: "silver-laptop:30004", 2: "silver-laptop:30003" } from rs2/ Sat Sep 1 16:51:34 trying to add new host silver-laptop:30002 to replica set rs2 Sat Sep 1 16:51:34 successfully connected to new host silver-laptop:30002 in replica set rs2 Sat Sep 1 16:51:34 trying to add new host silver-laptop:30003 to replica set rs2 Sat Sep 1 16:51:34 successfully connected to new host silver-laptop:30003 in replica set rs2 Sat Sep 1 16:51:34 trying to add new host silver-laptop:30004 to replica set rs2 Sat Sep 1 16:51:34 successfully connected to new host silver-laptop:30004 in replica set rs2 Sat Sep 1 16:51:34 successfully connected to seed localhost:30003 for replica set rs2 Sat Sep 1 16:51:34 Primary for replica set rs2 changed to silver-laptop:30004 Sat Sep 1 16:51:34 replica set monitor for replica set rs2 started, address is rs2/silver-laptop:30002,silver-laptop:30003,silver-laptop:30004 Sat Sep 1 16:51:34 [ReplicaSetMonitorWatcher] starting connected to: rs2/localhost:30001,localhost:30002,localhost:30003 Sat Sep 1 16:51:34 [oplogreplay] going to connect Sat Sep 1 16:51:34 [oplogreplay] connected Sat Sep 1 16:51:34 [oplogreplay] starting from Aug 31 16:51:34:0 Logstream::get called in uninitialized state Sat Sep 1 16:51:34 deleting replica set monitor for: rs2/silver-laptop:30002,silver-laptop:30003,silver-laptop:30004 Segmentation fault (core dumped)
Verbose log (-vvvvv) is in attachment
- duplicates
-
SERVER-7006 mongo tools seg fault in 2.2.0 with replica sets in connection string
- Closed