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

Clean up overloaded functions in the CppSuite

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 8
    • StorEng - Refinement Pipeline

      The CppSuite framework code provides default implementations for the following operations: populate, insert, update, remove. The expectation was that the majority of tests would only need to overload 1 or maybe 2 of these operations. However a number of tests have been written recently that overload most of the operations.

      This could be caused by a few things but the main likely reason is that the default implementation doesn't meet the needs of the test writer.

      I think there would be value in re-visiting the default implementations and seeing if we can incorporate features that would make them use-able by the tests that are overloading them.

      Some common examples are:

      • Update being overloaded as it utilizes the database_model key count
      • Populate being overloaded as it utilizes key ids instead of randomized keys

      Scope:

      • Investigate tests with a large number of overloaded operations
      • Try to improve the default implementation
      • Remove the overloaded implementation

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: