Skip to content

mcs merge: add retry on failure #572

Description

@BruceForstall

The mcs -merge command should wait and retry on failure to read a file to append, especially if the failure is 32, namely ERROR_SHARING_VIOLATION, e.g.:

	ERROR: Failed to open input file 'f:\temp\tmpp61lk7nu\_f__gh_runtime_artifacts_tests_coreclr_Windows_NT_x64_Checked_Tests_Core_Root_CoreRun_exe__f__gh_runtime_artifacts_tests_coreclr_Windows_NT_x64_Checked_Tests_Core_Root_p1FE47C2B.mc'. GetLastError()=32

This could be because of anti-virus, or (in the case above), running compact.

category:eng-sys
theme:super-pmi
skill-level:beginner
cost:small

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions