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

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.7
    • Replication
    • None
    • Fully Compatible
    • 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

              william.schultz@mongodb.com William Schultz (Inactive)
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: