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

Add ability to alter tables without taking exclusive access

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.6.6, 4.0.0-rc0, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage Non-NYC 2018-04-23, Storage Non-NYC 2018-05-07
    • 28

      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.

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

              Created:
              Updated:
              Resolved: