]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Note about speeding possum storage up
authorMatt Joiner <anacrolix@gmail.com>
Fri, 8 Mar 2024 05:59:16 +0000 (16:59 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 8 Mar 2024 05:59:16 +0000 (16:59 +1100)
storage/possum/possum-provider.go

index ebd659e668919dad016d7b5113e16c7c97481ad4..9ad188ed48c655b878d88091f04a7272914659d0 100644 (file)
@@ -17,7 +17,9 @@ import (
 )
 
 // Extends possum resource.Provider with an efficient implementation of torrent
-// storage.ConsecutiveChunkReader. TODO: This doesn't expose Capacity
+// storage.ConsecutiveChunkReader. TODO: This doesn't expose Capacity. TODO: Add a MarkComplete
+// method that renames incomplete chunks rather than writing them to a single giant key and deleting
+// them.
 type Provider struct {
        possumResource.Provider
        Logger log.Logger