[SERVER-2722] Slave has more inserts than master using --dur after unclean shutdown of master Created: 09/Mar/11  Updated: 09/Mar/11  Resolved: 09/Mar/11

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 1.8.0-rc1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.10 using a rackspace 512M master and 256M slave


Operating System: Linux
Participants:

 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


Generated at Thu Feb 08 03:01:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.