Prohibit direct application access to internal ingest/stable tables

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Layered Tables
    • None
    • Storage Engines - Foundations
    • 425.964
    • None
    • None

      Applications can currently open cursors and run schema operations (create, drop, truncate, alter) directly on internal tables: the ingest and stable constituents of layered tables (file:*.wt_ingest / file:*.wt_stable), as well as the disaggregated shared metadata and shared history store tables. These tables are internal implementation details: reading a constituent bypasses the layered composite view, writing to one can break layered table invariants, and their format and existence are not a stable contract.

      We should create a guard that refuses such access by default, with an explicit opt-in (session-level debug configuration) so that internal tests and debugging workflows can still access these tables directly.

            Assignee:
            Ivan Kochin
            Reporter:
            Ivan Kochin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: