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

workgen: add support for WT_CURSOR::modify

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Raised in the discussion for WT-3739. To add WT_CURSOR::modify support to workgen, we need to support u, and figure out what modify calls should do. As in, how customizable do we need the modify call to be? For a straw man, one could assume length of modify vector and average size of the data for each entry could be parameters. Since we currently have a fixed size for keys and values, a simple approach would have all modify entries always swap N bytes for a different N bytes. Then the size of the final resulting value would be the same fixed size. If the size isn't fixed (and a lower size bound is not known), it's harder to come up with modify parameters that will always work.

      Attachments

        Activity

          People

            backlog-server-storage-engines Backlog - Storage Engines Team
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: