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

Fix workgen tracking of table state across workloads

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.9, 4.0.2, 4.1.2, WT3.2.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage Engines 2018-08-13

      Description

      While chasing WT-4194, I ran into a bug where workgen was not tracking the number of records inserted into tables as expected. In particular, counts were reset to zero in each phase of the workload (each time a Workload object was created in Python).

      I tracked this down to some code in ContextInternal::create_all that assumes sizeof (TableRuntime) == sizeof (uint64_t) – maybe that was true at some point, but not any more.

        Attachments

          Activity

            People

            Assignee:
            michael.cahill Michael Cahill
            Reporter:
            michael.cahill Michael Cahill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: