Skip to content

race condition on downloading REH #12

@GitMensch

Description

@GitMensch

I see another one that also applies to the open-ssh extension: if you are on Windows and use the "restart for update" option both have the same issue:

  • open two or more WSL workspaces to the same WSL instance in parallel
  • open two or more OpenSSH workspaces on the same target in parallel

when you now update and restart, those workspaces are opened directly after the start in parallel, the ones that connect to the same machine all find the server directory not being available - and then trying to download the reh file to the same place - the second one seems to interrupt the first one and you end with an invalid target file.

It could be useful to use a synchronization file to work around the race condition here.

Originally posted by @GitMensch in #11 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions