Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4033

Add ability to alter tables without taking exclusive access

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 3.6.6, 4.0.0-rc0, WT3.1.0
    • None
    • None
    • 5
    • Storage Non-NYC 2018-04-23, Storage Non-NYC 2018-05-07
    • 28

    Description

      There is a special case where it's OK to alter a tables metadata settings without taking exclusive access. That case is for the app_metadata string - since the app_metadata only appears in table URIs, and doesn't need to be re-loaded immediately when the change is made, it's possible to safely make that update without gaining exclusive access to a handle.

      The functionality will be enabled via an undocumented flag, that's because it's not generally possible to be sure that it's safe to do alter without locking without knowledge of WiredTiger internals.

      Attachments

        Activity

          People

            sulabh.mahajan@mongodb.com Sulabh Mahajan
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: