Software Testing / Learning brief

The task that went missing between two lists

What this means in plain language

Lily moves a task from one list to another and it vanishes. A shelf story shows Tom how a transaction keeps a save all-or-nothing, and how to test for data that was only half saved when a step fails.

Understand the full idea, step by step

You take a book off shelf A. The lights go out before you reach shelf B. Now the book is on neither shelf. You wanted the move done in one go, or not at all.

Databases have the same worry. Tom, the tester at Daily List, the to-do list app, has a user who lost a task in just this way.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Database transactions as taught in this academy, with an invented app and invented people. Sources are PostgreSQL documentation pages and a research paper, seen as search excerpts only. Other databases differ.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. The shelf is a teaching picture. The test switch and the limit are invented, and PostgreSQL is one example of many databases.

Sources for this brief — 3 sources
  1. Market practice

    Transactions (PostgreSQL tutorial) ↗ — PostgreSQL Global Development Group · Tutorial section on transactions: BEGIN and COMMIT group steps so that they happen as one; ROLLBACK cancels the updates so far; a failure part-way leaves none of the steps applied; each statement outside BEGIN is its own transaction (search excerpt, page not opened)

    §3.4 explicit transactions and savepoints. PostgreSQL18 implementation, not a universal SQL mandate. · Checked 2026-11-06

    PostgreSQL18 publisher documentation opened on6November2026: §3.4 explicit transactions and savepoints. No execution on PostgreSQL is claimed; engine-specific examples remain scoped to18.

  2. Market practice

    Transaction Isolation (PostgreSQL documentation, current version) ↗ — PostgreSQL Global Development Group · Transaction isolation page: four standard levels are accepted but PostgreSQL implements three distinct ones; Read Uncommitted behaves as Read Committed so dirty reads cannot happen; Read Committed is the default and gives each command a fresh snapshot; Repeatable Read does not allow phantom reads in PostgreSQL; Serializable also watches for results that no one-at-a-time order could give (search excerpt, page not opened)

    §13.2 isolation levels and Read Committed snapshots. PostgreSQL18 implementation, not a universal SQL mandate. · Checked 2026-11-06

    PostgreSQL18 publisher documentation opened on6November2026: §13.2 isolation levels and Read Committed snapshots. No execution on PostgreSQL is claimed; engine-specific examples remain scoped to18.

  3. Market practice

    A Critique of ANSI SQL Isolation Levels (MSR-TR-95-51) ↗ — Microsoft Research · Research paper critiquing the ANSI SQL isolation level definitions; used only to say that the level names alone do not settle which problems are possible (search excerpt, page not opened)

    Reproduces ANSI SQL-92's isolation-level definitions — dirty read, non-repeatable read, phantom — in order to argue they are ambiguous, and proposes the phenomena-based definitions the field now uses.

    Used here wherever a data question turns on what an isolation level actually guarantees. It is the free route to definitions the SQL standard itself paywalls. · Checked 2026-08-18

    Berenson, Bernstein, Gray, Melton, O'Neil and O'Neil, June 1995. Jim Melton was the SQL standard's own editor, which is why a paper finding fault with ANSI SQL-92 is a usable route to what ANSI SQL-92 said.

    Cited as an industry paper, not a standard: it argues against the definitions it reproduces, so a citation has to be clear about which half it is relying on — the quotation of the standard, or the critique of it.

Learn this properly

START HEREDatabase transactions, ACID and isolation: testing for half-saved dataA save that is half done leaves bad data. Learn what a transaction promises and how to test for half-saved data when steps fail or two users act at once.Opens at L0 Explain simply · about 18 min

Related briefs

The task that went open, done and archived

Tom plans tests for a task that moves from open to done to archived. You learn the three state goals, how many cells a state table has, and why a path of moves can find what one move cannot find.

READ BRIEF

The task title that was one letter too long

A task title may have 1 to 100 characters. Tom cannot try every title, so he splits them into groups and tests the edges. You see how one title of 101 characters shows a slip that a title of 8 never would.

READ BRIEF