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

Slave has more inserts than master using --dur after unclean shutdown of master

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.8.0-rc1
    • Replication
    • None
    • Ubuntu 10.10 using a rackspace 512M master and 256M slave
    • Linux

    Description

      Bring up master: mongod --master --dur
      Bring up slave: mongod --slave --source <ip> --dur
      Start loop inserting tiny objects: for (i=0 ; i < 4000000; i++) { var doc =

      {foo:i}

      ; db.stuff.insert(doc);}
      kill -9 on master

      Check num docs on slave:
      > db.stuff.find().count()
      636315

      Bring up master and check num docs:
      > db.stuff.find().count()
      636102

      Attachments

        Activity

          People

            Unassigned Unassigned
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: