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

Data handle loop may terminate without applying operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4, 3.7.3, WT3.1.0
    • Component/s: None
    • Labels:
      None

      Description

      In _meta_btree_apply, there is a loop to apply an operation against all file data handles in the metadata. In getting a data handle, if it returns EBUSY, the loop is aborted, rather than simply skipping this entry. It looks like one important use of this function is in preparing a list of checkpoint handles in session->ckpt_handle. It seems if EBUSY can be returned, for example if a file is dropped simultaneous to walking the metadata, then the list will be incomplete, and we will miss flushing a bunch of handles. I don't know if this is theoretical or how serious it may be.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              donald.anderson Donald Anderson
              Reporter:
              donald.anderson Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: