filecoin-project / filecoin-project/go-state-types

v13 migration: Audit and clean up the two-stage cache utilization

Open
#250 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
28
Forks
41
Avg merge
17h 3m
Merged PRs (30d)
2

Description

Unlike previous migrations, the v13 migration has different behaviour depending on whether or not it's running in "cached" or "uncached" mode. This means that if, for some reason, the cache isn't correctly and completely populated in a previous migration ("pre-migration"), the result will be WRONG.

While this is still correct in the happy path, we need to robust-ify this. In particular, we should consider:
- having some top-level directive about which "mode" to be running in (currently the individual miners and the market attempt to determine that themselves)
- decoupling the miner and market's usages of the cache (currently it would be WRONG if a single miner ran in "un-cached" mode, but the market actor was migrated in cached mode).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.