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

Wait for 2-phase drop to finish in transaction tests

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication

      Collection 2-phase drop needs the DB lock in X mode which will block or abort the transactions, so we need to wait for them to be majority committed in SERVER-34349. However, this is not sufficient since the reaper runs asynchronously afterwards. We don't follow SERVER-34372 to complicate the logic of waiting for write concern. Instead, we will fix the tests for now and eventually with storage engine support, we don't have to acquire the DB lock in X mode to drop drop-pending collections.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: