-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
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.
- is related to
-
SERVER-24239 Add support for building indices with the same key pattern but different collations
- Closed
-
SERVER-28740 Recoverable Rollback: make collMod oplog entries reversible
- Closed
-
SERVER-27096 applyOps should validate its ops to ensure idempotency
- Backlog