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

Pass thread worker session into set_tracking_cursor

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Engines - 2022-06-27

      Summary
      workload_tracking::set_tracking_cursor() is intended for users to override and save arbitrary data about their test. However, currently its arguments are hard coded meaning users need to either add new arguments to the function signature or find a work around to pass through data. (One such example is in cache_resize where the user needs to write current_cache_size in the value field so it can be saved to the tracking table).

      We should update this function to take a more generic reference to the session or connection such that users do not need to make this change.

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            tammy.bailey@mongodb.com Tammy Bailey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: