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

Add operation tracking support for truncate operation in cpp test framework

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • StorEng - Defined Pipeline

      Summary
      WT-10032 adds support for the truncate operation in the C++ test framework. We should also implement support to track and validate truncate operations. This requires some more considerations though.

      For other operations like insert, update, and delete it was more straightforward as we only had to keep track of one key. The operation tracking for truncate could be implemented by iterating through all the keys in the desired range and then marking each as deleted but this does not seem efficient at all. There may also be scenarios where we don't specify a start/stop key on the truncate range, requiring a traversal through a large portion of the table.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            monica.ng@mongodb.com Monica Ng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: