Skip to content

ColdSnake v0.1.3

Choose a tag to compare

@kurobeats kurobeats released this 28 Sep 03:46
· 27 commits to main since this release

Bug-fix release.

Fixed

  • Error handling upload parts killed large files. geo-fileserver-list
    hands out several signed deposit nodes and chunks of one upload were allowed
    to land on any of them; the server assembles a file only from parts on a
    single node, so the final chunk of a large video was refused after its 115
    earlier chunks had been accepted and journalled ("uploaded" files also showed
    up as verify failures for the same reason). The node that accepts a file's
    first chunk is now remembered (per upload) and every later chunk of that file
    goes to it alone; if the node leaves the endpoint list the pin is dropped and
    a fresh one is picked.
  • A file that still cannot be assembled no longer retries forever. Its
    journal entry is dropped, so the next run re-sends the whole file to one node
    instead of resending only the missing chunk against parts it can never
    assemble (the upload id is derived from destination+size+mtime and parts are
    overwritten by a full re-send, so the id itself is fine to reuse).

Changed

  • __version__ is read from the installed distribution metadata instead of a
    hardcoded string (coldsnake --version reported 0.1.2 after installing
    0.1.3).
  • README: the systemd units run a Type=oneshot job, so systemctl start/
    restart block until the whole mirror run finishes - documented, with
    --no-block.