phenotypic.sdk_.new_part_path#
- phenotypic.sdk_.new_part_path(final: Path) Path[source]#
Return a fresh, uuid-suffixed
.partsibling of final.The uuid – matching the
attempt_id = uuid4().hexconvention already used in_cli_staged_strategy.py(lines 148, 192, 225, 359) – is what keeps two concurrent writers from interleaving chunks into one directory. It is NOT what makes the promote itself benign; that is the retry loop inpromote_store(). An un-suffixed.partwould let two concurrent SLURM tasks interleave chunks into one directory and produce a store that validates. A PID is not enough: PIDs are reused.