[SERVER-7244] Rollback should handle system.indexes inserts better Created: 03/Oct/12  Updated: 25/Jan/17  Resolved: 22/Sep/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.1.9

Type: Bug Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-18035 Data Replicator: Refactor Rollback Code Closed
related to SERVER-5930 rollback loop should be smarter Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: RPL A (10/09/15)
Participants:

 Description   

Wed Oct  3 03:46:49 [rsSync] replSet WARNING ignoring op on rollback no _id TODO : somedb.system.indexes { ts: Timestamp 1348394401000|55, h: 2618259910936082790, op: "i", ns: "somedb.system.indexes", o: { ns: "somedb.somecoll", background: false, name: "key_1", key: { key: 1 } } }



 Comments   
Comment by Benety Goh [ 22/Sep/15 ]

Commits for backport. These commits require some modification because they do not apply cleanly to 3.0.

b34749fa2047d170603751baa159562f5d1e2062

65c034766b1e84827f7b0715349d5586f2ec10b3

Comment by Githook User [ 22/Sep/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-7244 added tests for rolling back index creation and operations with no _id
Branch: master
https://github.com/mongodb/mongo/commit/230005e3ac47b6278e22144af8d9ce417e3e1aa2

Comment by Githook User [ 22/Sep/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-7244 when rolling back index creation operations, prefer dropping index to resyncing collection
Branch: master
https://github.com/mongodb/mongo/commit/65c034766b1e84827f7b0715349d5586f2ec10b3

Comment by Githook User [ 22/Sep/15 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-7244 disallow rollback of ops (with the exception of system.indexes) without _id.
Branch: master
https://github.com/mongodb/mongo/commit/b34749fa2047d170603751baa159562f5d1e2062

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