TABLE
TABLE = 'strata_journal'
The table operations are appended to.
A journal backed by a database table.
The default, and the one the test lane runs against, because it needs nothing beyond the database Drupal already has. A Redis-backed journal is faster on a busy site but is optional; this one is always available, which is what a capture path needs.
The append is a single INSERT with no read before it. The sequence comes from the table's serial column, so two concurrent requests get a total order without either of them locking anything.
append(\Drupal\strata\Journal\JournalOp $operation, ?string $payload = null) : \Drupal\strata\Journal\JournalOp
Appends an operation and its payload.
| \Drupal\strata\Journal\JournalOp | $operation | The operation to append. |
| ?string | $payload | The value the operation captured, or NULL for an operation that carries none. |
The operation as appended, carrying its assigned sequence.