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

Add ability to alter tables without taking exclusive access

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6, 4.0.0-rc0, WT3.1.0
    • Component/s: None
    • Labels:
      None

      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

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

              Dates

              Created:
              Updated:
              Resolved: