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

Block TTL deletions on tenant being migrated on recipient until the migration is forgotten

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0
    • None
    • Fully Compatible
    • Sharding 2021-03-08, Sharding 2021-03-22

    Description

      The donor should already block TTL deletions once it enters the blocking phase. But the recipient could do TTL deletions independent of the donor. This could be an issue in the following sequence.

      1. donor receives update to _id:1 to so no longer matches ttl
      2. recipient ttl deletes _id:1 independently due to ttl
      3. recipient receives op='u' and ignores it

      So we should block TTL deletions on recipient for collections being migrated until the migration is done (marked as garbage collectable).

      Attachments

        Issue Links

          Activity

            People

              andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
              lingzhi.deng@mongodb.com Lingzhi Deng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: