Open mocchira opened 7 years ago
Suggestion from @windkit cited from https://groups.google.com/d/msg/leoproject_leofs/tLgNlvK7Eps/N-c7a2XdDwAJ
another solution to recover files from AVS stored on a detached node.
A brief pros/cons.
Impl | Complexity | Maintainability | Performance | Disk Space | Network |
---|---|---|---|---|---|
As an external tool derived from diagnose | Less | Great | Poor | 2x temporally | Consume bandwidth not only st <-> st but gw <-> st |
As a new feature of manager|storage | More | Low | Great | no extra space | Consume badwidth only st <-> st |
so it's kinda runtime effectiveness vs development effectiveness
The external is a must to me, and the later one should be extra.
especially for operation mistakes.
how to implement
As we already have a diagnose which is able to retrieve offsets to a metadata, body of every object, we can retrieve those based on offsets and extract into some other format which enable users to use easily for recovering.
for example,
This structure enable users using rest mode to recover files like