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

Allow truncate operation with no timestamp for non standalone builds

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • 2023-05-02 StorEng Bug Bash

      WiredTiger doesn't allow a truncate operation to be performed on a timestamp table without a commit timestamp. The background reason behind this is not able to remove any historical versions that exist for the keys on the page that are fast truncated as part of the truncate operation.

      Currently, MongoDB doesn't perform a truncate operation on a table that has historical versions. To allow MongoDB to proceed with the truncate operation, the restriction of not allowing the truncate operation to be committed without a timestamp is limited only to the WiredTiger standalone builds.

      This is a temporary fix until the full solution is implemented as part of WT-10887.

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: