Two test runs can both finish writing a result, and the person reading the results can still attribute the wrong file to the first run. The restore study discarded an early run when a second launch shared its scratch directory. That record tells us why the team discarded the run. It leaves open which files, if any, actually collided.
We illustrated the distinction in a separate filesystem demonstration on 22 November. Writer A saved the text “run A” in a result file. Writer B then saved “run B”. Only after both writes did each reader open its assigned path. We repeated the same sequence with one change to the paths.
| Directory layout | Reader A saw | Reader B saw |
|---|---|---|
| Both writers used the same result file | run B | run B |
| Each writer used its own directory and result file | run A | run B |
Both writes succeeded in both cases. With a shared filename, inspecting whether the file existed would have passed twice. Checking its contents against the expected writer revealed the error. Giving each run its own directory preserved both results in this example.
The demonstration used two ordered writes of short labels. It neither ran the database harness nor established what happened inside the discarded run. Its practical lesson is to bind each result path to a run when the run starts and keep that association when reading the result. A successful read tells you surprisingly little if you have lost track of who wrote the file.
← All engineering articles