filecoin-project / motion

:motorcycle: Accelerating Data onto FileCoin
Other
25 stars 5 forks source link

Cleanup should wait for all portions of a file sealed by all SPs #228

Open xinaxu opened 11 months ago

xinaxu commented 11 months ago

https://github.com/filecoin-project/motion/blob/421fde20ffd47e684a117567629829f8d5fd4747/integration/singularity/store.go#L564C13-L564C13

Using GetFileDealsParams which returns a list of DealState is flawed. It needs to return a list of DealState for each FileRange

Singularity needs to offer a different API to return list of DealState for each FileRange