dagstore: lotus mount should avoid file copy into transients when locally attached storage is used #7032
Closed
3 tasks done
Labels
area/markets
Area: Markets
kind/feature
Kind: Feature
LM-tech-debt
P2
P2: Should be resolved
team/ignite
Issues and PRs being tracked by Team Ignite at Protocol Labs
Milestone
Checklist
Ideas
.Lotus component
lotus miner/market - storage deal
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
We confirmed that the miner and markets node can share storage paths if (a) they are running on the same machine, (b) they are running on separate machines but the storage dirs are attached as network mounts. However, the dagstore is not able to recognise when local storage is being used, and thus is not able to avoid a copy into transients.
Describe the solution you'd like
Solution comprises various steps:
Info()
and merge access patterns and kind intoStat()
dagstore#96stores.Remote#CheckIsUnsealed
report whether the answer is coming from the local store or the remote store, so that the Mount can determine whether the file is accessible or not locally.Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: