[SERVER-28211] Recoverable Rollback: Create RollbackFixUpInfo - fix up info will be persisted in local database. Created: 06/Mar/17  Updated: 06/Dec/17  Resolved: 21/Apr/17

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

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-28213 Recoverable Rollback: Add RollbackFix... Closed
Related
related to SERVER-27989 Add collection UUIDs to oplog entries Closed
is related to SERVER-25084 Data Replicator Initial Sync does not... Closed
is related to SERVER-28294 Create server library for generating ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-04-17, Repl 2017-05-08
Participants:

 Description   

Contains information to roll back operations between the common point (with sync source) and the tail of the local oplog.

Filled in as we walk back the local oplog towards the common point between the local and remote oplogs.

This involves pulling out the fixup structure from rs_rollback.cpp.



 Comments   
Comment by Githook User [ 21/Apr/17 ]

Author:

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

Message: SERVER-28211 optimize processCreateCollection
Branch: master
https://github.com/mongodb/mongo/commit/f34a8c5ab964df8e590b1164c030c65759f96477

Comment by Githook User [ 21/Apr/17 ]

Author:

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

Message: SERVER-28211 optimize single document operations
Branch: master
https://github.com/mongodb/mongo/commit/1b386fef6773133a17f1fb1f33a254780c47ab04

Comment by Githook User [ 19/Apr/17 ]

Author:

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

Message: SERVER-28211 add StorageInterface::deleteByFilter
Branch: master
https://github.com/mongodb/mongo/commit/85472b2350952750b658178fc64bf80d8d357348

Comment by Githook User [ 19/Apr/17 ]

Author:

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

Message: SERVER-28211 add StorageInterface::deleteById()
Branch: master
https://github.com/mongodb/mongo/commit/2f7b34fc95a2b101344fd7ab1f51d97ecf02da46

Comment by Githook User [ 19/Apr/17 ]

Author:

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

Message: SERVER-28211 add StorageInterface::findById()
Branch: master
https://github.com/mongodb/mongo/commit/6dfa595dda5e67f44daedccabf2ece86d6f0b52b

Comment by Githook User [ 19/Apr/17 ]

Author:

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

Message: SERVER-28211 add db field to local.system.rollback.docs schema
Branch: master
https://github.com/mongodb/mongo/commit/673b1087be8de04776870e75a3d74b39bf373b7e

Comment by Githook User [ 18/Apr/17 ]

Author:

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

Message: SERVER-28211 RollbackFixUpInfo handles create, drop and TTL changes to indexes
Branch: master
https://github.com/mongodb/mongo/commit/104653ec8eca6865ff938c3e9966139b2cdd340f

Comment by Benety Goh [ 17/Apr/17 ]

Moving work from SERVER-28213 into this ticket. There will be no more intermediate work to keep the fix up info in memory.

Comment by Githook User [ 17/Apr/17 ]

Author:

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

Message: SERVER-28211 UUID::parse(BSONElement) returns InvalidUUID instead of UnknownError on error
Branch: master
https://github.com/mongodb/mongo/commit/0a51d1eb89d4a915ff3ffd9584fdfc99a633d94b

Comment by Githook User [ 17/Apr/17 ]

Author:

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

Message: SERVER-28211 RollbackFixUpInfo handles non-TTL collMod operations
Branch: master
https://github.com/mongodb/mongo/commit/4b2017f9d5f1f3aa1fc6291df876e57076e7e9d5

Comment by Githook User [ 13/Apr/17 ]

Author:

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

Message: SERVER-28211 RollbackFixUpInfo handles create, drop and rename collection commands
Branch: master
https://github.com/mongodb/mongo/commit/b02b7f7bb78d4fd0bb006591769faaa216e6f8a7

Comment by Githook User [ 06/Apr/17 ]

Author:

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

Message: SERVER-28211 StorageInterfaceImpl supports dropping system collections
Branch: master
https://github.com/mongodb/mongo/commit/b307c9eb7699b09c2cae2aa7235300c05abab5ed

Comment by Githook User [ 06/Apr/17 ]

Author:

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

Message: SERVER-28211 added RollbackFixUpInfo.

This implementation is incomplete and currently handles single document
insert/delete/update operations only.

Support for commands/indexes/noop operations will be implemented in another
commit.
Branch: master
https://github.com/mongodb/mongo/commit/b26dabc3c9c542ceb13314959603747ee36347de

Comment by Githook User [ 05/Apr/17 ]

Author:

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

Message: SERVER-28211 added StorageInterface::upsertById
Branch: master
https://github.com/mongodb/mongo/commit/4c48dfa3a6041d8618edd8f1f1e57af200e7cba6

Comment by Githook User [ 05/Apr/17 ]

Author:

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

Message: SERVER-28211 centralize collection namespace checking on RAII objects in StorageInterfaceImpl
Branch: master
https://github.com/mongodb/mongo/commit/8a11bb3af93dcaabdcfba01817733071e14e2f12

Comment by Githook User [ 03/Apr/17 ]

Author:

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

Message: SERVER-28211 added InternalPlanner::updateWithIdHack()
Branch: master
https://github.com/mongodb/mongo/commit/5a40f54c611bfb42ea6fba10eec8b004ac82ecf0

Comment by Githook User [ 31/Mar/17 ]

Author:

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

Message: SERVER-28211 cleaned up StorageInterfaceImpl unit test
Branch: master
https://github.com/mongodb/mongo/commit/5cb4dd07c37457af7b88e0d371c136569e911b4d

Comment by Githook User [ 29/Mar/17 ]

Author:

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

Message: SERVER-28211 removed StorageInterface::startup() and shutdown() functions

There is no need for StorageInterface implementations to have any active internal state.

These functions stopped doing anything meaningful since f8c4d2025431d83cda24c1a193321952372674c7.
Branch: master
https://github.com/mongodb/mongo/commit/62663f36fb362f9f0fa557b169726eb6bb0400af

Generated at Thu Feb 08 04:17:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.