docs: mention Reprovider.Strategy config
Marcin Rataj committed
Mar 14, 2025 at 20:33 UTC
0fcc9904824eb38b2213c1fab389e2fa7a8165d5
1 file changed
+5
-1
docs/changelogs/v0.34.md
+5
-1
@@ -92,7 +92,11 @@ Kubo previously depended on multiple multi-error packages, `github.com/hashicorp
92
93
#### Fix hanging pinset operations during reprovides
94
95
-The reprovide process can be quite slow. In default settings, the reprovide process will start reading CIDs that belong to the pinset. During this operation, starvation can occur for other operations that need pinset access (see https://github.com/ipfs/kubo/issue/10596). We have now switch to buffering pinset-related cids that are going to be reprovided in memory, so that we can free pinset mutexes as soon as possible so that pinset-writes and subsequent read operations can proceed. The downside is larger pinsets will need some extra memory, with an estimation of ~1GiB of RAM memory-use per 20 million items to be reprovided.
95
+The reprovide process can be quite slow. In default settings, the reprovide process will start reading CIDs that belong to the pinset. During this operation, starvation can occur for other operations that need pinset access (see https://github.com/ipfs/kubo/issues/10596).
96
+
97
+We have now switch to buffering pinset-related cids that are going to be reprovided in memory, so that we can free pinset mutexes as soon as possible so that pinset-writes and subsequent read operations can proceed. The downside is larger pinsets will need some extra memory, with an estimation of ~1GiB of RAM memory-use per 20 million items to be reprovided.
98
+
99
+Use [`Reprovider.Strategy`](https://github.com/ipfs/kubo/blob/master/docs/config.md#reproviderstrategy) to balance announcement prioritization, speed, and memory utilization.
100
101
#### 📦️ Important dependency updates
102