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

Fix workgen tracking of table state across workloads

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.6.9, 4.0.2, 4.1.2, WT3.2.0
    • None
    • None
    • 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

            michael.cahill@mongodb.com Michael Cahill
            michael.cahill@mongodb.com Michael Cahill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: