# Keep a staged upload's check when the server can't answer; one check at a time · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/58a84527ac611b392a8af233206cb710c428d235)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 58a84527ac611b392a8af233206cb710c428d235

Requested commit: 58a84527ac611b392a8af233206cb710c428d235

Commit: 58a84527ac611b392a8af233206cb710c428d235

Tree: 0e325b03d3bee33b07ec7c37ed91e164e81171e5

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Keep a staged upload's check when the server can't answer; one check at a time

A reference check that could not tell (a failed server read) dropped
the job's mark. A staged job has no other way out, so it then waited
forever. The check now tells deleted, still referenced, and unknown
apart: unknown keeps a staged job's mark and lets a job that can
upload go on, as before.

Two retries could each run the check on the same job; one that could
not tell let it start uploading while the other deleted it. Checks now
run one pass at a time, and every retry waits for the running pass
before starting an upload.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

```

## Parents

- [fab3270bf681226f2be3674682e223c22ecadbf3](https://git.cafe/dara/icarus/commit/fab3270bf681226f2be3674682e223c22ecadbf3?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/58a84527ac611b392a8af233206cb710c428d235?format=markdown)
