Include local MFS entity roots in Reprovider.Strategy #10386
Labels
effort/hours
Estimated to take one or several hours
exp/intermediate
Prior experience is likely helpful
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P2
Medium: Good to have, but can wait until someone steps up
topic/MFS
Topic MFS
topic/provider
Topic provider
Problem
Reprovider.Strategy
settingsroots
andpinned
are currently ignoring content implicitly pinned via MFS.We start prioritizing pin announcements in
all
since #10376, and it is a pity MFS does not benefit from that. MFS gets announced with everyuthing else in cache.Proposed improvement
(extracted from #10365 (comment))
Augment
NewPinnedProvider
and make it also walk the MFS (in offline mode, and skip content that is not in local repo), and include locally cached CIDs.MFS walk should respect the 'onlyRoots' flag, and when set to
true
, only yield root CIDs of directories and root CIDs of files inside of them.The text was updated successfully, but these errors were encountered: