Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16679

Cannot resync a 2.8.0-rc3 (wt) node from a 2.8.0-rc2 (wt) primary (mms-test)

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.8.0-rc2
    • Component/s: Replication
    • None
    • Fully Compatible

      I am upgrading a (test, throwaway) replica set from 2.8.0-rc2 to 2.8.0-rc3.

      I started by upgrading the binary for one secondary. As expected, I got the "detected index from earlier version, restart with --repair".

      Instead of doing a --repair, I figured I would just resync the node.

      When I attempted this, I got:

      2014-12-29T03:19:32.949+0000 I CONTROL  [conn2] pid=23987 port=27100 64-bit host=thereq-1.thereqbasic.8682
      2014-12-29T03:19:32.949+0000 I CONTROL  [conn2] db version v2.8.0-rc3
      2014-12-29T03:19:32.949+0000 I CONTROL  [conn2] git version: 2d679247f17dab05a492c8b6d2c250dab18e54f2
      2014-12-29T03:19:32.949+0000 I CONTROL  [conn2] build info: Linux build4.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49
      2014-12-29T03:19:32.949+0000 I CONTROL  [conn2] allocator: tcmalloc
      2014-12-29T03:19:32.949+0000 I CONTROL  [conn2] options: { config: "/data/tiger_5/automation-mongod.conf", net: { port: 27100 }, processManagement: { fork: true }, replication: { replSetName: "tiger" }, storage: { dbPath: "/data/tiger_5", engine: "wiredTiger" }, systemLog: { destination: "file", path: "/data/tiger_5/mongodb.log" } }
      2014-12-29T03:19:33.794+0000 I NETWORK  [initandlisten] connection accepted from 172.31.33.237:42156 #5 (4 connections now open)
      2014-12-29T03:19:33.872+0000 I REPL     [rsSync] initial sync pending
      2014-12-29T03:19:33.873+0000 I REPL     [ReplicationExecutor] syncing from: thereq-0.thereqbasic.8682.mongodbdns.com:27100
      2014-12-29T03:19:33.881+0000 I REPL     [rsSync] initial sync drop all databases
      2014-12-29T03:19:33.881+0000 I STORAGE  [rsSync] dropAllDatabasesExceptLocal 1
      2014-12-29T03:19:33.881+0000 I REPL     [rsSync] initial sync clone all databases
      2014-12-29T03:19:33.884+0000 I REPL     [rsSync] initial sync cloning db: tiger
      2014-12-29T03:19:33.888+0000 E REPL     [rsSync] 10065 invalid parameter: expected an object ()
      2014-12-29T03:19:33.888+0000 E REPL     [rsSync] initial sync attempt failed, 9 attempts remaining
      2014-12-29T03:19:36.590+0000 I NETWORK  [initandlisten] connection accepted from 172.31.5.196:35417 #6 (5 connections now open)
      2014-12-29T03:19:37.909+0000 I NETWORK  [initandlisten] connection accepted from 172.31.18.80:38226 #7 (6 connections now open)
      2014-12-29T03:19:38.795+0000 I NETWORK  [initandlisten] connection accepted from 172.31.33.237:42158 #8 (7 connections now open)
      2014-12-29T03:19:38.888+0000 I REPL     [rsSync] initial sync pending
      2014-12-29T03:19:38.888+0000 I REPL     [ReplicationExecutor] syncing from: thereq-0.thereqbasic.8682.mongodbdns.com:27100
      2014-12-29T03:19:38.892+0000 I REPL     [rsSync] initial sync drop all databases
      2014-12-29T03:19:38.892+0000 I STORAGE  [rsSync] dropAllDatabasesExceptLocal 1
      2014-12-29T03:19:38.892+0000 I REPL     [rsSync] initial sync clone all databases
      2014-12-29T03:19:38.893+0000 I REPL     [rsSync] initial sync cloning db: tiger
      2014-12-29T03:19:38.897+0000 E REPL     [rsSync] 10065 invalid parameter: expected an object ()
      2014-12-29T03:19:38.897+0000 E REPL     [rsSync] initial sync attempt failed, 8 attempts remaining
      2014-12-29T03:19:42.918+0000 I NETWORK  [initandlisten] connection accepted from 172.31.18.80:38228 #9 (8 connections now open)
      2014-12-29T03:19:43.897+0000 I REPL     [rsSync] initial sync pending
      2014-12-29T03:19:43.897+0000 I REPL     [ReplicationExecutor] syncing from: thereq-0.thereqbasic.8682.mongodbdns.com:27100
      2014-12-29T03:19:43.907+0000 I REPL     [rsSync] initial sync drop all databases
      2014-12-29T03:19:43.907+0000 I STORAGE  [rsSync] dropAllDatabasesExceptLocal 1
      2014-12-29T03:19:43.907+0000 I REPL     [rsSync] initial sync clone all databases
      2014-12-29T03:19:43.921+0000 I REPL     [rsSync] initial sync cloning db: tiger
      2014-12-29T03:19:43.939+0000 E REPL     [rsSync] 10065 invalid parameter: expected an object ()
      2014-12-29T03:19:43.939+0000 E REPL     [rsSync] initial sync attempt failed, 7 attempts remaining
      2014-12-29T03:19:48.939+0000 I REPL     [rsSync] initial sync pending
      

      If the answer to this is simply "Sorry, can't do this, it's an RC" that's fine by me. It's all garbage data.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            cailin.nelson@mongodb.com Cailin Nelson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: