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

Merge the mid-level of the bulk code into the cursor level.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.3.0
    • Component/s: None
    • Labels:

      Description

      @michaelcahill, if you recall there are 3 chunks of bulk-load code for historical reasons: there used to be a big chunk of btree bulk-load code that I removed almost entirely when I integrated bulk-load into reconciliation. The stubs that are left do little other than check the key-sort order (row-store), or count up the duplicates (variable-length column-store).

      In short, we have 3 chunks of bulk-load code at the moment, the cursor layer, the reconciliation layer, and some random stuff in the middle. This branch puts most of the random stuff in the middle into the cursor layer.

      This means the cursor layer owns checking the row-store key sort order (which feels reasonable to me), but also does the duplicate counting for variable-length column-store, which I'm less comfortable with.

      Anyway, I thought this might be a way to simplify the layering, feel free to discard it if you disagree.

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: