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

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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2017-03-06, Repl 2017-03-27, Repl 2017-04-17, Repl 2017-05-08

      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.

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

              Created:
              Updated:
              Resolved: