diff --git a/docs/changelogs/v0.41.md b/docs/changelogs/v0.41.md index 41b761e2e..56531e3b7 100644 --- a/docs/changelogs/v0.41.md +++ b/docs/changelogs/v0.41.md @@ -10,6 +10,7 @@ This release was brought to you by the [Shipyard](https://ipshipyard.com/) team. - [Overview](#overview) - [๐Ÿ”ฆ Highlights](#-highlights) + - [๐Ÿ—‘๏ธ Provider Keystore Disk Reclamation](#-provider-keystore-disk-reclamation) - [๐Ÿ“ Changelog](#-changelog) - [๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributors](#-contributors) @@ -17,6 +18,19 @@ This release was brought to you by the [Shipyard](https://ipshipyard.com/) team. ### ๐Ÿ”ฆ Highlights +#### ๐Ÿ—‘๏ธ Provider Keystore Disk Reclamation + +The SweepingProvider's keystore now uses physically separate datastores instead +of namespacing within the shared repo datastore. When the keystore resets +during a reprovide cycle, the old datastore is removed from disk entirely +(`os.RemoveAll`) rather than being emptied key-by-key. This eliminates disk +bloat from stale tombstones that previously lingered until the storage engine's +background compaction ran. The new keystores live under +`/provider-keystore/` and automatically match the repo's configured +backend (LevelDB, Pebble, etc.). See +[go-libp2p-kad-dht#1233](https://github.com/libp2p/go-libp2p-kad-dht/pull/1233) +for the upstream change. + ### ๐Ÿ“ Changelog ### ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributors