Cerbero.DDL.CRDB (cerbero v0.1.0)

Copy Markdown View Source

CockroachDB limitation table, keyed by class and version. Same data-not-conditionals rigor as Locks. Scoped to the facts rules 4 and 7 consume; layer 4 asserts the observable behaviors behind it.

Summary

Functions

:online — succeeds as an online schema change; {:limited, note} — succeeds with a caveat worth a finding; {:rejected, note} — the engine refuses it; cerbero errors BEFORE deploy fails.

Functions

judge(arg1, v)

@spec judge(atom(), integer()) ::
  :online | {:limited, String.t()} | {:rejected, String.t()}

:online — succeeds as an online schema change; {:limited, note} — succeeds with a caveat worth a finding; {:rejected, note} — the engine refuses it; cerbero errors BEFORE deploy fails.