Package dev.frostlake.transaction


package dev.frostlake.transaction
  • Class
    Description
     
     
    What a consuming DML's stream read actually SAW, captured at read time so the commit can advance the stream past exactly that — and nothing more.
    One table-level lock a transaction is HOLDING, as SHOW LOCKS reports it (live-verified): partition-rewriting DML — UPDATE, DELETE (even one matching no rows), MERGE, TRUNCATE — registers a PARTITIONS lock on the table's fully qualified name, one row per (transaction, table) however many statements touch it, released when the transaction ends.
     
     
     
    Transaction state enum - represents the state of a transaction
    Per-transaction buffer of pending changes — the foundation of the deferred-apply / READ COMMITTED model (see docs/acid-snowflake-plan.md).
     
    Callback the TransactionManager invokes when a transaction commits successfully, handing over the committed transaction's mutating SQL statements so a durability layer (the engine's write-ahead log) can append them as one atomic, fsync'd record.
    A COPY-ON-FIRST-MUTATION statement savepoint over a TransactionWriteSet.