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

Add information about locks to the API #214

Open
msm-code opened this issue Feb 18, 2023 · 0 comments
Open

Add information about locks to the API #214

msm-code opened this issue Feb 18, 2023 · 0 comments
Labels
good first issue Good for newcomers level:easy This issue should be relatively easy to fix priority:low Priority: low status:up for grabs This issue is a good candidate for PR type:feature New feature

Comments

@msm-code
Copy link
Contributor

Probably the easiest way is to add this to the topology endpoint. Instead of returning:

{
    "result": {
        "datasets": {
            "507718ac": {
                "file_count": 50401,
                "indexes": [
                    {
                        "size": 3117031264,
                        "type": "gram3"
                    }
                ],
                "size": 3117031264,
                "taints": []
            }
        }
    },
    "type": "topology"
}

We could add something like "locked_by": [task_id].

In fact, maybe we should also add iterators and their locks to this endpoint (but that's another issue).

@msm-code msm-code added good first issue Good for newcomers level:easy This issue should be relatively easy to fix priority:low Priority: low type:feature New feature status:up for grabs This issue is a good candidate for PR labels Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers level:easy This issue should be relatively easy to fix priority:low Priority: low status:up for grabs This issue is a good candidate for PR type:feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant