-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: mongooplog
-
None
i think this is due to a socket timeout not being set in mongooplog, which triggers an i/o error if the operation is too slow
m31001| 2014-11-30T18:06:06.056+0000 I COMMAND [repl writer worker 1] dropDatabase foo finished m31000| 2014-11-30T18:06:06.073+0000 W REPL [conn12] repl Failed command { flags: 1.0, create: "bar" } on foo with status CommandNotFound no such command: flags during oplog application m31000| 2014-11-30T18:06:06.075+0000 I INDEX [conn12] allocating new ns file /data/db/tool_replset-0/foo.ns, filling with zeroes... m31000| 2014-11-30T18:06:06.105+0000 I NETWORK [initandlisten] connection accepted from 10.182.227.107:54167 #14 (7 connections now open) m31000| 2014-11-30T18:06:06.107+0000 I NETWORK [initandlisten] connection accepted from 10.182.227.107:54169 #15 (8 connections now open) m31001| 2014-11-30T18:06:06.106+0000 I NETWORK [initandlisten] connection accepted from 10.182.227.107:51994 #11 (4 connections now open) m31001| 2014-11-30T18:06:06.108+0000 I NETWORK [initandlisten] connection accepted from 10.182.227.107:51996 #12 (5 connections now open) m31001| 2014-11-30T18:06:06.120+0000 I NETWORK [conn10] end connection 127.0.0.1:54758 (4 connections now open) 2014-11-30 13:06:09 EST sh8032| error: error applying ops: read tcp 127.0.0.1:31000: i/o timeout running mongooplog to replay the oplog m31000| 2014-11-30T18:06:09.116+0000 I NETWORK [conn14] end connection 10.182.227.107:54167 (7 connections now open) m31000| 2014-11-30T18:06:09.116+0000 I NETWORK [conn13] end connection 127.0.0.1:50915 (6 connections now open) m31000| 2014-11-30T18:06:09.117+0000 I NETWORK [conn15] end connection 10.182.227.107:54169 (5 connections now open) m31001| 2014-11-30T18:06:09.117+0000 I NETWORK [conn11] end connection 10.182.227.107:51994 (3 connections now open) m31001| 2014-11-30T18:06:09.117+0000 I NETWORK [conn12] end connection 10.182.227.107:51996 (2 connections now open) m31000| 2014-11-30T18:06:09.236+0000 I STORAGE [FileAllocator] allocating new datafile /data/db/tool_replset-0/foo.0, filling with zeroes... assert: [101] != [1] are not equal : count after running mongooplog was not 101 as expected Error: [101] != [1] are not equal : count after running mongooplog was not 101 as expected at Error (<anonymous>) at doassert (src/mongo/shell/assert.js:11:14) at Function.assert.eq (src/mongo/shell/assert.js:38:5) at /data/mci/shell/src/jstests/tool/tool_replset.js:82:8 2014-11-30T18:06:09.373+0000 I QUERY Error: [101] != [1] are not equal : count after running mongooplog was not 101 as expected at Error (<anonymous>) at doassert (src/mongo/shell/assert.js:11:14) at Function.assert.eq (src/mongo/shell/assert.js:38:5) at /data/mci/shell/src/jstests/tool/tool_replset.js:82:8 at src/mongo/shell/assert.js:13 failed to load: /data/mci/shell/src/jstests/tool/tool_replset.js