Transaction - CI/CD Glossary Definition
A transaction groups one or more statements into a single unit that either fully commits or fully rolls back, so the database never reflects a half-finished change.
In CI
A common test pattern wraps each test in a transaction and rolls it back at teardown, leaving the database pristine for the next test without truncating tables.
Related guides
ACID - CI/CD Glossary DefinitionACID: ACID is the set of guarantees a transactional database provides: Atomicity (all-or-nothing), Consistenc…
Isolation Level - CI/CD Glossary DefinitionIsolation Level: An isolation level controls how visible one transaction's uncommitted work is to others. The…
Deadlock - CI/CD Glossary DefinitionDeadlock: A deadlock occurs when two transactions each hold a lock the other needs, so neither can proceed. T…