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

Update WT operations that require exclusive access to a dhandle

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0, 5.0.27
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0, v4.4
    • Execution Team 2022-03-07, Execution Team 2022-03-21

      In SERVER-63605, we aligned the tests with the changes done in WT-8695.

      However, WT-8695 still causes issues in other places where we perform operations that require exclusive access to a dhandle: drop, salvage, alter, rename, verify, and upgrade.

      In wiredtiger_util.cpp, there are a few places where we call alter and verify.

      The scope of the work is to update all places where those operations are executed and/or the tests by

      The identified failing tests are visible in this patch build: where the following message appears:

      Device or resource busy 

      To make sure the changes are ok, perform the required tests with the tip of WiredTiger develop:

      cp -r $WT_HOME/src/* $MDB_HOME/src/third_party/wiredtiger/src/
      cp -r $WT_HOME/dist/* $MDB_HOME/src/third_party/wiredtiger/dist/ 

      The issues described in WT-8883 should no longer appear after the changes are done.

        1. collection-4-4177432105351068428.wt
          4 kB
        2. index-5-4177432105351068428.wt
          4 kB
        3. main.cpp
          4 kB

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: