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

mongoplog doesn't replay between two nodes - from ssl and to non ssl host

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      from host
      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongod --dbpath ./data/ --sslOnNormalPorts --sslPEMKeyFile ../mark.pem --sslPEMKeyPassword mongo --replSet rs1

      oplog entries on from host

      rs1:PRIMARY> db.oplog.rs.find()
      { "ts" : { "t" : 1361790108000, "i" : 1 }, "h" : NumberLong(0), "v" : 2, "op" : "n", "ns" : "", "o" : { "msg" : "initiating set" } }
      { "ts" : { "t" : 1361790303000, "i" : 1 }, "h" : NumberLong("7196641493166063633"), "v" : 2, "op" : "c", "ns" : "test.$cmd", "o" : { "drop" : "test" } }
      { "ts" : { "t" : 1361790347000, "i" : 1 }, "h" : NumberLong("3896649933024957428"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e0"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 2 }, "h" : NumberLong("-3380413164817017922"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e1"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 3 }, "h" : NumberLong("5288108731799748109"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e2"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 4 }, "h" : NumberLong("-3654672676562842789"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e3"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 5 }, "h" : NumberLong("3254730506262972662"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e4"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 6 }, "h" : NumberLong("5911061185587934312"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e5"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 7 }, "h" : NumberLong("154636381511460143"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e6"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 8 }, "h" : NumberLong("1083728931341858917"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e7"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 9 }, "h" : NumberLong("4137501148170147640"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e8"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 10 }, "h" : NumberLong("-1960335174055412526"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6e9"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 11 }, "h" : NumberLong("-5038186520147912815"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6ea"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 12 }, "h" : NumberLong("2775661151807144751"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6eb"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 13 }, "h" : NumberLong("8934765087613170362"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6ec"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 14 }, "h" : NumberLong("881639287725803772"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6ed"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 15 }, "h" : NumberLong("-3194277415755421389"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6ee"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 16 }, "h" : NumberLong("-4462691803344459847"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6ef"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 17 }, "h" : NumberLong("-6869689686571708548"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6f0"), "x" : 1 } }
      { "ts" : { "t" : 1361790347000, "i" : 18 }, "h" : NumberLong("748549815824954598"), "v" : 2, "op" : "i", "ns" : "test.test", "o" : { "_id" : ObjectId("512b458b91e18d4d9dc2d6f1"), "x" : 1 } }
      Type "it" for more
      

      to host
      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongod --dbpath ./data1 --replSet rs2 --port 27108

      specifying --ssl - command hangs

      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongooplog --from localhost:27017 --host localhost:27108 --ssl
      ^C

      without specifying --ssl connection error

      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongooplog --from localhost:27017 --host localhost:27108
      connected to: localhost:27108
      Mon Feb 25 11:08:42.009 [oplogreplay] going to connect
      Mon Feb 25 11:08:42.010 [oplogreplay] connected
      Mon Feb 25 11:08:42.010 [oplogreplay] starting from Feb 24 11:08:42:0
      Mon Feb 25 11:08:42.010 [oplogreplay] Socket recv() errno:104 Connection reset by peer 127.0.0.1:27017
      Mon Feb 25 11:08:42.010 [oplogreplay] SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [1] server [127.0.0.1:27017]
      Mon Feb 25 11:08:42.010 [oplogreplay] DBClientCursor::init call() failed
      assertion: 15910 Doesn't have cursor for reading oplog
      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$

            Assignee:
            Unassigned Unassigned
            Reporter:
            gregor Gregor Macadam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: