Open distractedm1nd opened 1 year ago
Great find! The most correct way to handle the change would be to perform a shard store migration. @nonsense @dirkmc I don't suppose we've encountered this issue in Boost or lotus-miner since we use a Filecoin-specific mount type?
Yes, as you say we haven't come across this issue because we use a specific mount type
We encountered a bug recently after switching from
FSMount
toFileMount
.The root cause of the problem was the usage of the
Host
field ofurl.URL
to store the file path. This led to incorrect URL encoding, which caused the application to fail when trying to recover the state of shards.Should we add backwards compatibility to the
Deserialize
method so that mounts previouslySerialized()
usingHost
will be loaded correctly?