Note
This release was brought to you by the Shipyard team.
Highlights
Provider record writes are batched again (#1293)
v0.42.0 (#1277) inadvertently turned every provider record write and GC delete into an individual (fsynced) datastore operation, causing excessive disk I/O on busy nodes (ipfs/kubo#11432). Provider writes and GC deletes are now batched (256 records per batch), restoring the pre-v0.42.0 fsync rate. No protocol or record-layout change.
Local provider record writes respect shutdown (#1288)
The WithAddLocalRecord callback now receives the sweeping provider's lifecycle context instead of context.Background() (a regression from #1282), so local provider record writes are properly cancelled when the provider shuts down.
What's Changed
- chore: upgrade to go-libp2p v0.49.0 by @gammazero in #1289
- fix(provider): pass lifecycle context to local record callback by @guillaumemichel in #1288
- chore(deps): bump github.com/pion/stun/v3 from 3.1.1 to 3.1.5 by @dependabot[bot] in #1290
- docs: spec guardrails by @lidel in #1292
- fix(records): batch provider datastore writes and GC deletes by @guillaumemichel in #1293
Full Changelog: v0.42.1...v0.42.2
