Skip to content

Failover to secondary resource for rsync / download / list APIs #9

@soichih

Description

@soichih

When a child task tries to rsync from parent task and if parent task's resource is currently off-line, we should look for other resources (in resource_ids) and use them instead.

I believe we need to update following.

  1. task handler's rsync source resource
    Iterate through resources as rsync source instead of just trying resource_id

  2. /resource/download & /resource/ls
    I think we should create a proxy APIs (/task/download /task/ls) that iterate through available resource and update our UI to use this instead of directly downloading from /resource. We should even deprecate /resource/download and /resource/ls?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions