format: use config_off_all to disable ops.truncate for all tables with prepare and precise checkpoint

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT12.0.0, 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: Test Format
    • None
    • Storage Engines - Foundations
    • 90.327
    • None
    • None

      In config_transaction(), when both PRECISE_CHECKPOINT and OPS_PREPARE are enabled, the code disables ops.truncate because prepared truncate operations are not yet supported (see FIXME-WT-15565).

      The previous call used config_off(NULL, "ops.truncate"), which only disables the option on the global (NULL/table-0) configuration. In multi-table format runs, per-table configurations were left untouched, meaning truncate could still be enabled on individual tables — potentially triggering the unsupported code path.

      Fix: replace with config_off_all("ops.truncate"), which disables the option on all tables (global + each per-table config), matching the pattern used elsewhere in the file for table-wide restrictions.

            Assignee:
            Sid Mahajan
            Reporter:
            Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: