]> Sergey Matveev's repositories - btrtrc.git/commit
When failing to read stored data, try updating only the completion state for the...
authorMatt Joiner <anacrolix@gmail.com>
Tue, 9 Apr 2019 02:57:54 +0000 (12:57 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 9 Apr 2019 02:57:54 +0000 (12:57 +1000)
commitd4788882316354d3e44bd1926faed5f48449974a
tree628440643ff8a48a434f0e2ff4e50f2347097393
parentb5a1aabe90b71e1856d8b284092292bb6aa5aa9a
When failing to read stored data, try updating only the completion state for the failed piece

On rare occasions, reads are failing in a loop, exhausting all the available file descriptors. It's not clear why, it could be an error in the filecache storage backend I'm using, or some logic error regarding when it's okay to try to read.
reader.go
torrent.go