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

Possible runaway tenant migration thread running TenantOplogBatcher

    • Fully Compatible
    • ALL
    • Repl 2021-02-08, Repl 2021-02-22

      A bug was exposed while working on SERVER-53023 (creating the TTL index on the recipient).

      When we viewed the logs for a failing test after the TTL index ticket changes were made, we saw that a few tenant migrations were started, and each of these completed as well (we saw a "Starting tenant migration ..." and "Marked.." pair for each MigrationID). However, even after the last migration had completed, we found that the OplogBatcher was still running.

      Maybe this is because the TenantOplogBatcher is not being joined in the TenantOplogApplier's destructor, for example.

            Assignee:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: