Skip to content

Wait for lock to free #10752

@Wheest

Description

@Wheest

I'm currently integrating DVC with Bazel, and have an issue with the lockfile.

Namely, if I try and run multiple dvc commands in parallel (e.g., multiple pulls), I crash with:

ERROR: failed to pull data from the cloud - Unable to acquire lock. Most likely another DVC process is running or was terminated abruptly.

Now, the lockfile in-and-of-itself isn't a bad idea, but I'd like a canonical way to express that my dvc commands should wait to acquire the lock, rather than failing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: cliRelated to the CLIp2-mediumMedium priority, should be done, but less important

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions