You can't retire an old service until you can prove no accepted work gets lost in the switch.
BLOCKEDAll its own tests pass, and the check measured 15 lost and 9 finished messages back. Scenario messages are SYNTHETIC.
01 / 08
The rejection
A replacement that passes every one of its own tests was turned away. It grades its own work. The messages it dropped were never in those tests.
The program being retired
- name
- beanstalkd stock at 25085c5 (seed text; a real record carries the program's own wording)
- licence
- MIT-style permissive licence sha256:bad1fd0e5c
- binary hash
- sha256:58d45e6bad82a56bb83d
- build kind
- stock
- flags
- /seed/frozen/beanstalkd-25085c5 -l 127.0.0.1 -p {port} -b {recovery_dir} -z 1024 -s 1048576
- durability
- persistence on; log sync every 50 ms
Stock build, unmodified. The hash above is the frozen binary that ran. Nothing to disclose.
Which rules lost it
naive foil: constructed with knowledge of the near-limit edge. The naive and reconciling rule sets are constructed foils, written knowing the edge. They show what a reasonable-looking recovery does, and they are not blind work. Prepared is a reference repair, PREPARED, the labelled fallback: live, Argon writes the repair.
Consequences are counted at message level only.
02 / 08
The flip
Workers agree with each other. That counts for nothing until a probe runs against the real original. Then a belief changes, or it does not.
Wonder and Spark investigate. They never write code. 23 of 24 agents listed here worked in this run.
| Claim | State | Agreement (never enough) | If wrong |
|---|---|---|---|
| H-01 Whatever the original accepts with put, it replays on the next start from the same log. | INFERREDbecameREFUTED | 3 concur, 1 dissent (from Spark-h01) | If wrong, accepted messages vanish on a restart and nothing fails: the server's own counts agree with what is left. |
| H-02 A body of exactly the size limit, or one byte under it, is accepted, then refused on replay, and the rest of that log file is ignored. | INFERREDbecameOBSERVED | 1 concur, 1 dissent (from Spark-h03) | If wrong, a recovery that trusts the replay loses every pending message after the large one and brings finished ones back. |
| H-03 A consumer that drops its connection mid-work hands the job back at once, not after the time limit. | OBSERVED | 1 concur, 2 dissent (from Spark-h02) | If wrong, a dead consumer's message waits out its limit during the switch and looks lost. |
| H-04 A job still reserved when its time limit passes goes back to ready. | OBSERVED | 1 concur, 0 dissent (from Spark-h04) | If wrong, every message in flight at the switch is read as done and never processed. |
| H-05 A job delayed past the cutover keeps its remaining delay. | UNKNOWN | 0 concur, 1 dissent (from Spark-h04) | Not probed: the receipt lists it as an unknown, never as a pass. |
| H-06 Two consumers reserving at the same instant never receive the same job. | INFERRED | 3 concur, 0 dissent (from Spark-h05) | Agreement among five workers is shown here and promotes nothing. Only a probe can. |
The one uncommon part, in the original's own words: sizes and limits
It wrote 3 lines to stderr when it started again
- stderr …/recovery/binlog.1:132: job 2 is too big (1025 > 1024)
- stderr /seed/frozen/beanstalkd-25085c5: Errors reading one or more WAL files.
- stderr /seed/frozen/beanstalkd-25085c5: Continuing. You may be missing data.
Its binlog files
| file | bytes |
|---|---|
| binlog.1 | 1,048,576 |
| binlog.2 | 1,048,576 |
| lock | 0 |
| after the restart | body bytes | still there |
|---|---|---|
| The job before yours | 24 | yes |
| Your message | 1,023 | gone |
| The job after yours | 23 | gone |
/seed/frozen/beanstalkd-25085c5 -l 127.0.0.1 -p 62000 -b /seed/rehearsal/original/recovery -z 1024 -s 1048576
What the tracer saw on the seed's example lines, not a measurement, line by line. Probe pr-03-near-limit SEED pids 4121, 4188 · process isolation on the Mac, not a container
- 0 ms exec /seed/frozen/beanstalkd-25085c5 -b /seed/rehearsal/original/recovery -z 1024
- 36 ms SIGKILL process ended on SIGKILL, exit -9
- 71 ms stderr …/recovery/binlog.1:132: job 2 is too big (1025 > 1024)
- 71 ms stderr /seed/frozen/beanstalkd-25085c5: Errors reading one or more WAL files.
- 71 ms stderr /seed/frozen/beanstalkd-25085c5: Continuing. You may be missing data.
- 71 ms binlog after start: binlog.1 1048576 bytes
- 71 ms binlog after start: binlog.2 1048576 bytes
- 71 ms binlog after start: lock 0 bytes
03 / 08
The repair
04 / 08
The independent check
05 / 08
The stop
06 / 08
The fence and the count
The stop did not happen in this record. The count below is what the check measured before it.
The naive and reconciling rule sets are constructed foils, written knowing the edge. They show what a reasonable-looking recovery does, and they are not blind work. Prepared is a reference repair, PREPARED, the labelled fallback: live, Argon writes the repair.
NOT VERIFIED After the stop: lost and came-back are NOT MEASURED. The stop did not complete in this record, so there is no count after it.
Under the naive rules, 9 finished messages would reach the sink a second time. No sink tally in this record, so duplicates at the sink are NOT VERIFIED.
- 15
No sink tally. That reads NOT VERIFIED, never clean.
07 / 08
The return
08 / 08
The receipt
One receipt. Three separate claims, attempts against effects, the unknowns, the way back, the exact flags.
BLOCK
- 15 accepted messages unaccounted for
- 9 finished messages would be delivered again
- not measured: identity
- not measured: reproducible build
- not measured: conformance
- not measured: sink tally
- not measured: return test
Candidate 46284b98939fc67c. SEED SEED: target, not measured.
Open the receipt