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

Replication should be smarter if unable to apply an operation to a secondary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.4
    • Component/s: Replication
    • Environment:
    • ALL

      If sync operation detects corruption or a bad operation it should fail-fast rather than skip the operation and allow secondary to get out of sync.

      Wed Nov 16 03:31:30 [replica set sync] replSet skipping bad op in oplog: Assertion: 10329:Element too large
      0x55f33a 0x4ec4c9 0x706fe8 0x707242 0x70c3ab 0x70c978 0x70c9fc 0x70ce95 0x8c1d90 0x3410a0673d 0x340fed44bd
       /home/mongodb/latest/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x12a) [0x55f33a]
       /home/mongodb/latest/bin/mongod(_ZNK5mongo7BSONObj8toStringERNS_13StringBuilderEbb+0x2d9) [0x4ec4c9]
       /home/mongodb/latest/bin/mongod(_ZN5mongo5blankERKNS_7BSONObjE+0x88) [0x706fe8]
       /home/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl9syncApplyERKNS_7BSONObjE+0x182) [0x707242]
       /home/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl8syncTailEv+0x193b) [0x70c3ab]
       /home/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl11_syncThreadEv+0xc8) [0x70c978]
       /home/mongodb/latest/bin/mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x3c) [0x70c9fc]
       /home/mongodb/latest/bin/mongod(_ZN5mongo15startSyncThreadEv+0x215) [0x70ce95]
       /home/mongodb/latest/bin/mongod(thread_proxy+0x80) [0x8c1d90]
       /lib64/libpthread.so.0 [0x3410a0673d]
       /lib64/libc.so.6(clone+0x6d) [0x340fed44bd]
      

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

              Created:
              Updated:
              Resolved: