Allow truncate operation with no timestamp for non standalone builds

XMLWordPrintableJSON

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

      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
            Reporter:
            Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: