Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-423

i/o timeout in mongooplog

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc3
    • Affects Version/s: None
    • Component/s: mongooplog
    • Labels:
      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

      https://mci.10gen.com/task/mongodb_mongo_master_linux_32_debug_ed023a2b488a74807334e8c0d3db57cf9552cf2c_14_11_30_16_06_06_tool_linux_32_debug

       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
      

            Assignee:
            sam.helman@10gen.com sam.helman@10gen.com
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: