Repository navigation
Commit fc42d66
committed
Update docs: state the hashtext collision risk plainly in migration-runner README
The prior wording read as a guarantee ("distinct packages never
contend") when what's actually true is narrower: the lock key is a
32-bit hash of the ledger table name, not the name itself, so two
distinct names could in principle collide — a liveness cost (one
package's boot waits on another's), never a correctness one. Verified
against a live hashtext() that today's six ledger table names don't
collide, and says so, with the reminder to reverify for a seventh.1 parent f00ceff commit fc42d66
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments