Propagation Policies¶
Each bridge computes what should happen with a file in its region:
| Condition, in this order | State |
|---|---|
| No manifest is known | cold |
| Deleted after the manifest, or expired | purged |
Last command is stop |
stopped |
Before not_before, or last command is cold |
cold |
regions is set and does not contain this region |
cold |
propagate, or last command is hot or rewarm |
hot |
| Otherwise | cold |
| State | Meaning |
|---|---|
hot |
Preheated into the seed peers of the region |
cold |
Available on demand |
stopped |
Distribution is stopped |
purged |
Removed from the caches |
A newer manifest resets commands that are older than it.
Scope¶
PREHEAT_SCOPE of the bridge decides how far preheating goes: single_seed_peer by default, or another scope of Dragonfly such as all_seed_peers and all_peers.
Inspect¶
GET /v1/files of the bridge lists each file with the desired and the applied state.