ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Truncate
    • None
    • Storage Engines - Foundations
    • 27.151
    • SE Foundations - 2026-10-13
    • None

      Summary: Truncate-list conflict checks run before the isolation check and return WT_ROLLBACK instead of ENOTSUP

      Problem

      • Writes at read-committed or read-uncommitted isolation are rejected with ENOTSUP by __wt_txn_id_check on all tables.
      • On a follower, __wt_layered_table_truncate_detect_write_conflict runs first and has no isolation test.
      • Read-committed writer inside an uncommitted truncate range: WT_ROLLBACK (retryable) instead of ENOTSUP (usage error).
      • Read-uncommitted writer: every entry counts as visible, no list conflict, then ENOTSUP.

      Definition of Done

      • List checks skip or defer to the isolation check so the error code matches the leader and per-key remove.
      • Python test for both isolation levels on a follower.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Yury Ershov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: