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

Simple 4.4.0-rc7 repset test - restarted member not catching up on oplog [or count drift]

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.4.0-rc7
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      Ubuntu 20.04
    • ALL
    • Hide

      Follow this process: https://github.com/pkdone/MongoDB-AUTO-HA

      In mointor.sh replace .countDocuments({}) with the old method that was being used: .count()

      Increase the rate of document insertion by reducing the sleep in insert.py from 0.025s to 0.005s to make the count variance appear faster/more obvious

      Ensure laptop/workstation is under load/strain and you may need to kill three or four primaries before witnessing the behaviour

      Show
      Follow this process:  https://github.com/pkdone/MongoDB-AUTO-HA In  mointor.sh replace .countDocuments({}) with the old method that was being used:  .count() Increase the rate of document insertion by reducing the sleep in  insert.py  from 0.025s to 0.005s to make the count variance appear faster/more obvious Ensure laptop/workstation is under load/strain and you may need to kill three or four primaries before witnessing the behaviour

      Simple replicat set test of 3 mongod servers as part of one replica set  works fine on 4.2.6 and many other earlier versions of mongodb over the years.

      Just tried on 4.4.0-rc7 and when a primary is killed and then restarted it does not seem to catch-up on the oplog.

      To reproduce follow this process: https://github.com/pkdone/MongoDB-AUTO-HA

      More info to follow below

        1. SERVER-48675.png
          SERVER-48675.png
          80 kB
        2. SERVER-48675-440-rc11.tgz
          597 kB
        3. server-48765.tgz
          497 kB

            Assignee:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Reporter:
            paul.done@mongodb.com Paul Done
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: