Data handle loop may terminate without applying operations

XMLWordPrintableJSON

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

      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.

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

              Created:
              Updated:
              Resolved: