Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider generating graphs for migration transitions #778

Open
tmakatos opened this issue Sep 4, 2023 · 2 comments
Open

consider generating graphs for migration transitions #778

tmakatos opened this issue Sep 4, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request migration-v2

Comments

@tmakatos
Copy link
Member

tmakatos commented Sep 4, 2023

@w-henderson it would be nice to visualize migration transitions in a graph. I've played with just the RUNNING state to see what it looks like:

    subgraph "intermediate transitions" {

        RUNNING -> ERROR [label="ERROR"];
        RUNNING -> STOP [label="STOP"];
        RUNNING -> RUNNING [label="RUNNING"];
        RUNNING -> STOP [label="STOP_COPY"];
        RUNNING -> STOP [label="RESUMING"];
        RUNNING -> ERROR [label="RUNNING_P2P"];
        RUNNING -> ERROR [label="RUNNING_PRECOPY"];
        RUNNING -> ERROR [label="RUNNING_PRECOPY_P2P"];
    }

migr_graph

@tmakatos tmakatos added documentation Improvements or additions to documentation enhancement New feature or request migration-v2 labels Sep 4, 2023
@tmakatos
Copy link
Member Author

tmakatos commented Sep 4, 2023

Or in a slightly tidier format:

    subgraph "intermediate transitions" {

        RUNNING -> RUNNING [label="RUNNING"];
        RUNNING -> STOP [label="STOP\nSTOP_COPY\nRESUMING"];
        RUNNING -> ERROR [label="ERROR\nRUNNING_P2P\nRUNNING_PRECOPY\nRUNNING_PRECOPY_P2P"];
    }

migr_graph

@tmakatos
Copy link
Member Author

tmakatos commented Sep 4, 2023

Assigned to @w-henderson, this is not necessary but it's nice to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request migration-v2
Projects
None yet
Development

No branches or pull requests

2 participants