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

Recoverable Rollback: Extend TTL-related collMod oplog entry to include previous expiration

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.7
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2017-03-06, Repl 2017-03-27, Repl 2017-04-17, Repl 2017-05-08

      Description

      When the expiration on a TTL index is updated, the oplog entry contains the final expiration requested by the user. In the context of rollback, it would be desirable to include the previous expiration so that we can rollback the changes to the TTL index without any communication with the sync source.

      We could encode the previous setting in the o2 field, and also make sure to record the index name in addition as the previous expiration.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              william.schultz William Schultz (Inactive)
              Reporter:
              benety.goh Benety Goh
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: