Skip to content

build_daemon returns Version skew in a race condition #2210

@grouma

Description

@grouma

If two instances of the build daemon are started around the same time, only one will get a hold of the lock file. It should write a version file immediately after this. However, the second instance can try to read this version file before it is written, which will cause it to return a Version Skew. We can fix this by introducing a retry on the Version File if the value is null.

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